-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into test-coverage-dev
- Loading branch information
Showing
7 changed files
with
55 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,26 @@ | ||
# Kernel Masterdata Service | ||
|
||
## Overview | ||
This services exposes API to perform CRUD operations on materdata. | ||
This services exposes API to perform CRUD operations on masterdata. | ||
|
||
## Build & run (for developers) | ||
The project requires JDK 1.21. | ||
The project requires JDK 21.0.3 | ||
and mvn version - 3.9.6 | ||
1. Build and install: | ||
``` | ||
$ cd kernel | ||
$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true | ||
``` | ||
### Remove the version-specific suffix (PostgreSQL95Dialect) from the Hibernate dialect configuration | ||
``` | ||
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect | ||
``` | ||
This is for better compatibility with future PostgreSQL versions. | ||
### Configure ANT Path Matcher for Spring Boot 3.x compatibility. | ||
``` | ||
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER | ||
``` | ||
This is to maintain compatibility with existing ANT-style path patterns. | ||
### Add auth-adapter in a class-path to run a master-data service | ||
``` | ||
<dependency> | ||
<groupId>io.mosip.kernel</groupId> | ||
<artifactId>kernel-auth-adapter</artifactId> | ||
<version>${kernel.auth.adapter.version}</version> | ||
</dependency> | ||
``` | ||
## Configuration | ||
Master Data Service uses the following configuration files that are accessible in this [repository](https://github.com/mosip/mosip-config/tree/master). | ||
Please refer to the required released tagged version for configuration. | ||
1. [Configuration-Application](https://github.com/mosip/mosip-config/blob/master/application-default.properties) | ||
2. [Configuration-Kernel](https://github.com/mosip/mosip-config/blob/master/kernel-default.properties) | ||
## Configuration files | ||
Master Data Service uses the following configuration files: | ||
``` | ||
application-default.properties | ||
kernel-default.properties | ||
``` | ||
Need to run the config-server along with the files mentioned above in order to run the master-data service. | ||
## Configuration | ||
[Configuration-Application](https://github.com/mosip/mosip-config/blob/develop/application-default.properties) and | ||
[Configuration-Kernel](https://github.com/mosip/mosip-config/blob/develop/kernel-default.properties) defined here. | ||
## APIs | ||
API documentation is available [here](https://mosip.github.io/documentation/1.2.0/kernel-masterdata-service.html). | ||
Refer [Module Configuration](https://docs.mosip.io/1.2.0/modules/module-configuration) for location of these files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM mosipdev/openjdk-21-jre:latest | ||
FROM mosipid/openjdk-21-jre:21.0.4 | ||
|
||
ARG SOURCE | ||
ARG COMMIT_HASH | ||
|