Skip to content
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

Added 2 apis for streams #257

Open
wants to merge 2 commits into
base: streams
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deployments/tyk/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ bootstrap_progress

# exit due to bugs in PoC
echo "Exiting bootstrap early, due to issues with standard APIs not being accessible"
echo "This is a temporary workaround during PoC - other data is still imported, so you can log in to the dashboard as usual etc"
exit 0

log_message "Checking Gateway - Anonymous API access"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,13 @@
"api_model": {},
"event_timeout": 60,
"header_map": {},
"id": "66599f26cf8bf50001c2852e",
"id": "665edf7b6fe5ee00019a40da",
"method": "POST",
"name": "Webhook Receiver Post",
"org_id": "5e9d9544a1dcd60001d0ed20",
"target_path": "http://localhost:8080/webhook-receiver/post",
"template_path": "",
"webhook_id": "8870a92fb9f54f36b33347bf86e0b891"
"webhook_id": "8c057e6c754d4212a75c08f8cf1d95a3"
}
}
]
Expand Down Expand Up @@ -394,7 +394,7 @@
"event_timeout": 60,
"hook": {
"api_model": {},
"id": "66599f26cf8bf50001c2852e",
"id": "665edf7b6fe5ee00019a40da",
"webhook_id": "",
"org_id": "5e9d9544a1dcd60001d0ed20",
"name": "Webhook Receiver Post",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"x-tyk-api-gateway": {
"info": {
"dbId": "6659a069cf8bf50001c2853e",
"dbId": "665edf7e6fe5ee00019a40db",
"id": "13e832db947f4fd37ff4a86f453f8d8d",
"name": "Stream - http proxy with data append",
"orgId": "5e9d9544a1dcd60001d0ed20",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,26 @@
"version": "1.0.0"
},
"openapi": "3.0.3",
"paths": {},
"paths": {
"/": {
"get": {
"operationId": "get",
"responses": {
"200": {
"description": ""
}
}
}
}
},
"servers": [
{
"url": "http://tyk-gateway.localhost:8080/stream-write-stdout/"
}
],
"x-tyk-api-gateway": {
"info": {
"dbId": "66599f31cf8bf50001c2852f",
"dbId": "665edf7e6fe5ee00019a40dc",
"id": "566d32b4dd1241187b4fc25d01fbaa63",
"name": "Stream - write to stdout",
"orgId": "5e9d9544a1dcd60001d0ed20",
Expand All @@ -29,6 +40,13 @@
"trafficLogs": {
"enabled": true
}
},
"operations": {
"get": {
"allow": {
"enabled": true
}
}
}
},
"server": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
],
"x-tyk-api-gateway": {
"info": {
"dbId": "66599f31cf8bf50001c28530",
"dbId": "665edf7e6fe5ee00019a40dd",
"id": "b84fe1a04e5648927971c0557971565c",
"name": "OAS HTTPbin",
"orgId": "5e9d9544a1dcd60001d0ed20",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,47 +6,47 @@
"state": "active",
"access_rights_array": [
{
"api_name": "Rate Limit Path API 2",
"api_id": "c252af6eaf2e43ca5c89465af4f481c1",
"api_name": "Rate Limit Proxy API",
"api_id": "d1dfc6a927a046c54c0ed470f19757cc",
"versions": [
"Default"
],
"allowed_urls": [],
"restricted_types": [],
"allowed_types": [],
"disable_introspection": false,
"limit": {
"rate": 3,
"per": 6,
"throttle_interval": -1,
"throttle_retry_limit": -1,
"max_query_depth": -1,
"quota_max": -1,
"quota_renews": 0,
"quota_remaining": 0,
"quota_renewal_rate": -1,
"set_by_policy": false
},
"limit": null,
"field_access_rights": [],
"allowance_scope": ""
},
{
"api_name": "Rate Limit Proxy API",
"api_id": "d1dfc6a927a046c54c0ed470f19757cc",
"api_name": "Rate Limit Path API 1",
"api_id": "d371b83b249845a2497ab9a947fd6210",
"versions": [
"Default"
],
"allowed_urls": [],
"restricted_types": [],
"allowed_types": [],
"disable_introspection": false,
"limit": null,
"limit": {
"rate": 1,
"per": 5,
"throttle_interval": -1,
"throttle_retry_limit": -1,
"max_query_depth": -1,
"quota_max": -1,
"quota_renews": 0,
"quota_remaining": 0,
"quota_renewal_rate": -1,
"set_by_policy": false
},
"field_access_rights": [],
"allowance_scope": ""
},
{
"api_name": "Rate Limit Path API 1",
"api_id": "d371b83b249845a2497ab9a947fd6210",
"api_name": "Rate Limit Path API 2",
"api_id": "c252af6eaf2e43ca5c89465af4f481c1",
"versions": [
"Default"
],
Expand All @@ -55,8 +55,8 @@
"allowed_types": [],
"disable_introspection": false,
"limit": {
"rate": 1,
"per": 5,
"rate": 3,
"per": 6,
"throttle_interval": -1,
"throttle_retry_limit": -1,
"max_query_depth": -1,
Expand Down
2 changes: 2 additions & 0 deletions deployments/tyk/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,14 @@ services:
- tyk
httpbin:
image: kennethreitz/httpbin:latest
platform: linux/amd64
networks:
tyk:
aliases:
- httpbin2
swagger-petstore:
image: swaggerapi/petstore:1.0.5
platform: linux/amd64
networks:
- tyk
environment:
Expand Down
Loading