kgrid-library

Configuration

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

Debug Configuration

logging.level