From 9f20cc8bbb8cb3e268f0cd42c238df484b443bcc Mon Sep 17 00:00:00 2001 From: rakeshSgr Date: Wed, 19 Jun 2024 18:16:54 +0530 Subject: [PATCH 01/10] mentoring apis added --- ansible/roles/kong-api/defaults/main.yml | 1072 +++++++++++++++++++++- 1 file changed, 1071 insertions(+), 1 deletion(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index b23f7a9b91..ef68d1e886 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -123,6 +123,8 @@ announcement_prefix: /announcements cios_prefix: /cios ciosIntegration_prefix: /ciosIntegration tenders_prefix: /tenders +mentoring_prefix : private/mentoring + # Service URLs knowledge_mw_service_url: "http://knowledge-mw-service:5000" @@ -163,6 +165,7 @@ ml_survey_private_url: "http://{{private_ingressgateway_ip}}/ml-survey" ml_core_private_url: "http://{{private_ingressgateway_ip}}/ml-core" cb_pores_service_url : "http://cb-pores-service:7001" cios_content_service_url : "http://cios-content-service:7001" +mentoring_service_url: "http://cb-pores-service:7101/mentoring" premium_consumer_rate_limits: - api: createContent @@ -13965,4 +13968,1071 @@ kong_apis: config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" \ No newline at end of file + config.allowed_payload_size: "{{ medium_request_size_limit }}" + + - name: profileDetails + uris: "{{ mentoring_user_prefix }}/v1/user/read/" + upstream_url: "{{ mentoring_service_url }}/user/v1/user/read/" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: mentorProfileDetails + uris: "{{ mentoring_prefix }}/v1/mentors/profile/" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/profile/" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: menteeProfileDetails + uris: "{{ mentoring_prefix }}/v1/mentors/profile/" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/users/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: fileCloudUpload + uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file/upload" + upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file/upload" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: menteeSessions + uris: "{{ mentoring_prefix }}/v1/mentees/sessions" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/sessions" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: homeFeeds + uris: "{{ mentoring_prefix }}/v1/mentees/sessions" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/homeFeed" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: getSignedUrl + uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file" + upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: uploadFile + uris: "{{ mentoring_prefix }}//v1/cloud-services/getSignedUrl" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/cloud-services/getSignedUrl" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: feedbackSubmit + uris: "{{ mentoring_prefix }}/v1/feedback/submit" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/feedback/submit" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: upcomingSessions + uris: "{{ mentoring_prefix }}/v1/mentors/upcomingSessions" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/upcomingSessions" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: shareMentorProfile + uris: "{{ mentoring_prefix }}/v1/mentors/share" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/share" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: reportIssue + uris: "{{ mentoring_prefix }}/v1/issues/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/issues/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: mentorProfileRead + uris: "{{ mentoring_prefix }}/v1/profile/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/profile/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: createdSessions + uris: "{{ mentoring_prefix }}/v1/mentors/createdSessions" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/createdSessions" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: mentorsList + uris: "{{ mentoring_prefix }}/v1/mentors/list" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: mentorProfileDetails + uris: "{{ mentoring_prefix }}/v1/mentors/details" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/details" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: formRead + uris: "{{ mentoring_prefix }}/v1/form/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/form/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: sessionCreate + uris: "{{ mentoring_prefix }}/v1/sessions/update" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: sessionList + uris: "{{ mentoring_prefix }}/v1/sessions/list" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: sessionDetails + uris: "{{ mentoring_prefix }}/v1/sessions/details" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/details" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: shareSession + uris: "{{ mentoring_prefix }}/v1/sessions/share" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/share" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: sessionEnroll + uris: "{{ mentoring_prefix }}/v1/sessions/enroll" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/enroll" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: sessionsUnEnroll + uris: "{{ mentoring_prefix }}/v1/sessions/unEnroll" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/unEnroll" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: sessionStart + uris: "{{ mentoring_prefix }}/v1/sessions/start" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/start" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: joinSession + uris: "{{ mentoring_prefix }}/v1/mentees/joinSession" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/joinSession" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: mentorsReport + uris: "{{ mentoring_prefix }}/v1/mentors/reports" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/reports" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: menteeReport + uris: "{{ mentoring_prefix }}/v1/mentees/reports" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/reports" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionsSetRead + uris: "{{ mentoring_prefix }}/v1/questionsSet/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionsRead + uris: "{{ mentoring_prefix }}/v1/questions/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: entityTypeRead + uris: "{{ mentoring_interface_prefix }}/v1/entity-type/read" + upstream_url: "{{ mentoring_service_url }}/interface/v1/entity-type/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: mentorEntityTypeRead + uris: "{{ mentoring_prefix }}/v1/entity-type/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: listOfOrgRoles + uris: "{{ mentoring_user_prefix }}/v1/user-role/list" + upstream_url: "{{ mentoring_service_url }}/user/v1/user-role/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: menteeList + uris: "{{ mentoring_prefix }}/v1/mentees/list" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: mentorList + uris: "{{ mentoring_prefix }}/v1/mentors/list" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: enrolledMenteesList + uris: "{{ mentoring_prefix }}/v1/sessions/enrolledMentees" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/enrolledMentees" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: platformConfig + uris: "{{ mentoring_prefix }}/v1/platform/config" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/platform/config" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: entityTypeCreate + uris: "{{ mentoring_prefix }}/v1/entity-type/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: entityTypeCreateUser + uris: "{{ mentoring_prefix }}/v1/entity-type/create" + upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: entityTypeUpdateUser + uris: "{{ mentoring_prefix }}/v1/entity-type/update" + upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: entityTypeUpdate + uris: "{{ mentoring_prefix }}/v1/entity-type/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: toChangeUserRole + uris: "{{ mentoring_prefix }}/v1/org-admin/roleChange" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/roleChange" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: getOrgPolicy + uris: "{{ mentoring_prefix }}/v1/org-admin/getOrgPolicies" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/getOrgPolicies" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: setReleateOrganisation + uris: "{{ mentoring_prefix }}/v1/org-admin/updateRelatedOrgs" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/updateRelatedOrgs" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: setOrgPolicy + uris: "{{ mentoring_prefix }}/v1/org-admin/setOrgPoliciessetOrgPolicies" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/setOrgPoliciessetOrgPolicies" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: updateSampleCsv + uris: "{{ mentoring_prefix }}/v1/org-admin/uploadSampleCSV" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/uploadSampleCSV" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: createUserServiceForm + uris: "{{ mentoring_prefix }}/v1/form/create" + upstream_url: "{{ mentoring_service_url }}/user/v1/form/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: createMentorServiceForm + uris: "{{ mentoring_prefix }}/v1/form/create" + upstream_url: "{{ mentoring_service_url }}/mentor/v1/form/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: updateUserServiceForm + uris: "{{ mentoring_prefix }}/v1/form/update" + upstream_url: "{{ mentoring_service_url }}/user/v1/form/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: updateMentorServiceForm + uris: "{{ mentoring_prefix }}/v1/form/update" + upstream_url: "{{ mentoring_service_url }}/mentor/v1/form/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: adminAccountCreate + uris: "{{ mentoring_prefix }}/v1/admin/create" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: adminAccountLogin + uris: "{{ mentoring_prefix }}/v1/admin/login" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/login" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: addOrgAdmin + uris: "{{ mentoring_prefix }}/v1/admin/addOrgAdmin" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/addOrgAdmin" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: deactivateOrg + uris: "{{ mentoring_prefix }}/v1/admin/deactivateOrg" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/deactivateOrg" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: orgCreate + uris: "{{ mentoring_prefix }}/v1/organization/create" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: updateOrg + uris: "{{ mentoring_prefix }}/v1/organization/update" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: orgList + uris: "{{ mentoring_prefix }}/v1/organization/list" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: requestOrgRole + uris: "{{ mentoring_prefix }}/v1/organization/requestOrgRole" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/requestOrgRole" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: requestOrgRole + uris: "{{ mentoring_prefix }}/v1/organization/requestOrgRole" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/requestOrgRole" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: buildorrebuildMaterializedviews + uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/admin/triggerViewRebuildInternal" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: buildorrebuildMaterializedviews + uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuild" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/admin/triggerViewRebuild" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: buildorrebuildMaterializedviewsUser + uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/triggerViewRebuildInternal" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: buildorrebuildMaterializedviewsUser + uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuild" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/triggerViewRebuild" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: deleteEnityUser + uris: "{{ mentoring_prefix }}/v1/entity-type/delete" + upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: deleteEnity + uris: "{{ mentoring_prefix }}/v1/entity-type/delete" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionsSetCreate + uris: "{{ mentoring_prefix }}/v1/questionsSet/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionsSetUpdate + uris: "{{ mentoring_prefix }}/v1/questionsSet/update" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionsSetRead + uris: "{{ mentoring_prefix }}/v1/questionsSet/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionRead + uris: "{{ mentoring_prefix }}/v1/questionsSet/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionCreate + uris: "{{ mentoring_prefix }}/v1/questionsSet/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionUpdate + uris: "{{ mentoring_prefix }}/v1/questionsSet/update" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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 }}" + \ No newline at end of file From e45351c4239fb2a757426b004c7814fda0c78fcd Mon Sep 17 00:00:00 2001 From: Haritest Date: Wed, 19 Jun 2024 21:12:42 +0530 Subject: [PATCH 02/10] Update main.yml mentoring_service_url updated --- ansible/roles/kong-api/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 1ca7c18aed..edcaa16531 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -165,7 +165,7 @@ ml_survey_private_url: "http://{{private_ingressgateway_ip}}/ml-survey" ml_core_private_url: "http://{{private_ingressgateway_ip}}/ml-core" cb_pores_service_url : "http://cb-pores-service:7001" cios_content_service_url : "http://cios-content-service:7001" -mentoring_service_url: "http://cb-pores-service:7101/mentoring" +mentoring_service_url: "http://mentoring-interface-service:3567" premium_consumer_rate_limits: - api: createContent @@ -15035,4 +15035,4 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - \ No newline at end of file + From 490532065eea53bbded14a8e763de01ff5d27bf8 Mon Sep 17 00:00:00 2001 From: Haritest Date: Wed, 19 Jun 2024 21:37:09 +0530 Subject: [PATCH 03/10] Update main.yml Indentation fixed --- ansible/roles/kong-api/defaults/main.yml | 758 +++++++++++------------ 1 file changed, 379 insertions(+), 379 deletions(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index edcaa16531..76408e3ce8 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -13971,10 +13971,10 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: profileDetails - uris: "{{ mentoring_user_prefix }}/v1/user/read/" - upstream_url: "{{ mentoring_service_url }}/user/v1/user/read/" - strip_uri: true - plugins: + uris: "{{ mentoring_user_prefix }}/v1/user/read/" + upstream_url: "{{ mentoring_service_url }}/user/v1/user/read/" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -13985,11 +13985,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: mentorProfileDetails - uris: "{{ mentoring_prefix }}/v1/mentors/profile/" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/profile/" - strip_uri: true - plugins: + - name: mentorProfileDetails + uris: "{{ mentoring_prefix }}/v1/mentors/profile/" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/profile/" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14000,11 +14000,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: menteeProfileDetails - uris: "{{ mentoring_prefix }}/v1/mentors/profile/" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/users/list" - strip_uri: true - plugins: + - name: menteeProfileDetails + uris: "{{ mentoring_prefix }}/v1/mentors/profile/" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/users/list" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14015,11 +14015,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: fileCloudUpload - uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file/upload" - upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file/upload" - strip_uri: true - plugins: + - name: fileCloudUpload + uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file/upload" + upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file/upload" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14030,11 +14030,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: menteeSessions - uris: "{{ mentoring_prefix }}/v1/mentees/sessions" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/sessions" - strip_uri: true - plugins: + - name: menteeSessions + uris: "{{ mentoring_prefix }}/v1/mentees/sessions" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/sessions" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14045,11 +14045,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: homeFeeds - uris: "{{ mentoring_prefix }}/v1/mentees/sessions" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/homeFeed" - strip_uri: true - plugins: + - name: homeFeeds + uris: "{{ mentoring_prefix }}/v1/mentees/sessions" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/homeFeed" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14060,11 +14060,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getSignedUrl - uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file" - upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file" - strip_uri: true - plugins: + - name: getSignedUrl + uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file" + upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14076,11 +14076,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: uploadFile - uris: "{{ mentoring_prefix }}//v1/cloud-services/getSignedUrl" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/cloud-services/getSignedUrl" - strip_uri: true - plugins: + - name: uploadFile + uris: "{{ mentoring_prefix }}//v1/cloud-services/getSignedUrl" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/cloud-services/getSignedUrl" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14091,11 +14091,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: feedbackSubmit - uris: "{{ mentoring_prefix }}/v1/feedback/submit" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/feedback/submit" - strip_uri: true - plugins: + - name: feedbackSubmit + uris: "{{ mentoring_prefix }}/v1/feedback/submit" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/feedback/submit" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14106,11 +14106,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: upcomingSessions - uris: "{{ mentoring_prefix }}/v1/mentors/upcomingSessions" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/upcomingSessions" - strip_uri: true - plugins: + - name: upcomingSessions + uris: "{{ mentoring_prefix }}/v1/mentors/upcomingSessions" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/upcomingSessions" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14121,11 +14121,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: shareMentorProfile - uris: "{{ mentoring_prefix }}/v1/mentors/share" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/share" - strip_uri: true - plugins: + - name: shareMentorProfile + uris: "{{ mentoring_prefix }}/v1/mentors/share" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/share" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14135,13 +14135,13 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - + - - name: reportIssue - uris: "{{ mentoring_prefix }}/v1/issues/create" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/issues/create" - strip_uri: true - plugins: + - name: reportIssue + uris: "{{ mentoring_prefix }}/v1/issues/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/issues/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14152,11 +14152,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: mentorProfileRead - uris: "{{ mentoring_prefix }}/v1/profile/read" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/profile/read" - strip_uri: true - plugins: + - name: mentorProfileRead + uris: "{{ mentoring_prefix }}/v1/profile/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/profile/read" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14167,11 +14167,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createdSessions - uris: "{{ mentoring_prefix }}/v1/mentors/createdSessions" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/createdSessions" - strip_uri: true - plugins: + - name: createdSessions + uris: "{{ mentoring_prefix }}/v1/mentors/createdSessions" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/createdSessions" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14182,11 +14182,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: mentorsList - uris: "{{ mentoring_prefix }}/v1/mentors/list" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/list" - strip_uri: true - plugins: + - name: mentorsList + uris: "{{ mentoring_prefix }}/v1/mentors/list" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/list" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14197,11 +14197,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: mentorProfileDetails - uris: "{{ mentoring_prefix }}/v1/mentors/details" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/details" - strip_uri: true - plugins: + - name: mentorProfileDetails + uris: "{{ mentoring_prefix }}/v1/mentors/details" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/details" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14212,11 +14212,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: formRead - uris: "{{ mentoring_prefix }}/v1/form/read" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/form/read" - strip_uri: true - plugins: + - name: formRead + uris: "{{ mentoring_prefix }}/v1/form/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/form/read" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14226,12 +14226,12 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: sessionCreate - uris: "{{ mentoring_prefix }}/v1/sessions/update" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/update" - strip_uri: true - plugins: + + - name: sessionCreate + uris: "{{ mentoring_prefix }}/v1/sessions/update" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/update" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14243,11 +14243,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: sessionList - uris: "{{ mentoring_prefix }}/v1/sessions/list" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/list" - strip_uri: true - plugins: + - name: sessionList + uris: "{{ mentoring_prefix }}/v1/sessions/list" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/list" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14257,12 +14257,12 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: sessionDetails - uris: "{{ mentoring_prefix }}/v1/sessions/details" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/details" - strip_uri: true - plugins: + + - name: sessionDetails + uris: "{{ mentoring_prefix }}/v1/sessions/details" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/details" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14273,11 +14273,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: shareSession - uris: "{{ mentoring_prefix }}/v1/sessions/share" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/share" - strip_uri: true - plugins: + - name: shareSession + uris: "{{ mentoring_prefix }}/v1/sessions/share" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/share" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14289,11 +14289,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: sessionEnroll - uris: "{{ mentoring_prefix }}/v1/sessions/enroll" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/enroll" - strip_uri: true - plugins: + - name: sessionEnroll + uris: "{{ mentoring_prefix }}/v1/sessions/enroll" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/enroll" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14305,11 +14305,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: sessionsUnEnroll - uris: "{{ mentoring_prefix }}/v1/sessions/unEnroll" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/unEnroll" - strip_uri: true - plugins: + - name: sessionsUnEnroll + uris: "{{ mentoring_prefix }}/v1/sessions/unEnroll" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/unEnroll" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14319,12 +14319,12 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: sessionStart - uris: "{{ mentoring_prefix }}/v1/sessions/start" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/start" - strip_uri: true - plugins: + + - name: sessionStart + uris: "{{ mentoring_prefix }}/v1/sessions/start" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/start" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14336,11 +14336,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: joinSession - uris: "{{ mentoring_prefix }}/v1/mentees/joinSession" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/joinSession" - strip_uri: true - plugins: + - name: joinSession + uris: "{{ mentoring_prefix }}/v1/mentees/joinSession" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/joinSession" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14351,11 +14351,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: mentorsReport - uris: "{{ mentoring_prefix }}/v1/mentors/reports" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/reports" - strip_uri: true - plugins: + - name: mentorsReport + uris: "{{ mentoring_prefix }}/v1/mentors/reports" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/reports" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14365,12 +14365,12 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: menteeReport - uris: "{{ mentoring_prefix }}/v1/mentees/reports" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/reports" - strip_uri: true - plugins: + + - name: menteeReport + uris: "{{ mentoring_prefix }}/v1/mentees/reports" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/reports" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14381,11 +14381,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: questionsSetRead - uris: "{{ mentoring_prefix }}/v1/questionsSet/read" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/read" - strip_uri: true - plugins: + - name: questionsSetRead + uris: "{{ mentoring_prefix }}/v1/questionsSet/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/read" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14395,13 +14395,13 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - + - - name: questionsRead - uris: "{{ mentoring_prefix }}/v1/questions/read" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/read" - strip_uri: true - plugins: + - name: questionsRead + uris: "{{ mentoring_prefix }}/v1/questions/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/read" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14412,12 +14412,12 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: entityTypeRead - uris: "{{ mentoring_interface_prefix }}/v1/entity-type/read" - upstream_url: "{{ mentoring_service_url }}/interface/v1/entity-type/read" - strip_uri: true - plugins: + + - name: entityTypeRead + uris: "{{ mentoring_interface_prefix }}/v1/entity-type/read" + upstream_url: "{{ mentoring_service_url }}/interface/v1/entity-type/read" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14428,11 +14428,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: mentorEntityTypeRead - uris: "{{ mentoring_prefix }}/v1/entity-type/read" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/read" - strip_uri: true - plugins: + - name: mentorEntityTypeRead + uris: "{{ mentoring_prefix }}/v1/entity-type/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/read" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14442,13 +14442,13 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - + - - name: listOfOrgRoles - uris: "{{ mentoring_user_prefix }}/v1/user-role/list" - upstream_url: "{{ mentoring_service_url }}/user/v1/user-role/list" - strip_uri: true - plugins: + - name: listOfOrgRoles + uris: "{{ mentoring_user_prefix }}/v1/user-role/list" + upstream_url: "{{ mentoring_service_url }}/user/v1/user-role/list" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14459,11 +14459,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: menteeList - uris: "{{ mentoring_prefix }}/v1/mentees/list" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/list" - strip_uri: true - plugins: + - name: menteeList + uris: "{{ mentoring_prefix }}/v1/mentees/list" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentees/list" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14474,11 +14474,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: mentorList - uris: "{{ mentoring_prefix }}/v1/mentors/list" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/list" - strip_uri: true - plugins: + - name: mentorList + uris: "{{ mentoring_prefix }}/v1/mentors/list" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/mentors/list" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14490,11 +14490,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: enrolledMenteesList - uris: "{{ mentoring_prefix }}/v1/sessions/enrolledMentees" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/enrolledMentees" - strip_uri: true - plugins: + - name: enrolledMenteesList + uris: "{{ mentoring_prefix }}/v1/sessions/enrolledMentees" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/enrolledMentees" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14505,11 +14505,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: platformConfig - uris: "{{ mentoring_prefix }}/v1/platform/config" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/platform/config" - strip_uri: true - plugins: + - name: platformConfig + uris: "{{ mentoring_prefix }}/v1/platform/config" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/platform/config" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14520,11 +14520,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: entityTypeCreate - uris: "{{ mentoring_prefix }}/v1/entity-type/create" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/create" - strip_uri: true - plugins: + - name: entityTypeCreate + uris: "{{ mentoring_prefix }}/v1/entity-type/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14535,11 +14535,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: entityTypeCreateUser - uris: "{{ mentoring_prefix }}/v1/entity-type/create" - upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/create" - strip_uri: true - plugins: + - name: entityTypeCreateUser + uris: "{{ mentoring_prefix }}/v1/entity-type/create" + upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14551,11 +14551,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: entityTypeUpdateUser - uris: "{{ mentoring_prefix }}/v1/entity-type/update" - upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/create" - strip_uri: true - plugins: + - name: entityTypeUpdateUser + uris: "{{ mentoring_prefix }}/v1/entity-type/update" + upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14566,11 +14566,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: entityTypeUpdate - uris: "{{ mentoring_prefix }}/v1/entity-type/create" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/create" - strip_uri: true - plugins: + - name: entityTypeUpdate + uris: "{{ mentoring_prefix }}/v1/entity-type/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14581,11 +14581,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: toChangeUserRole - uris: "{{ mentoring_prefix }}/v1/org-admin/roleChange" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/roleChange" - strip_uri: true - plugins: + - name: toChangeUserRole + uris: "{{ mentoring_prefix }}/v1/org-admin/roleChange" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/roleChange" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14596,11 +14596,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getOrgPolicy - uris: "{{ mentoring_prefix }}/v1/org-admin/getOrgPolicies" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/getOrgPolicies" - strip_uri: true - plugins: + - name: getOrgPolicy + uris: "{{ mentoring_prefix }}/v1/org-admin/getOrgPolicies" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/getOrgPolicies" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14611,11 +14611,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: setReleateOrganisation - uris: "{{ mentoring_prefix }}/v1/org-admin/updateRelatedOrgs" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/updateRelatedOrgs" - strip_uri: true - plugins: + - name: setReleateOrganisation + uris: "{{ mentoring_prefix }}/v1/org-admin/updateRelatedOrgs" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/updateRelatedOrgs" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14626,11 +14626,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: setOrgPolicy - uris: "{{ mentoring_prefix }}/v1/org-admin/setOrgPoliciessetOrgPolicies" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/setOrgPoliciessetOrgPolicies" - strip_uri: true - plugins: + - name: setOrgPolicy + uris: "{{ mentoring_prefix }}/v1/org-admin/setOrgPoliciessetOrgPolicies" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/setOrgPoliciessetOrgPolicies" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14641,11 +14641,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateSampleCsv - uris: "{{ mentoring_prefix }}/v1/org-admin/uploadSampleCSV" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/uploadSampleCSV" - strip_uri: true - plugins: + - name: updateSampleCsv + uris: "{{ mentoring_prefix }}/v1/org-admin/uploadSampleCSV" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/org-admin/uploadSampleCSV" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14656,11 +14656,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createUserServiceForm - uris: "{{ mentoring_prefix }}/v1/form/create" - upstream_url: "{{ mentoring_service_url }}/user/v1/form/create" - strip_uri: true - plugins: + - name: createUserServiceForm + uris: "{{ mentoring_prefix }}/v1/form/create" + upstream_url: "{{ mentoring_service_url }}/user/v1/form/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14671,11 +14671,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createMentorServiceForm - uris: "{{ mentoring_prefix }}/v1/form/create" - upstream_url: "{{ mentoring_service_url }}/mentor/v1/form/create" - strip_uri: true - plugins: + - name: createMentorServiceForm + uris: "{{ mentoring_prefix }}/v1/form/create" + upstream_url: "{{ mentoring_service_url }}/mentor/v1/form/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14687,11 +14687,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateUserServiceForm - uris: "{{ mentoring_prefix }}/v1/form/update" - upstream_url: "{{ mentoring_service_url }}/user/v1/form/update" - strip_uri: true - plugins: + - name: updateUserServiceForm + uris: "{{ mentoring_prefix }}/v1/form/update" + upstream_url: "{{ mentoring_service_url }}/user/v1/form/update" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14702,11 +14702,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateMentorServiceForm - uris: "{{ mentoring_prefix }}/v1/form/update" - upstream_url: "{{ mentoring_service_url }}/mentor/v1/form/update" - strip_uri: true - plugins: + - name: updateMentorServiceForm + uris: "{{ mentoring_prefix }}/v1/form/update" + upstream_url: "{{ mentoring_service_url }}/mentor/v1/form/update" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14717,11 +14717,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: adminAccountCreate - uris: "{{ mentoring_prefix }}/v1/admin/create" - upstream_url: "{{ mentoring_service_url }}/user/v1/admin/create" - strip_uri: true - plugins: + - name: adminAccountCreate + uris: "{{ mentoring_prefix }}/v1/admin/create" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14732,11 +14732,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: adminAccountLogin - uris: "{{ mentoring_prefix }}/v1/admin/login" - upstream_url: "{{ mentoring_service_url }}/user/v1/admin/login" - strip_uri: true - plugins: + - name: adminAccountLogin + uris: "{{ mentoring_prefix }}/v1/admin/login" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/login" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14748,11 +14748,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: addOrgAdmin - uris: "{{ mentoring_prefix }}/v1/admin/addOrgAdmin" - upstream_url: "{{ mentoring_service_url }}/user/v1/admin/addOrgAdmin" - strip_uri: true - plugins: + - name: addOrgAdmin + uris: "{{ mentoring_prefix }}/v1/admin/addOrgAdmin" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/addOrgAdmin" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14763,11 +14763,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: deactivateOrg - uris: "{{ mentoring_prefix }}/v1/admin/deactivateOrg" - upstream_url: "{{ mentoring_service_url }}/user/v1/admin/deactivateOrg" - strip_uri: true - plugins: + - name: deactivateOrg + uris: "{{ mentoring_prefix }}/v1/admin/deactivateOrg" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/deactivateOrg" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14779,11 +14779,11 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: orgCreate - uris: "{{ mentoring_prefix }}/v1/organization/create" - upstream_url: "{{ mentoring_service_url }}/user/v1/organization/create" - strip_uri: true - plugins: + - name: orgCreate + uris: "{{ mentoring_prefix }}/v1/organization/create" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14794,11 +14794,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateOrg - uris: "{{ mentoring_prefix }}/v1/organization/update" - upstream_url: "{{ mentoring_service_url }}/user/v1/organization/update" - strip_uri: true - plugins: + - name: updateOrg + uris: "{{ mentoring_prefix }}/v1/organization/update" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/update" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14809,11 +14809,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: orgList - uris: "{{ mentoring_prefix }}/v1/organization/list" - upstream_url: "{{ mentoring_service_url }}/user/v1/organization/list" - strip_uri: true - plugins: + - name: orgList + uris: "{{ mentoring_prefix }}/v1/organization/list" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/list" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14824,11 +14824,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: requestOrgRole - uris: "{{ mentoring_prefix }}/v1/organization/requestOrgRole" - upstream_url: "{{ mentoring_service_url }}/user/v1/organization/requestOrgRole" - strip_uri: true - plugins: + - name: requestOrgRole + uris: "{{ mentoring_prefix }}/v1/organization/requestOrgRole" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/requestOrgRole" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14839,11 +14839,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: requestOrgRole - uris: "{{ mentoring_prefix }}/v1/organization/requestOrgRole" - upstream_url: "{{ mentoring_service_url }}/user/v1/organization/requestOrgRole" - strip_uri: true - plugins: + - name: requestOrgRole + uris: "{{ mentoring_prefix }}/v1/organization/requestOrgRole" + upstream_url: "{{ mentoring_service_url }}/user/v1/organization/requestOrgRole" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14854,11 +14854,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: buildorrebuildMaterializedviews - uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/admin/triggerViewRebuildInternal" - strip_uri: true - plugins: + - name: buildorrebuildMaterializedviews + uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/admin/triggerViewRebuildInternal" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14868,12 +14868,12 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: buildorrebuildMaterializedviews - uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuild" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/admin/triggerViewRebuild" - strip_uri: true - plugins: + + - name: buildorrebuildMaterializedviews + uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuild" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/admin/triggerViewRebuild" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14884,12 +14884,12 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: buildorrebuildMaterializedviewsUser - uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" - upstream_url: "{{ mentoring_service_url }}/user/v1/admin/triggerViewRebuildInternal" - strip_uri: true - plugins: + + - name: buildorrebuildMaterializedviewsUser + uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/triggerViewRebuildInternal" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14899,12 +14899,12 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: buildorrebuildMaterializedviewsUser - uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuild" - upstream_url: "{{ mentoring_service_url }}/user/v1/admin/triggerViewRebuild" - strip_uri: true - plugins: + + - name: buildorrebuildMaterializedviewsUser + uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuild" + upstream_url: "{{ mentoring_service_url }}/user/v1/admin/triggerViewRebuild" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14915,11 +14915,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: deleteEnityUser - uris: "{{ mentoring_prefix }}/v1/entity-type/delete" - upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/delete" - strip_uri: true - plugins: + - name: deleteEnityUser + uris: "{{ mentoring_prefix }}/v1/entity-type/delete" + upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/delete" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14930,11 +14930,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: deleteEnity - uris: "{{ mentoring_prefix }}/v1/entity-type/delete" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/delete" - strip_uri: true - plugins: + - name: deleteEnity + uris: "{{ mentoring_prefix }}/v1/entity-type/delete" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/entity-type/delete" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14945,11 +14945,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: questionsSetCreate - uris: "{{ mentoring_prefix }}/v1/questionsSet/create" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/create" - strip_uri: true - plugins: + - name: questionsSetCreate + uris: "{{ mentoring_prefix }}/v1/questionsSet/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/create" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14960,11 +14960,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: questionsSetUpdate - uris: "{{ mentoring_prefix }}/v1/questionsSet/update" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/update" - strip_uri: true - plugins: + - name: questionsSetUpdate + uris: "{{ mentoring_prefix }}/v1/questionsSet/update" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/update" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14975,11 +14975,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: questionsSetRead - uris: "{{ mentoring_prefix }}/v1/questionsSet/read" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/read" - strip_uri: true - plugins: + - name: questionsSetRead + uris: "{{ mentoring_prefix }}/v1/questionsSet/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questionsSet/read" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -14990,11 +14990,11 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: questionRead - uris: "{{ mentoring_prefix }}/v1/questionsSet/read" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/read" - strip_uri: true - plugins: + - name: questionRead + uris: "{{ mentoring_prefix }}/v1/questionsSet/read" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/read" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" @@ -15006,33 +15006,33 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: questionCreate - uris: "{{ mentoring_prefix }}/v1/questionsSet/create" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/create" - strip_uri: true - plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - 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: questionCreate + uris: "{{ mentoring_prefix }}/v1/questionsSet/create" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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: questionUpdate - uris: "{{ mentoring_prefix }}/v1/questionsSet/update" - upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/update" - strip_uri: true - plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - 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: questionUpdate + uris: "{{ mentoring_prefix }}/v1/questionsSet/update" + upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - 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 }}" + From 3c6d7c44b29cfbaf1d51cb02e0522d2722a82ce1 Mon Sep 17 00:00:00 2001 From: Haritest Date: Wed, 19 Jun 2024 21:39:39 +0530 Subject: [PATCH 04/10] Update main.yml space removed --- ansible/roles/kong-api/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 76408e3ce8..df368b3a07 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -14227,7 +14227,7 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: sessionCreate + - name: sessionCreate uris: "{{ mentoring_prefix }}/v1/sessions/update" upstream_url: "{{ mentoring_service_url }}/mentoring/v1/sessions/update" strip_uri: true From cd1501dafbbd64c732109118fac14b06a944d389 Mon Sep 17 00:00:00 2001 From: rakeshSgr Date: Thu, 20 Jun 2024 12:00:50 +0530 Subject: [PATCH 05/10] mentorig prefix update --- ansible/roles/kong-api/defaults/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index df368b3a07..cc57c06943 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -13971,7 +13971,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: profileDetails - uris: "{{ mentoring_user_prefix }}/v1/user/read/" + uris: "{{ mentoring_prefix }}/v1/user/read/" upstream_url: "{{ mentoring_service_url }}/user/v1/user/read/" strip_uri: true plugins: @@ -14016,7 +14016,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: fileCloudUpload - uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file/upload" + uris: "{{ mentoring_prefix }}/v1/cloud-services/file/upload" upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file/upload" strip_uri: true plugins: @@ -14061,7 +14061,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: getSignedUrl - uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file" + uris: "{{ mentoring_prefix }}/v1/cloud-services/file" upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file" strip_uri: true plugins: @@ -14414,7 +14414,7 @@ kong_apis: - name: entityTypeRead - uris: "{{ mentoring_interface_prefix }}/v1/entity-type/read" + uris: "{{ mentoring_prefix }}/v1/entity-type/read" upstream_url: "{{ mentoring_service_url }}/interface/v1/entity-type/read" strip_uri: true plugins: @@ -14445,7 +14445,7 @@ kong_apis: - name: listOfOrgRoles - uris: "{{ mentoring_user_prefix }}/v1/user-role/list" + uris: "{{ mentoring_prefix }}/v1/user-role/list" upstream_url: "{{ mentoring_service_url }}/user/v1/user-role/list" strip_uri: true plugins: From 5ea20b32703c969f33cbc830bb8f5ac291d864c1 Mon Sep 17 00:00:00 2001 From: Haritest Date: Thu, 20 Jun 2024 12:21:54 +0530 Subject: [PATCH 06/10] Update main.yml mentoring_prefix updated --- ansible/roles/kong-api/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index cc57c06943..aeede0b83b 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -123,7 +123,7 @@ announcement_prefix: /announcements cios_prefix: /cios ciosIntegration_prefix: /ciosIntegration tenders_prefix: /tenders -mentoring_prefix : private/mentoring +mentoring_prefix : /private/mentoring # Service URLs From 22a21ec39cdb89f77844ed6612c3a7efd202bbcd Mon Sep 17 00:00:00 2001 From: Haritest Date: Thu, 20 Jun 2024 12:30:29 +0530 Subject: [PATCH 07/10] Update main.yml kong typo fixed --- ansible/roles/kong-api/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index aeede0b83b..75e4f5ee4b 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -14077,7 +14077,7 @@ kong_apis: - name: uploadFile - uris: "{{ mentoring_prefix }}//v1/cloud-services/getSignedUrl" + uris: "{{ mentoring_prefix }}/v1/cloud-services/getSignedUrl" upstream_url: "{{ mentoring_service_url }}/mentoring/v1/cloud-services/getSignedUrl" strip_uri: true plugins: From bcbe9b6469166dfa970c53ff0f6955e0d925cbd8 Mon Sep 17 00:00:00 2001 From: Haritest Date: Thu, 20 Jun 2024 12:39:55 +0530 Subject: [PATCH 08/10] Update main.yml requestOrgRole duplicate removed --- ansible/roles/kong-api/defaults/main.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 75e4f5ee4b..48905751f6 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -14839,21 +14839,6 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: requestOrgRole - uris: "{{ mentoring_prefix }}/v1/organization/requestOrgRole" - upstream_url: "{{ mentoring_service_url }}/user/v1/organization/requestOrgRole" - strip_uri: true - plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - 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: buildorrebuildMaterializedviews uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" upstream_url: "{{ mentoring_service_url }}/mentoring/v1/admin/triggerViewRebuildInternal" From 4dd8bfcd7ceb3a1635b059b98f58fb6e5d824c9a Mon Sep 17 00:00:00 2001 From: rakeshSgr Date: Thu, 20 Jun 2024 14:35:24 +0530 Subject: [PATCH 09/10] prefix update --- ansible/roles/kong-api/defaults/main.yml | 44 +++++++++++++----------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 48905751f6..b1661958f5 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -124,6 +124,8 @@ cios_prefix: /cios ciosIntegration_prefix: /ciosIntegration tenders_prefix: /tenders mentoring_prefix : /private/mentoring +mentoring_user_prefix : /private/mentoringUser +mentoring_interface_prefix : /private/mentoringInterface # Service URLs @@ -13971,7 +13973,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: profileDetails - uris: "{{ mentoring_prefix }}/v1/user/read/" + uris: "{{ mentoring_user_prefix }}/v1/user/read/" upstream_url: "{{ mentoring_service_url }}/user/v1/user/read/" strip_uri: true plugins: @@ -14016,7 +14018,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: fileCloudUpload - uris: "{{ mentoring_prefix }}/v1/cloud-services/file/upload" + uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file/upload" upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file/upload" strip_uri: true plugins: @@ -14061,7 +14063,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: getSignedUrl - uris: "{{ mentoring_prefix }}/v1/cloud-services/file" + uris: "{{ mentoring_user_prefix }}/v1/cloud-services/file" upstream_url: "{{ mentoring_service_url }}/user/v1/cloud-services/file" strip_uri: true plugins: @@ -14414,7 +14416,7 @@ kong_apis: - name: entityTypeRead - uris: "{{ mentoring_prefix }}/v1/entity-type/read" + uris: "{{ mentoring_interface_prefix }}/v1/entity-type/read" upstream_url: "{{ mentoring_service_url }}/interface/v1/entity-type/read" strip_uri: true plugins: @@ -14445,7 +14447,7 @@ kong_apis: - name: listOfOrgRoles - uris: "{{ mentoring_prefix }}/v1/user-role/list" + uris: "{{ mentoring_user_prefix }}/v1/user-role/list" upstream_url: "{{ mentoring_service_url }}/user/v1/user-role/list" strip_uri: true plugins: @@ -14536,7 +14538,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: entityTypeCreateUser - uris: "{{ mentoring_prefix }}/v1/entity-type/create" + uris: "{{ mentoring_user_prefix }}/v1/entity-type/create" upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/create" strip_uri: true plugins: @@ -14552,7 +14554,7 @@ kong_apis: - name: entityTypeUpdateUser - uris: "{{ mentoring_prefix }}/v1/entity-type/update" + uris: "{{ mentoring_user_prefix }}/v1/entity-type/update" upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/create" strip_uri: true plugins: @@ -14657,7 +14659,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: createUserServiceForm - uris: "{{ mentoring_prefix }}/v1/form/create" + uris: "{{ mentoring_user_prefix }}/v1/form/create" upstream_url: "{{ mentoring_service_url }}/user/v1/form/create" strip_uri: true plugins: @@ -14688,7 +14690,7 @@ kong_apis: - name: updateUserServiceForm - uris: "{{ mentoring_prefix }}/v1/form/update" + uris: "{{ mentoring_user_prefix }}/v1/form/update" upstream_url: "{{ mentoring_service_url }}/user/v1/form/update" strip_uri: true plugins: @@ -14718,7 +14720,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: adminAccountCreate - uris: "{{ mentoring_prefix }}/v1/admin/create" + uris: "{{ mentoring_user_prefix }}/v1/admin/create" upstream_url: "{{ mentoring_service_url }}/user/v1/admin/create" strip_uri: true plugins: @@ -14733,7 +14735,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: adminAccountLogin - uris: "{{ mentoring_prefix }}/v1/admin/login" + uris: "{{ mentoring_user_prefix }}/v1/admin/login" upstream_url: "{{ mentoring_service_url }}/user/v1/admin/login" strip_uri: true plugins: @@ -14749,7 +14751,7 @@ kong_apis: - name: addOrgAdmin - uris: "{{ mentoring_prefix }}/v1/admin/addOrgAdmin" + uris: "{{ mentoring_user_prefix }}/v1/admin/addOrgAdmin" upstream_url: "{{ mentoring_service_url }}/user/v1/admin/addOrgAdmin" strip_uri: true plugins: @@ -14764,7 +14766,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: deactivateOrg - uris: "{{ mentoring_prefix }}/v1/admin/deactivateOrg" + uris: "{{ mentoring_user_prefix }}/v1/admin/deactivateOrg" upstream_url: "{{ mentoring_service_url }}/user/v1/admin/deactivateOrg" strip_uri: true plugins: @@ -14780,7 +14782,7 @@ kong_apis: - name: orgCreate - uris: "{{ mentoring_prefix }}/v1/organization/create" + uris: "{{ mentoring_user_prefix }}/v1/organization/create" upstream_url: "{{ mentoring_service_url }}/user/v1/organization/create" strip_uri: true plugins: @@ -14795,7 +14797,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: updateOrg - uris: "{{ mentoring_prefix }}/v1/organization/update" + uris: "{{ mentoring_user_prefix }}/v1/organization/update" upstream_url: "{{ mentoring_service_url }}/user/v1/organization/update" strip_uri: true plugins: @@ -14810,7 +14812,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: orgList - uris: "{{ mentoring_prefix }}/v1/organization/list" + uris: "{{ mentoring_user_prefix }}/v1/organization/list" upstream_url: "{{ mentoring_service_url }}/user/v1/organization/list" strip_uri: true plugins: @@ -14825,7 +14827,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: requestOrgRole - uris: "{{ mentoring_prefix }}/v1/organization/requestOrgRole" + uris: "{{ mentoring_user_prefix }}/v1/organization/requestOrgRole" upstream_url: "{{ mentoring_service_url }}/user/v1/organization/requestOrgRole" strip_uri: true plugins: @@ -14870,8 +14872,8 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: buildorrebuildMaterializedviewsUser - uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" + - name: buildorrebuildMaterializedviewsUserInternal + uris: "{{ mentoring_user_prefix }}/v1/admin/triggerViewRebuildInternal" upstream_url: "{{ mentoring_service_url }}/user/v1/admin/triggerViewRebuildInternal" strip_uri: true plugins: @@ -14886,7 +14888,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: buildorrebuildMaterializedviewsUser - uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuild" + uris: "{{ mentoring_user_prefix }}/v1/admin/triggerViewRebuild" upstream_url: "{{ mentoring_service_url }}/user/v1/admin/triggerViewRebuild" strip_uri: true plugins: @@ -14901,7 +14903,7 @@ kong_apis: config.allowed_payload_size: "{{ medium_request_size_limit }}" - name: deleteEnityUser - uris: "{{ mentoring_prefix }}/v1/entity-type/delete" + uris: "{{ mentoring_user_prefix }}/v1/entity-type/delete" upstream_url: "{{ mentoring_service_url }}/user/v1/entity-type/delete" strip_uri: true plugins: From 6f3e869edfc19bcd6d462da62d6ceac0523e32f6 Mon Sep 17 00:00:00 2001 From: rakeshSgr Date: Thu, 20 Jun 2024 15:05:58 +0530 Subject: [PATCH 10/10] update api name --- ansible/roles/kong-api/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index b1661958f5..95ab7f778b 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -14841,7 +14841,7 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: buildorrebuildMaterializedviews + - name: buildorrebuildMaterializedviewsInternal uris: "{{ mentoring_prefix }}/v1/admin/triggerViewRebuildInternal" upstream_url: "{{ mentoring_service_url }}/mentoring/v1/admin/triggerViewRebuildInternal" strip_uri: true