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

OZG-6697 Update README.md

parent 5fb5683c
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`
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment