Skip to content
vky25 edited this page Apr 10, 2022 · 1 revision

Welcome to the PDA-REGISTRY wiki! GETTING STARTED

Prerequisites

  • Java - 8+
  • Git
  • 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

  1. git clone https://github.com/arghyam/PDA-REGISTRY.git
  2. cd PDA-REGISTRY
  3. git checkout patch/POC
  4. sh configure-dependencies.sh(ubuntu/mac) OR bash configure-dependencies.sh(windows)
  5. cd java
  6. 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

  1. cd registry/target
  2. java -jar registry.jar
Clone this wiki locally