Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !import "common.groovy"
- !import "springboot.groovy"
- !import "postgres.groovy"
- !merge "moreConfig.yaml" #!dominant
- !merge "moreConfig.yaml" #!submissive
- springboot:
- - db: "postgres"
- postgres:
- - production:
- - host: "database.example.com"
- - username: "username"
- - password: "password"
- - staging:
- - host: "stagingdb.example.org"
- - username: "staging"
- - password: "changeme"
- - development:
- - default: true
- - host: "localhost"
- - username: "clientdatabase"
- - password: "test"
- api:
- - name: "ClientDatabase"
- - type: "springboot"
- - entities:
- - client:
- - id: "PK,AI"
- - name:
- - type: "string"
- - length: 128
- - wealth:
- - type: "long"
- - households:
- - relation: "multi household"
- - related:
- - relation: "multi client"
- - household:
- - id: "PK,AI"
- - address:
- - type: "string"
- - length: 256
- - endpoints:
- - "household/calculate_price": ´sum(household.getClients()*.getWealth()) * 0.15´
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement