Unverified Commit cb86123c authored by Sharath Prasad's avatar Sharath Prasad Committed by GitHub
Browse files

Update main.yml for Comment Hub Services

2 merge requests!17Release 5.1.0 api,!16Release 5.1.0 api
Showing with 167 additions and 0 deletions
+167 -0
...@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment