Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
info-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
info-manager
Commits
5fe03ba0
Commit
5fe03ba0
authored
10 months ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-6697 Update README.md
parent
5fb5683c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-23
4 additions, 23 deletions
README.md
info-manager-server/src/main/resources/application-local.yml
+1
-11
1 addition, 11 deletions
info-manager-server/src/main/resources/application-local.yml
with
5 additions
and
34 deletions
README.md
+
4
−
23
View file @
5fe03ba0
...
...
@@ -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 |
legacyP
ostkorb
H
andle |
| ozgcloud.infomanager.postfach-id-key-name | Name of the key used to read the postfach id from the auth token |
p
ostkorb
h
andle |
### 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`
...
...
This diff is collapsed.
Click to expand it.
info-manager-server/src/main/resources/application-local.yml
+
1
−
11
View file @
5fe03ba0
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment