customer.app
customer/customer.app
Download original file · Petstore source contents
1domain customer;23application customerService {4environment testing {5deploy customer;6quantum {7system: UNIFIED_STORE;8resource: shopLedger;9}10}11}1213header requestContext {14unique String globalSerialNumber;15String callerId;16String requestSerialNumber;17String callMode;18String callOrigin;19}2021header responseContext {22String status(Default = "OK");23}2425tables entities {26table PERSON_REGISTRY(Person) {27primarykey(Person.customerNumber);28auto Person.customerNumber prefix "CUSTOMER";29}30}3132scope {33local(in requestContext, out responseContext) {34}35}3637web {38start initializeCustomerDomain;39expose registerSubject;40expose updateSubjectProfile;41}