Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a proxy mode to lars server #143

Open
nickho opened this issue Nov 7, 2016 · 3 comments
Open

Add a proxy mode to lars server #143

nickho opened this issue Nov 7, 2016 · 3 comments

Comments

@nickho
Copy link

nickho commented Nov 7, 2016

Hello,
Our use of L.A.R.S is to hold assets for our Liberty servers because they dont have access to internet. In this scenario, when an upgrade to liberty occur (for ex : 16.0.0.2 => 16.0.0.3), we need to download all Liberty assets for the new version and upload them to the lars server.
I believe this could be easier if there was a 'proxy' mode, much like what is used in the Maven Nexus software. This way with a simple proxy option on the server, if the asset is not available in the repository, the lars server would dl it and store it in MongoDB for further download. Also this way the only server that need internet access is the lars server.

Thoughts ?

I find the way to dl assets a little hacky, if there is a better way, let me know !

  1. dl lars client at wasdev
  2. dl the kernel base version of server at : wasdev
  3. dl the assets : >featureManager install javaee-7.0 ndMemberBundle ndControllerBundle libertyCoreBundle baseBundle --downloadOnly --location=l:\temp\lars-repo --acceptLicense
  4. upload to lars : >larsClient upload --url=http://web-lars/ma/v1 --username=admin --password=admin L:\temp\lars-repo
@Azquelt
Copy link
Member

Azquelt commented Nov 7, 2016

Hi,

I agree this would be a good feature which we should consider. I've raised an RFE here which you can vote for. This also makes it easier for other customers to express their interest in this feature.

Another option for downloading the features is to download the wlp-featureRepo-x.x.x.x.zip package from fix central. This zip file contains all the features released with that version of liberty. You would still need to upload them to your server using larsClient.

@cniweb
Copy link

cniweb commented Mar 24, 2017

Hi,

I agree this would be a good Feature for us, too!

Thanks,
Chris

@nickho
Copy link
Author

nickho commented Dec 7, 2017

Hello,
Thank you for the tip about dling the whole wlp-featureRepo-xxxx.zip from fix central. It helped save time on our last few upgrades.
Nevertherless i still think some kind of proxy mode or mirror mode configuration would help to upgrade more smoothly to a new version. Did you have some time to think it over ?

Thanks,

--Nicolas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants