Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSIP-37357 Corrected readme #1025

Merged
merged 7 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion authentication/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This code is moved to id-authentication repo and placed under the authentication-internal-service.
This code is moved to id-authentication repo and placed under the authentication-common.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This code is moved to id-authentication repo and placed under the authentication-internal-service.
This code is moved to id-authentication repo and placed under the authentication-common.
80 changes: 80 additions & 0 deletions pre-registration-booking-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,86 @@
## Overview
This service details used by Pre-Registration portal to book an appointment by providing his/her basic appointment details

## Databases
Refer to [SQL scripts](https://github.com/mosip/pre-registration/tree/develop/db_scripts).
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

## Build & run (for developers)
The project requires JDK 21.0.3
and mvn version - 3.9.6

1. Build and install:
```
$ cd pre-registration-booking-service
$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
```
2. Build Docker for a service:
```
$ cd <service folder>
$ docker build -f Dockerfile
```

### 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.
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

### 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>
kameshsr marked this conversation as resolved.
Show resolved Hide resolved
```

## Configuration files
Pre-registration Service uses the following configuration files:
```
application-default.properties
pre-registration-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-Pre-registration](https://github.com/mosip/mosip-config/blob/develop/pre-registration-default.properties) defined here.

Refer [Module Configuration](https://docs.mosip.io/1.2.0/modules/module-configuration) for location of these files.
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

## Default context, path, port
Refer to [bootstrap properties](src/main/resources/bootstrap.properties)

## Deployment in K8 cluster with other MOSIP services:
### Pre-requisites
* Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
```
export KUBECONFIG=~/.kube/<k8s-cluster.config>
```
### Install
```
$ cd deploy
$ ./install.sh
```
### Delete
```
$ cd deploy
$ ./delete.sh
```
### Restart
```
$ cd deploy
$ ./restart.sh
```

## APIs
API documentation is available [here](https://mosip.github.io/documentation/).

## License
This project is licensed under the terms of [Mozilla Public License 2.0](LICENSE).
kameshsr marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,82 @@ server.servlet.path=/registrationprocessor/v1/eis

## Operations done by the Service
1. It returns boolean value true for every non null requests

## Overview
kameshsr marked this conversation as resolved.
Show resolved Hide resolved
This service details used by Registration service for external integration service.

## Build & run (for developers)
The project requires JDK 21.0.3
and mvn version - 3.9.6

1. Build and install:
```
$ cd registration-processor\registration-processor-external-integration-service
$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
```
2. Build Docker for a service:
```
$ cd <service folder>
$ docker build -f Dockerfile
```

### 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.
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

### 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>
```
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

## Configuration files
Pre-registration Service uses the following configuration files:
```
application-default.properties
pre-registration-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-Registration](https://github.com/mosip/mosip-config/blob/develop/registration-default.properties) defined here.
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

## Deployment in K8 cluster with other MOSIP services:
### Pre-requisites
* Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
```
export KUBECONFIG=~/.kube/<k8s-cluster.config>
```
### Install
```
$ cd deploy
$ ./install.sh
```
### Delete
```
$ cd deploy
$ ./delete.sh
```
### Restart
```
$ cd deploy
$ ./restart.sh
```

## APIs
API documentation is available [here](https://mosip.github.io/documentation/).
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

## License
This project is licensed under the terms of [Mozilla Public License 2.0](LICENSE).
kameshsr marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# registration-processor-external-stage

## Overview
This stage integrates with external system for required external operations

## Design
Expand Down Expand Up @@ -30,3 +31,78 @@ mosip.regproc.external.server.servlet.path=/registrationprocessor/v1/external
```
## Operations in External stage
External validation by sending requests to external integration system

## Build & run (for developers)
The project requires JDK 21.0.3
and mvn version - 3.9.6

1. Build and install:
```
$ cd registration-processor\registration-processor-external-stage
$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
```
2. Build Docker for a service:
```
$ cd <service folder>
$ docker build -f Dockerfile
```
### 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.
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

### 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 files
Pre-registration Service uses the following configuration files:
```
application-default.properties
registration-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-Registration](https://github.com/mosip/mosip-config/blob/develop/registration-default.properties) defined here.
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

## Deployment in K8 cluster with other MOSIP services:
### Pre-requisites
* Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
```
export KUBECONFIG=~/.kube/<k8s-cluster.config>
```
### Install
```
$ cd deploy
$ ./install.sh
```
### Delete
```
$ cd deploy
$ ./delete.sh
```
### Restart
```
$ cd deploy
$ ./restart.sh
```

## APIs
API documentation is available [here](https://mosip.github.io/documentation/).
kameshsr marked this conversation as resolved.
Show resolved Hide resolved

## License
This project is licensed under the terms of [Mozilla Public License 2.0](LICENSE).
kameshsr marked this conversation as resolved.
Show resolved Hide resolved
kameshsr marked this conversation as resolved.
Show resolved Hide resolved