Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
cb86123c
Unverified
Commit
cb86123c
authored
1 year ago
by
Sharath Prasad
Committed by
GitHub
1 year ago
Browse files
Options
Download
Patches
Plain Diff
Update main.yml for Comment Hub Services
parent
ba814ad3
release-5.1.0-uatLatest
release-5.1.0-api
2 merge requests
!17
Release 5.1.0 api
,
!16
Release 5.1.0 api
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/kong-api/defaults/main.yml
+167
-0
ansible/roles/kong-api/defaults/main.yml
with
167 additions
and
0 deletions
+167
-0
ansible/roles/kong-api/defaults/main.yml
+
167
−
0
View file @
cb86123c
...
@@ -129,6 +129,7 @@ rcusermanagement_prefix: /api/v1
...
@@ -129,6 +129,7 @@ rcusermanagement_prefix: /api/v1
hasuranodecomponent_prefix
:
/api/rest
hasuranodecomponent_prefix
:
/api/rest
notifications_prefix
:
/api
notifications_prefix
:
/api
exam_prefix
:
/api
exam_prefix
:
/api
comment_hub_prefix
:
/api
# Service URLs
# Service URLs
knowledge_mw_service_url
:
"
http://knowledge-mw-service:5000"
knowledge_mw_service_url
:
"
http://knowledge-mw-service:5000"
...
@@ -168,6 +169,7 @@ notifications_url: "http://{{notifications_ip}}"
...
@@ -168,6 +169,7 @@ notifications_url: "http://{{notifications_ip}}"
exam_url
:
"
http://{{exam_ip}}"
exam_url
:
"
http://{{exam_ip}}"
usermanagements_service_url
:
"
http://user-manangement-service:5298"
usermanagements_service_url
:
"
http://user-manangement-service:5298"
hasuranodecomponents_service_url
:
"
http://hasuranodecomponent-service:3000"
hasuranodecomponents_service_url
:
"
http://hasuranodecomponent-service:3000"
commenthub_service_url
:
"
http://<comment-hub-url>:<port>"
premium_consumer_rate_limits
:
premium_consumer_rate_limits
:
-
api
:
createContent
-
api
:
createContent
...
@@ -15660,3 +15662,168 @@ kong_apis:
...
@@ -15660,3 +15662,168 @@ kong_apis:
-
name
:
opa-checks
-
name
:
opa-checks
config.required
:
false
config.required
:
false
config.enabled
:
false
config.enabled
:
false
-
name
:
commentHubCreationService
uris
:
"
{{
comment_hub_prefix
}}/v1/comment/update"
upstream_url
:
"
{{
commenthub_service_url
}}/v1/comment/update"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
anonymousAppAccess
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
-
name
:
commentHubCreationService
uris
:
"
{{
comment_hub_prefix
}}/v1/comment/addFirst"
upstream_url
:
"
{{
commenthub_service_url
}}/v1/comment/addFirst"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
anonymousAppAccess
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
-
name
:
commentHubCreationService
uris
:
"
{{
comment_hub_prefix
}}/api/v1/comment/addNew"
upstream_url
:
"
{{
commenthub_service_url
}}/api/v1/comment/addNew"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
anonymousAppAccess
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
-
name
:
commentHubCreationService
uris
:
"
{{
comment_hub_prefix
}}/api/v1/comment/getAll"
upstream_url
:
"
{{
commenthub_service_url
}}/api/v1/comment/getAll"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
anonymousAppAccess
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
-
name
:
commentHubCreationService
uris
:
"
{{
comment_hub_prefix
}}/api/v1/comment/multipleWorkflows"
upstream_url
:
"
{{
commenthub_service_url
}}/api/v1/comment/multipleWorkflows"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
anonymousAppAccess
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
-
name
:
commentHubCreationService
uris
:
"
{{
comment_hub_prefix
}}/api/v1/comment/setStatusToResolved"
upstream_url
:
"
{{
commenthub_service_url
}}/api/v1/comment/setStatusToResolved"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
anonymousAppAccess
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
-
name
:
commentHubCreationService
uris
:
"
{{
comment_hub_prefix
}}/api/v1/comment/*/resolve"
upstream_url
:
"
{{
commenthub_service_url
}}/api/v1/comment/*/resolve"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
anonymousAppAccess
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
-
name
:
commentHubCreationService
uris
:
"
{{
comment_hub_prefix
}}/api/v1/comment/delete/"
upstream_url
:
"
{{
commenthub_service_url
}}/api/v1/comment/delete/"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
anonymousAppAccess
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets