Version Summary
Version Number : v1.1.0 [tag: v1.1.0]
Date: 15-November-2024
Projects / Repos Included in this release: DX DMP APD Server, DX Deployment and installation, DX's Documentation
Release Summary :
Data Exchange DMP APD Server v1.1.0 is released with the following enhancements
- Included wiki with extended documentation for the following
- Architecture
- Usage guides
- Configuration Mapping
- Prerequisites
- Updated Verify Policy
- Added JWT leeway to allow time synchronization
- Software License:
- With this release, all DX Softwares will be distributed under Apache 2.0 License
Test Reports:
Please find the release test details and reports [here] (https://jenkins.iudx.io/job/iudx%20DMP%20APD%20(master)%20pipeline/81/)
External Dependencies Installation
DMP APD Server uses the following external dependencies
- PostgreSQL
- RabbitMQ
Find the installations of the above along with the configurations to modify the database url, port and associated credentials in the appropriate sections here
Getting Started
Docker Based
- Install docker and docker-compose
- Clone this repo
- Build the images
./docker/build.sh - Modify the
docker-compose.ymlfile to map the config file you just created - Start the server in production (prod) or development (dev) mode using docker-compose
docker-compose up prod
Maven Based
- Install java 11 and maven
- Use the maven exec plugin based starter to start the server
mvn clean compile exec:java@rs-apd-server
JAR based
- Install java 11 and maven
- Set Environment variables
export DMP_APD_URL=https://<dmp-apd-domain-name>
export LOG_LEVEL=INFO
- Use maven to package the application as a JAR
mvn clean package -Dmaven.test.skip=true - 2 JAR files would be generated in the
target/directoryiudx.data.marketplace-cluster-0.0.1-SNAPSHOT-fat.jar- clustered vert.x containing micrometer metricsiudx.data.marketplace-dev-0.0.1-SNAPSHOT-fat.jar- non-clustered vert.x and does not contain micrometer metrics
Running the clustered JAR
Note: The clustered JAR requires Zookeeper to be installed. Refer here to learn more about how to set up Zookeeper. Additionally, the zookeepers key in the config being used needs to be updated with the IP address/domain of the system running Zookeeper.
The JAR requires 3 runtime arguments when running:
- --config/-c : path to the config file
- --hostname/-i : the hostname for clustering
- --modules/-m : comma separated list of module names to deploy
e.g. java -jar target/iudx.data.marketplace-cluster-0.0.1-SNAPSHOT-fat.jar --host $(hostname) -c secrets/all-verticles-configs/config-dev.json -m iudx.data.marketplace.postgres.PostgresVerticle,iudx.data.marketplace.product.ProductVerticle ,iudx.data.marketplace.authenticator.AuthenticationVerticle ,iudx.data.marketplace.consumer.ConsumerVerticle,iudx.data.marketplace.auditing.AuditingVerticle
Use the --help/-h argument for more information. You may additionally append an DMP_APD_JAVA_OPTS environment variable containing any Java options to pass to the application.
e.g.
$ export DMP_APD_JAVA_OPTS="-Xmx4096m"
$ java $DMP_APD_JAVA_OPTS -jar target/iudx.data.marketplace-cluster-0.0.1-SNAPSHOT-fat.jar ...
Running the non-clustered JAR
The JAR requires 1 runtime argument when running:
- --config/-c : path to the config file
e.g. java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4j2LogDelegateFactory -jar target/iudx.data.marketplace-dev-0.0.1-SNAPSHOT-fat.jar -c secrets/all-verticles-configs/config-dev.json
Use the --help/-h argument for more information. You may additionally append an DMP_APD_JAVA_OPTS environment variable containing any Java options to pass to the application.
e.g.
$ export DMP_APD_JAVA_OPTS="-Xmx1024m"
$ java $DMP_APD_JAVA_OPTS -jar target/iudx.data.marketplace-dev-0.0.1-SNAPSHOT-fat.jar ...
License
With this release, all DX Softwares will be distributed under Apache 2.0 License
What's Changed
- Update DMP version by @shreelakshmijoshi in #58
- Add default flyway by @shreelakshmijoshi in #62
- Updating SETUP.md by @shreelakshmijoshi in #64
- Update openapi specs by @shreelakshmijoshi in #65
- Update CreatePolicy by @shreelakshmijoshi in #70
- Adding context based fetch for verify policy by @shreelakshmijoshi in #75
- Update verify policy by @shreelakshmijoshi in #77
- Upate schema by @shreelakshmijoshi in #80
- Update openapi spec by @shreelakshmijoshi in #82
- Implement check policy by @shreelakshmijoshi in #84
- Add query param by @shreelakshmijoshi in #86
- Update Postman collection by @shreelakshmijoshi in #87
- Update verify policy by @shreelakshmijoshi in #90
- Check APD URL by @shreelakshmijoshi in #93
- updated recordIssues attributes in jenkins file by @karthickp432001 in #98
- jwt leeway time added by @tanvi029 in #101
- Update documentation by @shreelakshmijoshi in #104
- Project d by @shreelakshmijoshi in #105
- Refactor: file name by @shreelakshmijoshi in #106
- Updating GitHub actions by @shreelakshmijoshi in #107
- Refactor: README.md by @shreelakshmijoshi in #108
- Refactor: github actions by @shreelakshmijoshi in #109
- Refactor: github actions by @shreelakshmijoshi in #110
- Refactor: Configurations URL by @shreelakshmijoshi in #111
- Refactor: postman collection URL by @shreelakshmijoshi in #112
- Refactor: Update wiki by @shreelakshmijoshi in #113
- Refactor: Update link by @shreelakshmijoshi in #114
- Refactor: Github actions by @shreelakshmijoshi in #115
- Adding video by @shreelakshmijoshi in #117
- Refactor: add video by @shreelakshmijoshi in #118
- Refactor: README.md by @shreelakshmijoshi in #119
- Refactor:README.md by @shreelakshmijoshi in #120
- Refactor: README.md by @shreelakshmijoshi in #121
- Refactor: video asset reference by @shreelakshmijoshi in #122
- Refacto: README.md by @shreelakshmijoshi in #123
- Refactor: add video file by @shreelakshmijoshi in #124
- Refactor: video links by @shreelakshmijoshi in #125
- Docs: update README.md by @shreelakshmijoshi in #126
- Refactoring video assets 4 by @shreelakshmijoshi in #127
- Refactor: version update by @shreelakshmijoshi in #128
- Refactor: Update exclusions by @shreelakshmijoshi in #129
- Resolving checkstyle issues by @shreelakshmijoshi in #130
Full Changelog: v1.0.0...v1.1.0