Skip to content

Commit

Permalink
Merge pull request #406 from apigee/issue405
Browse files Browse the repository at this point in the history
chore: adding samples
  • Loading branch information
ssvaidyanathan authored Feb 22, 2024
2 parents c786f05 + 956b6cd commit b8a6eca
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ remote-service.*
#json files
*.json

!samples/*.json
!test/*.json
!test/*.yaml
!test/*.zip
Expand Down
21 changes: 21 additions & 0 deletions samples/apiproduct-gqlgroup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"operationConfigs": [
{
"apiSource": "orders-gql",
"operations": [
{
"operationTypes": [
"query"
],
"operation": "getOrder"
}
],
"quota": {
"limit": "1",
"interval": "1",
"timeUnit": "second"
}
}
],
"operationConfigType": "proxy"
}
22 changes: 22 additions & 0 deletions samples/apiproduct-op-group.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"operationConfigs": [
{
"apiSource": "orders",
"operations": [
{
"resource": "/",
"methods": [
"GET",
"POST"
]
}
],
"quota": {
"limit": "1",
"interval": "1",
"timeUnit": "second"
}
}
],
"operationConfigType": "proxy"
}

0 comments on commit b8a6eca

Please sign in to comment.