Even though the server.lua script allows the application port to be overridden. And even though the httpd server can run on any port. The Orchestrator library along with the registration service lua script hard codes the application port to 9081.
There needs to be a more unified way set these global variables. Right now everything is passing through OsApi, but really there should be something more generic - like maybe a registry in the OsApi class for setting environment variables.
Even though the server.lua script allows the application port to be overridden. And even though the httpd server can run on any port. The Orchestrator library along with the registration service lua script hard codes the application port to 9081.
There needs to be a more unified way set these global variables. Right now everything is passing through OsApi, but really there should be something more generic - like maybe a registry in the OsApi class for setting environment variables.