-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add subscription intent schemas #519
base: v14-develop-stream
Are you sure you want to change the base?
Add subscription intent schemas #519
Conversation
297da2c
to
f368302
Compare
76bf564
to
2523eff
Compare
maas-schemas/package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "maas-schemas", | |||
"version": "13.2.0", | |||
"version": "13.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
14.2.0
"DETAILS", | ||
"CUSTOMISATION", | ||
"PAYMENT", | ||
"AUTH", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we consider merging AUTH
and VERIFICATION
into VERIFICATION
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which states would the Student ticket flow fall into?
"planAddons": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/itemId" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename this definition to addonId
maas-schemas/schemas/maas-backend/subscriptions/subscription-intent.json
Show resolved
Hide resolved
maas-schemas/schemas/maas-backend/subscriptions/subscription-intent.json
Show resolved
Hide resolved
@@ -0,0 +1,15 @@ | |||
{ | |||
"$id": "http://maasglobal.com/maas-backend/subscriptions/subscriptions-intents-list/response.json", | |||
"description": "Response schema for subscriptions-intents-create", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy paste, intents-create -> intents-list
@@ -0,0 +1,31 @@ | |||
{ | |||
"$id": "http://maasglobal.com/maas-backend/subscriptions/subscriptions-intents-update-state/request.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convert this to subscriptions-intents-update
to be more general.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The service actually uses for updating state only, so maybe we could go through backend changes first then decide if we keep this or not
maas-schemas/schemas/maas-backend/subscriptions/subscriptions-intents-update-state/request.json
Show resolved
Hide resolved
@@ -0,0 +1,12 @@ | |||
{ | |||
"$id": "http://maasglobal.com/maas-backend/subscriptions/subscriptions-intents-update-state/response.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convert this to subscriptions-intents-update
to be more general.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The service actually uses for updating state only, so maybe we could go through backend changes first then decide if we keep this or not
@@ -0,0 +1,12 @@ | |||
{ | |||
"$id": "http://maasglobal.com/maas-backend/subscriptions/subscriptions-intents-update-state/response.json", | |||
"description": "Response schema for subscriptions-intents-create", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy/paste error: intents-create -> intents-update.
0ece43e
to
b8ed275
Compare
b8ed275
to
fad294c
Compare
Will be closed when #559 merged