Skip to content

Commit

Permalink
Merge pull request #261 from sunbird-cb/cbrelease-4.8.12
Browse files Browse the repository at this point in the history
Cbrelease 4.8.12
  • Loading branch information
Haritest authored Apr 15, 2024
2 parents 8c1e89f + 5779e93 commit f14891c
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 2 deletions.
58 changes: 56 additions & 2 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12677,8 +12677,8 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: getSector
- name: listSector
uris: "/catalog/v1/sector"
upstream_url: "{{ sb_cb_ext_service_url }}/v1/catalog/sector"
strip_uri: true
Expand All @@ -12696,6 +12696,60 @@ kong_apis:
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: readSector
uris: "/catalog/v1/sector/read"
upstream_url: "{{ sb_cb_ext_service_url }}/v1/catalog/sector/read"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'dataAccess'
- 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: "{{ medium_request_size_limit }}"

- name: createSector
uris: "/catalog/v1/sector/create"
upstream_url: "{{ sb_cb_ext_service_url }}/v1/catalog/sector/create"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'dataAccess'
- 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: "{{ medium_request_size_limit }}"

- name: createSubSector
uris: "/catalog/v1/subsector/create"
upstream_url: "{{ sb_cb_ext_service_url }}/v1/catalog/subsector/create"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'dataAccess'
- 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: "{{ medium_request_size_limit }}"

- name: createCalendarEvent
uris: "{{ calendar_prefix }}/v4/create"
upstream_url: "{{ content_service_url }}/event/v4/create"
Expand Down
2 changes: 2 additions & 0 deletions ansible/roles/stack-sunbird/templates/sunbird_lms-service.env
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,5 @@ static_host_url={{ igot_cephs3_storage_endpoint }}
profile_update_url=/app/user-profile/details

enrol_list_fields=contentType,name,channel,mimeType,appIcon,resourceType,identifier,trackable,objectType,organisation,pkgVersion,version,trackable,primaryCategory,posterImage,duration,creatorLogo,license,programDuration,avgRating,batches,endDate,startDate,status,enrollmentType,createdBy,certificates,competencies_v5,firstChildId,leafNodesCount,courseCategory

number_of_records_per_trip_content_cache_load=200

0 comments on commit f14891c

Please sign in to comment.