Skip to content
Snippets Groups Projects
Commit cbbebb02 authored by OZGCloud's avatar OZGCloud
Browse files

Merge branch 'dev' into OZG-6701-remove-jwt-token-in-helm-chart

parents 76eb0658 61d1974a
Branches
Tags
No related merge requests found
......@@ -2,8 +2,6 @@ This repository is for the OZG info manager.
# Getting Started
**Note:** Docker needs to run to run the build tests being executed on `gradle build`.
### Reference Documentation
For further reference, please consider the following sections:
......@@ -20,33 +18,16 @@ For further reference, please consider the following sections:
The following guides illustrate how to use some features concretely:
* [Spring Data with MongoDB](https://spring.io/projects/spring-data-mongodb)
* [gRPC-Spring-Boot-Starter Documentation](https://yidongnan.github.io/grpc-spring-boot-starter/en/)
### Properties
| Name | Description | Default value |
|-------------------------------------------|------------------------------------------------------------------------------|----------------------|
|-------------------------------------------|------------------------------------------------------------------------------|----------------|
| ozgcloud.infomanager.allowed-client-names | List of names of grpc clients allowed to access the getServiceUrlOfNachricht | Antragsraum |
| ozgcloud.infomanager.postfach-id-key-name | Name of the key used to read the postfach id from the auth token | legacyPostkorbHandle |
| ozgcloud.infomanager.postfach-id-key-name | Name of the key used to read the postfach id from the auth token | postkorbhandle |
### Useful commands
Create an entry using grpcurl:
[Get grpcurl](https://github.com/fullstorydev/grpcurl)
Add a 'Nachricht' to the database using grpcUrl:
```
./grpcurl --plaintext -d '{"nachricht": {"postfachId": "28721c6f-b78f-4d5c-a048-19fd2fc429d2", "nachrichtenListUrl":"static://localhost:9091"}}' localhost:9091 de.mgm.bup.ozg.antragsraum.infomanager.NachrichtService.SaveNewNachricht
```
Query the InfoManager for available services
```
./grpcurl --plaintext localhost:9091 list
```
See setup details here: https://wiki.mgm-tp.com/confluence/x/dwMkEw
`docker run -p 9090:9090 -p 8081:8081 dockerregistry.mgm-tp.com/com.mgmtp.bup.ozg/ozg-info-manager:0.0.1-9.b1aa5f2-SNAPSHOT`
......
......@@ -31,7 +31,7 @@
<groupId>de.ozgcloud.info</groupId>
<artifactId>info-manager-interface</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<name>OZG-Cloud Info Manager gRPC Interface</name>
<description>Interface (gRPC) for Info Manager Server</description>
......
......@@ -32,7 +32,7 @@
<groupId>de.ozgcloud.info</groupId>
<artifactId>info-manager-server</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<name>OZG-Cloud Info Manager Server</name>
<description>Server Implementierung des InfoManagers</description>
......@@ -55,7 +55,7 @@
<net-devh-grpc.version>2.15.0.RELEASE</net-devh-grpc.version>
<grpc.version>1.57.2</grpc.version>
<modulith.version>1.2.2</modulith.version>
<info-manager-interface.version>1.2.0-SNAPSHOT</info-manager-interface.version>
<info-manager-interface.version>1.2.0</info-manager-interface.version>
</properties>
<dependencies>
......
......@@ -26,21 +26,11 @@ spring:
port: 27017
host: localhost
auto-index-creation: true
grpc:
server:
port: 9091
ozgcloud:
jwt:
secret: "346593nbdgb8e74t6vw477q34bg83456§$%/&Hgvt78hlsjdgfw8äy.skeiw44tz asjkdefa wlfugwegw"
logging:
level:
org:
springframework:
security: DEBUG
net:
devh:
boot:
grpc: DEBUG
de:
ozgcloud:
info:
......@@ -49,4 +39,4 @@ management:
server:
port: 8084
server:
port: 8083
\ No newline at end of file
port: 8883
\ No newline at end of file
......@@ -24,7 +24,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.ozgcloud.info</groupId>
<artifactId>info-manager</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<name>OZG-Cloud Info Manager</name>
<packaging>pom</packaging>
......
VERSION=X.X.X
VERSION=1.2.0
git checkout dev
git pull
git checkout release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment