Skip to content

Instantly share code, notes, and snippets.

@dushaniw
Last active December 15, 2019 16:01
Show Gist options
  • Save dushaniw/fdbb460f971730a661e75b29eb4e7999 to your computer and use it in GitHub Desktop.
Save dushaniw/fdbb460f971730a661e75b29eb4e7999 to your computer and use it in GitHub Desktop.
SampleStore-CICD-WSO2-APIM
id:
providerName: wso2apideveloper
version: 1.0.0
apiName: SampleStore
context:
description: This is a sample server online store
type: HTTP
availableTiers:
- name: Unlimited
- name: Bronze
status: $STATE
visibility: public
transports: http,https
productionUrl: http://localhost:8080
sandboxUrl: http://localhost:8081
environments:
- name: dev
endpoints:
production:
url: http://dev.wso2.com:9090/samplestore
config:
retryTimeOut: $RETRY
sandbox:
url: http://dev.sandbox.wso2.com:9090/samplestore
config:
retryTimeOut: $RETRY
- name: prod
endpoints:
production:
url: http://prod.wso2.com:9090/samplestore
config:
retryTimeOut: $RETRY
sandbox:
url: http://prod.sandbox.wso2.com:9090/samplestore
config:
retryTimeOut: $RETRY
{
"id": 26,
"name": "SampleStoreApplication",
"uuid": "d11c8289-a77f-4532-9878-34e175579353",
"subscriber": {
"name": "wso2appdeveloper",
"id": 1,
"tenantId": 0
},
"subscribedAPIs": [
{
"subscriptionId": 23,
"tier": {
"name": "Unlimited",
"displayName": "Unlimited",
"requestsPerMin": 0,
"requestCount": 0,
"unitTime": 0,
"timeUnit": "ms",
"stopOnQuotaReached": true
},
"subscriber": {
"name": "wso2appdeveloper",
"id": 1,
"tenantId": 0
},
"apiId": {
"providerName": "wso2apideveloper",
"apiName": "PizzaShackAPI",
"version": "1.0.0"
},
"application": {
"id": 0,
"name": "SampleStoreApplication",
"uuid": "d11c8289-a77f-4532-9878-34e175579353",
"subscriber": {
"name": "wso2appdeveloper",
"id": 1,
"tenantId": 0
},
"subscribedAPIs": [],
"keys": [],
"oauthApps": {},
"applicationAttributes": {},
"subscriptionCount": 0
},
"subStatus": "UNBLOCKED",
"subCreatedStatus": "SUBSCRIBE",
"keys": [],
"uuid": "81f4b87d-dbdc-478b-82fd-5f9c8c0b1b53",
"isBlocked": false
},
{
"subscriptionId": 27,
"tier": {
"name": "Bronze",
"displayName": "Bronze",
"requestsPerMin": 0,
"requestCount": 0,
"unitTime": 0,
"timeUnit": "ms",
"stopOnQuotaReached": true
},
"subscriber": {
"name": "wso2appdeveloper",
"id": 1,
"tenantId": 0
},
"apiId": {
"providerName": "wso2apideveloper",
"apiName": "SampleStore",
"version": "1.0.0"
},
"application": {
"id": 0,
"name": "SampleStoreApplication",
"uuid": "d11c8289-a77f-4532-9878-34e175579353",
"subscriber": {
"name": "wso2appdeveloper",
"id": 1,
"tenantId": 0
},
"subscribedAPIs": [],
"keys": [],
"oauthApps": {},
"applicationAttributes": {},
"subscriptionCount": 0
},
"subStatus": "UNBLOCKED",
"subCreatedStatus": "SUBSCRIBE",
"keys": [],
"uuid": "5ec48e15-557a-4f60-8798-21fb5f4e05d6",
"isBlocked": false
}
],
"keys": [],
"oauthApps": {
"PRODUCTION": {
"clientId": "npipopuogFKtG3alcYf1L_yho7Ia",
"clientSecret": "NlR1Vm1SSmw4VWFSSTF3eG5jWmdDSTlHMjNJYQ\u003d\u003d",
"parameters": {
"grant_types": "refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer password client_credentials iwa:ntlm urn:ietf:params:oauth:grant-type:jwt-bearer",
"redirect_uris": {},
"client_name": "wso2appdeveloper_SampleStoreApplication_PRODUCTION"
},
"isSaasApplication": false,
"appAttributes": {}
}
},
"tier": "10PerMin",
"description": "",
"status": "APPROVED",
"groupId": "",
"owner": "wso2appdeveloper",
"applicationAttributes": {},
"tokenType": "JWT",
"subscriptionCount": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment