Skip to main content
Skip table of contents

Uploading LSF Application Environment

Validate and Push the Customized Environment to the MGMT_SERVER

  1. Validate the JSON asset with jq:

    1. CODE
      jq . env0.json
    2. You will see well-formatted JSON if jq can read the file, indicating no errors. If you see an error message, that means the JSON is not valid.

  2. When the JSON is valid, the file can be pushed to the MGMT_SERVER:

    1. CODE
      curl -d "@env0.json" -H 'Content-Type: application/json' -X PUT http://${MGMT_SERVER_IP}:5000/v1/env
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.