Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-599 Review security issues: aai-sparky-be
  3. AAI-1008

[Bug]: Fix non-standard environment variable declaration

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • None
    • A&AI Sprint 9, A&AI Sprint 10, AAI Sprint 11, AAI Sprint 12, AAI Sprint 13

      Docker led me astray.  The dockerfile let me declare an environment variable section with dotted name variables such as:

      x.y.z=value

      But this is not normally allowed syntax for an environment variables.  I didn't have a problem until I tried using a non-dockerized version of the spring-boot application, and I found I couldn't set the environment properly to run the app.  The solution is easy which is to change the expectation on the environment variables seen into the traditional form of:

      X_Y_Z=value.

      This change only affects 2 variables used during app initialization.

            da490c da490c
            da490c da490c
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: