Sketch out the Mu YAML metadata for the vote50 app

This commit is contained in:
joeduffy 2016-10-19 15:58:51 -07:00
parent 26968a3314
commit bbe6280d46
2 changed files with 33 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,8 @@
name: voting
type: Service
api: ./voting.proto
resources:
votes: mu.services.Table
voteCounts: mu.services.Table
votesFunction: mu.Function