Sketch out the Mu YAML metadata for the vote50 app
This commit is contained in:
parent
26968a3314
commit
bbe6280d46
|
@ -1,2 +1,27 @@
|
|||
name: vote50
|
||||
type: Stack
|
||||
services:
|
||||
voting: ./services/voting.yaml
|
||||
resources:
|
||||
votingServiceAL: voting
|
||||
votingServiceAK: voting
|
||||
votingServiceWI: voting
|
||||
votingServiceWY: voting
|
||||
voteAPI: mu.services.HTTPGateway
|
||||
- register:
|
||||
- /AL/vote
|
||||
- votingServiceAL
|
||||
- register:
|
||||
- /AK/vote
|
||||
- votingServiceAK
|
||||
- register:
|
||||
- /WI/vote
|
||||
- votingServiceWI
|
||||
- register:
|
||||
- /WY/vote
|
||||
- votingServiceWY
|
||||
stack:
|
||||
votes: mu.services.Table
|
||||
voteCounts: mu.services.Table
|
||||
votesFunction: mu.Function
|
||||
|
||||
|
|
8
examples/vote50/.mu/services/voting.yaml
Normal file
8
examples/vote50/.mu/services/voting.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
name: voting
|
||||
type: Service
|
||||
api: ./voting.proto
|
||||
resources:
|
||||
votes: mu.services.Table
|
||||
voteCounts: mu.services.Table
|
||||
votesFunction: mu.Function
|
||||
|
Loading…
Reference in a new issue