Stores and publishes metadata of all entities known to OpenConext
Note that the original migration from Janus was removed in version 3.0.0. If you want to run the migrations from a Janus database then install version 2.0.8.
- Java 8
- Maven 3
- MongoDB 3.4.4
- yarn 1.2.1
- NodeJS v8.9.0 (best managed with
nvm
, current version in .nvmrc or dobrew switch node 8.9.0
) - ansible 2.3.2.0
- create-react-app
This project uses Spring Boot and Maven. To run locally, type:
cd manage-server
mvn spring-boot:run -Drun.jvmArguments="-Dspring.profiles.active=dev"
When developing, it's convenient to just execute the applications main-method, which is in Application. Don't forget to set the active profile to dev.
The client is build with react and to get initially started:
cd manage-gui
brew install yarn;
yarn install -g create-react-app
To run locally:
yarn start
Browse to the application homepage.
To add new dependencies:
yarn add package --dev
When new yarn dependencies are added:
yarn install
See the Manage github wiki for additional documentation.
New MetaData types must first be described in JSON Schema and the schema must be placed in src/main/resources/metadata_configuration. This is all that is required for the server. Of course support for CRUD in the GUI needs to be coded.
On its classpath, the application has an application.yml file that contains configuration defaults that are convenient when developing.
When the application actually gets deployed to a meaningful platform, it is pre-provisioned with ansible and the application.yml depends on
environment specific properties in the group_vars. See the project OpenConext-deploy and the role manage
for more information.
For details, see the Spring Boot manual.