forked from PDA-Open-Source/PDA-REGISTRY
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
vky25 edited this page Apr 10, 2022
·
1 revision
Welcome to the PDA-REGISTRY wiki! GETTING STARTED
Prerequisites
- Java - 8+
-
- Maven 3.1.1(or newer)
- Neo4j - 3.5.3
Maven setup - additional configuration
After installing maven
Add this snippet to settings.xml in /conf
central-secure https://repo.maven.apache.org/maven2 central
Building the library
- git clone https://github.com/arghyam/PDA-REGISTRY.git
- cd PDA-REGISTRY
- git checkout patch/POC
- sh configure-dependencies.sh(ubuntu/mac) OR bash configure-dependencies.sh(windows)
- cd java
- mvn clean install
Update middleware/registry-middleware/authorization/src/main/java/io/opensaber/registry/authorization/KeyCloakServiceImpl.java
Example
ssoUrl = "http://localhost:8080/auth/" # keycloak url
ssoRealm = "master"
publicKey = “Keycloak realm publicKey”
Update database configuration in registry/src/main/resources/application.yml
uri: ${connectionInfo_uri:bolt://:7687}
username: ${connectionInfo_username:}
password: ${connectionInfo_password:}
Running as a jar file
- cd registry/target
- java -jar registry.jar