Configuration - adam-sv/massif-openapi-wrapper GitHub Wiki

How the configuration is being loaded

By default, the ServerRunner looks for a config file located in massif-wrapper/rest-server/src/resources called massif-wrapper-config.json (Useful when running massif-wrapper from an IDE with gradle). This can be overridden with a config passed as arg (for example, when running the massif-wrapper.jar using the following parameter as the 0th param: "massif-wrapper-config.json").

If no configuration was provided, a warning will be emitted and the default parameters defined by MassifWrapperServerConfiguration data class will be used instead.

massif-openapi-wrapper/rest-server/src/resources/massif-wrapper-config-template.json contains an example on how to configure massif-wrapper.

Configuration Parameters

  • apiMountPoint: String:
  • restAPIPort: Int:
  • useRMIConnection: Boolean:
  • matlabRMIAddress: String:
  • matlabRMIPort: Int:
  • matlabRMIServiceName: String:
  • tempModelFileLocation: String:
  • mdlTempModelName: String:
  • emfTempModelName: String:
  • scriptTempName: String: