Skip to content

Installation

jyotsna-tarento edited this page Mar 27, 2018 · 25 revisions

Configuration

Running Tests

Configuring dependencies for tests.

$  ./configure-dependencies.sh

Creating Configuration Files

Below mentioned configuration files should be created in src/main/resources.

  1. config-{profile}.properties - Create a file config-{profile}.properties similar to config-prod.properties.sample. Replace the profile keyword with an environment name that you want to deploy the application in. Sample configuration details can be found here.

  2. application.properties - This file should contain the environment(profile) name that you want to deploy the application in and it should have a matching property file as mentioned above. Sample file can be found here.

  3. validations.shex - This file should contain validations for each of the properties in the JSON-LD document issued into the registry. For further details on syntax, you can refer to the Shape Expressions Primer(Shex Primer). An example for the validations can be found here.

  4. schema-configuration.jsonld - This file should contain configuration for the JSON-LD schema. Further details can be found here.

  5. frame.json - This file can be created by referring to this sample which contains short-hand names, their namespaces and the the primary type used throughout the JSON-LD document that is issued into the registry. This file is used to frame the JSON-LD document fetched from the registry.

Clone this wiki locally