There are several settings that you can control on the Activator.
Library Knowledge Object Shelf Location
By default the activator will look for a shelf in jar execution directory but the location the shelf can be configured:
java -jar kgrid-library-#.#.#.jar --kgrid.shelf.cdostore.url=filesystem:file:///data/myshelf
java -jar kgrid-library-#.#.#.jar --kgrid.shelf.cdostore.url=filesystem:file:///c:/Users/me/myshelf
Activator Cross-Origin Resource Sharing (CORS) The Activator by default allows all origins access to the api. You can tighten that access via the cors.url parameter.
To change the origins allowed:
java -jarkgrid-library-#.#.#.jar --cors.url=https://myservice.com
Activator Server Port
To change the port:
java -jar kgrid-library-#.#.#.jar --server.port=9090
Activator Server Path
By default the endpoints of the activator at the root of the activator server. To change the server root path:
java -jar kgrid-library-#.#.#.jar --server.contextPath=/library
logging.level
logging.level.root
which will affect all classes logging.level.org.kgrid.adapter.proxy
INFO
INFO, DEBUG, WARN, ERROR
java -jar kgrid-activator-#.#.#.jar --logging.level.org.kgrid.classToLog=DEBUG
export logging.level.org.kgrid.classToLog=DEBUG
logging.level.org.springframework.web.client.RestTemplate=DEBUG