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

Cbrelease 4.8.12 #261

Merged
merged 4 commits into from
Apr 15, 2024
Merged
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
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