Skip to content

Add a proxy mode to lars server  #143

@nickho

Description

@nickho

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions