The VMware Aria Operations Integration SDK contains libraries, tools, and documentation for developing Management Packs for VMware Aria Operations. It is intended to make creating a Management Pack simple and fast, while allowing developers to use the language of their choice.
Implements setting the exposed container port. The current container port is hard coded to 8080. The docker_port key in the local config.json was intended to be able to change this, but was never implemented.
This implements this functionality, and changes how it is set.
The main setting is now in the global config.json file, called container_port. The key is not present by default, but still defaults to 8080. If the user has a service that is already binding on 8080, they can add this key and change the default port for all projects.
The global/default setting can be overridden using command-line arguments (-P or --port) on mp-test and mp-build. This is useful for temporarily changing the port, for example to run two instances of mp-test simultaneously.
There is no option to set the port in the local config.json file. The config.json file is intended to have project settings that can be committed to source control, and the port configuration is specific to individual environments.
Implements setting the exposed container port. The current container port is hard coded to
8080
. Thedocker_port
key in the localconfig.json
was intended to be able to change this, but was never implemented.This implements this functionality, and changes how it is set.
config.json
file, calledcontainer_port
. The key is not present by default, but still defaults to8080
. If the user has a service that is already binding on8080
, they can add this key and change the default port for all projects.-P
or--port
) onmp-test
andmp-build
. This is useful for temporarily changing the port, for example to run two instances ofmp-test
simultaneously.config.json
file. Theconfig.json
file is intended to have project settings that can be committed to source control, and the port configuration is specific to individual environments.Resolves #241