diff --git a/ansible/inventory/env/group_vars/all.yml b/ansible/inventory/env/group_vars/all.yml index 7a22eb05c3..5b41dff098 100644 --- a/ansible/inventory/env/group_vars/all.yml +++ b/ansible/inventory/env/group_vars/all.yml @@ -16,7 +16,11 @@ sunbird_instance: "{{env}}" env_short_name: "{{env}}" sunbird_env: "{{env}}" #Ekstep environment to connect to. Use `qa` for non-prod deployments, and `prod` for prod deployment. sunbird_app_name: "{{env}}" -env_prefix: "{{env}}" + +#artifact upload + + +#plugins # Keycloak keycloak_api_management_user_first_name: "admin" @@ -26,7 +30,6 @@ keycloak_api_management_username: "{{core_vault_sunbird_sso_username}}" keycloak_api_management_user_password: "{{core_vault_sunbird_sso_password}}" keycloak_management_user: "admin" keycloak_management_password: "{{core_vault_keycloak_password}}" -tenant_name: sunbird ## Learner service sunbird_url_shortner_access_token: "{{vault_core_url_shortner_access_token}}" @@ -38,6 +41,17 @@ sunbird_es_port: 9300 mail_server_port: 587 upstream_url: "{{sunbird_public_storage_account_name}}.blob.core.windows.net/{{sunbird_content_azure_storage_container}}" +## Mailing list +# !! Override for specific alert groups; Default will be alerts_mailing_list +# Enable below override below variables in common.yml for team specific alerts + +# monitor_alerts_slack_channel: "" +# app_alerts_mailing_list: "" +# devops_alerts_mailing_list: "" +# site_alerts_mailing_list: "" +# keycloak_alerts_mailing_list: "" +# api_manager_alerts_mailing_list: "" + # Learner sunbird_user_profile_field_default_visibility: private @@ -49,24 +63,31 @@ sunbird_portal_user_upload_ref_link: http://www.sunbird.org/features-documentati content_service_whitelisted_channels: "" content_service_blacklisted_channels: "" +# Badger +badger_url: http://azureaccountname.blob.core.windows.net/ # Is it a dummy var? +badger_file_storage: storages.backends.azure_storage.AzureStorage +badger_admin_email: + ## Below passwords are used by DB install scripts when creating databases. Please use strong passwords. sunbird_pg_user: "{{core_vault_postgres_username}}" application_postgres_user: "{{core_vault_postgres_username}}" application_postgres_password: "{{core_vault_postgres_password}}" keycloak_postgres_user: "{{core_vault_postgres_username}}" keycloak_postgres_password: "{{core_vault_postgres_password}}" +badger_postgres_password: "{{core_vault_postgres_password}}" kong_postgres_user: "{{core_vault_postgres_username}}" kong_postgres_password: "{{core_vault_postgres_password}}" enc_postgres_user: "{{core_vault_postgres_username}}" -uci_postgres_user: "{{core_vault_postgres_username}}" -uci_postgres_password: "{{core_vault_postgres_password}}" +badger_postgres_user: "{{core_vault_postgres_username}}" user_org_service_postgres_user: "{{core_vault_postgres_username}}" ansible_vault_password: "{{ core_vault_ansible_vault_password }}" jenkins_admin_username: "{{core_vault_jenkins_admin_username}}" jenkins_admin_password: "{{core_vault_jenkins_admin_password}}" +vault_badging_authorization_key: "{{core_vault_badging_authorization_key}}" vault_postgres_exporter_password: "{{core_vault_postgres_password}}" ## Postgres configuration +swarm_address_space: "{{groups['swarm-manager'][0].split(\".\")[0]}}.0.0.0/8" #Application server address space (e.g. 10.3.0.0/24), also the agentpublicSubnet if using Azure scripts provided keycloak_address_space: "{{groups['keycloak'][0].split(\".\")[0]}}.0.0.0/8" postgres_address_space: "{{groups['postgresql-master'][0].split(\".\")[0]}}.0.0.0/8" @@ -82,9 +103,9 @@ kong_host: kong application_postgres_host: "{{groups['postgres'][0]}}" #Private IP of Postgres server enc_postgres_host: "{{groups['postgres'][0]}}" #Private IP of Postgres server user_org_service_postgres_host: "{{groups['postgres'][0]}}" #Private IP of Postgres server +badger_postgres_host: "{{groups['postgres'][0]}}" #Private IP of Postgres server keycloak_postgres_host: "{{groups['postgres'][0]}}" #Private IP of Postgres server kong_postgres_host: "{{groups['postgres'][0]}}" #Private IP of Postgres server -uci_postgres_host: "{{groups['postgres'][0]}}" #Private IP of Postgres server sunbird_cassandra_host: "{{groups['cassandra']|join(',')}}" #Private IP of Cassandra server sunbird_es_host: "{{groups['es']| join(',')}}" @@ -113,8 +134,8 @@ sunbird_auth_version: 1.0v ## Content Repo configuration sunbird_api_auth_token: "{{ core_vault_sunbird_api_auth_token }}" #Authorization key (JWT) to access Sunbird APIs. This will be in the output of deploy-apis.sh script, extracting it out is documented in the deployment wiki. -sunbird_ekstep_api_key: "{{ core_vault_sunbird_api_auth_token }}" -sunbird_plugin_repo_api_key: "{{ core_vault_sunbird_api_auth_token }}" +sunbird_ekstep_api_key: "{{ core_vault_sunbird_ekstep_api_key }}" #Authorization key (JWT) to access Ekstep APIs. Steps to generate this are documented on {{proto}}://github.com/project-sunbird/sunbird-commons/wiki/Obtaining-API-token-for-accessing-ekstep-APIs +sunbird_plugin_repo_api_key: "{{ core_vault_sunbird_ekstep_api_key }}" sunbird_trampoline_secret: "{{ core_vault_sunbird_trampoline_secret }}" # ADVANCED CONFIGURATIONS @@ -129,10 +150,11 @@ cassandra_root_dir: '/etc/cassandra' cassandra_version: '3.9' cassandra_port: 9042 cassandra_rpc_address: 0.0.0.0 -cassandra_restore_dir: "/home/{{ ansible_ssh_user }}/" +cassandra_restore_dir: /home/deployer/ cassandra_backup_azure_container_name: cassandra-backup cassandra_backup_dir: /data/cassandra/backup + keycloak_realm: sunbird sunbird_content_player_url: "http://kong:8000/" sunbird_learner_player_url: "http://kong:8000/" @@ -155,6 +177,7 @@ sunbird_keycloak_public: true sunbird_cache_store: "memory" sunbird_portal_title_name: "{{sunbird_app_name}}" sunbird_sso_publickey: "{{core_vault_sunbird_sso_publickey}}" +sunbird_fcm_account_key: "{{core_vault_sunbird_fcm_account_key}}" sunbird_msg_91_auth: "{{core_vault_msg_91_auth_key}}" sunbird_telemetry_pdata_id: "{{env}}.sunbird.learning.service" sunbird_encryption_key: "{{ core_vault_sunbird_encryption_key }}" @@ -167,16 +190,16 @@ keycloak_password: "{{core_vault_keycloak_password}}" #Content Service Vars sunbird_content_repo_api_base_url: "http://{{learningservice_ip}}:8080/learning-service" -sunbird_content_repo_api_key: "{{ core_vault_sunbird_api_auth_token }}" -sunbird_search_service_api_key: "{{ core_vault_sunbird_api_auth_token }}" -sunbird_dial_repo_api_key: "{{ core_vault_sunbird_api_auth_token }}" +sunbird_content_repo_api_key: "{{ core_vault_sunbird_ekstep_api_key }}" +sunbird_search_service_api_key: "{{ core_vault_sunbird_ekstep_api_key }}" +sunbird_dial_repo_api_base_url: "{{sunbird_ekstep_api_base_url}}" +sunbird_dial_repo_api_key: "{{ core_vault_sunbird_ekstep_api_key }}" sunbird_plugin_repo_api_base_url: "{{ sunbird_search_service_api_base_url }}" sunbird_data_service_api_base_url: "{{sunbird_ekstep_api_base_url}}" -sunbird_data_service_api_key: "{{ core_vault_sunbird_api_auth_token }}" -sunbird_content_service_api_base_url: "http://content-service.{{namespace}}.svc.cluster.local:9000" -sunbird_user_service_api_base_url: "http://learner-service.{{namespace}}.svc.cluster.local:9000" +sunbird_data_service_api_key: "{{ core_vault_sunbird_ekstep_api_key }}" +sunbird_content_service_api_base_url: "http:///content-service.{{namespace}}.svc.cluster.local:9000" +sunbird_user_service_api_base_url: "http:///learner-service.{{namespace}}.svc.cluster.local:9000" sunbird_group_service_api_base_url: "http://groups-service:9000" -plugin_media_base_url: "{{proto}}://{{domain_name}}" #API Manager kong_postgres_port: 5432 @@ -194,14 +217,17 @@ jenkins_replicas: 2 postgres_replication_user_name: "{{ core_vault_postgres_username }}" postgres_password: "{{ core_vault_postgres_password }}" + postgresql_hba_entries: - { type: local, database: all, user: postgres, auth_method: peer } - { type: local, database: all, user: all, auth_method: peer } - { type: host, database: all, user: all, address: '127.0.0.1/32', auth_method: md5 } - { type: host, database: all, user: all, address: '::1/128', auth_method: md5 } + - { type: host, database: all, user: "{{ postgres_exporter_user }}", address: '{{ swarm_address_space }}', auth_method: md5 } - { type: host, database: replication, user: "{{ postgres_replication_user_name }}", address: '{{ postgres_address_space }}', auth_method: md5 } + - { type: host, database: all, user: all, address: '{{ swarm_address_space }}', auth_method: md5 } - { type: host, database: all, user: all, address: '{{ keycloak_address_space }}', auth_method: md5 } - - { type: host, database: all, user: all, address: '0.0.0.0/0', auth_method: md5 } + proxy_prometheus_admin_creds: "{{ core_vault_proxy_prometheus_admin_creds }}" vault_docker_registry_url: "{{core_vault_docker_registry_url}}" @@ -214,8 +240,9 @@ prometheus_data_dir: /var/dockerdata/prometheus/data logger_es_host: "{{ groups['log-es'][0] }}" logger_es_port: 9200 +#kibana_image: kibana:5.4.3 -oauth2_proxy_redirect_url: "{{proto}}://{{proxy_server_name}}/oauth2/callback" +kibana_oauth_redirect_url: "{{proto}}://{{proxy_server_name}}/oauth2/callback" keycloak: True api__host: "{{proxy_server_name}}" @@ -247,16 +274,16 @@ monitor_alerts_mail_server_port: "{{ mail_server_port }}" monitor_alerts_mail_server_username: "{{ mail_server_username }}" monitor_alerts_mail_server_password: "{{ core_vault_mail_server_password }}" +#badger +badger_admin_password: "{{core_vault_badger_admin_password}}" +badger_postgres_database: badger +badger_host: "{{ groups['postgresql-master'][0]}}" +badger_container: badgr +sunbird_http_orgin: "{{proto}}://{{proxy_server_name}}/badging" + #enc-service enc_postgres_database: "{{env}}-keys" -#uci service variables -# postgres dbs -uci_bot_postgres_database: "uci-botdb" -uci_forms_postgres_database: "uci-formsdb" -uci_odk_postgres_database: "uci-odk-aggregate" -uci_fusionauth_postgres_database: "uci-fusionauth" - #kafka vars zk_hosts: "127.0.0.1:2181" kafka_conf_dir: /etc/kafka @@ -296,7 +323,7 @@ sunbird_open_saber_bridge_enable: 'false' # --- Content service specific ENV vars --- # sunbird_content_service_enable_logging: 'true' -sunbird_language_service_api_key: "{{core_vault_sunbird_api_auth_token}}" +sunbird_language_service_api_key: "{{core_vault_sunbird_ekstep_api_key}}" sunbird_installation_display_name: "{{sunbird_app_name}} {{env}}" sunbird_ekstep_proxy_base_url: "https://{{ekstep_s3_env}}.ekstep.in" #Base URL of the Ekstep environment. Use `https://qa.ekstep.in/` for non-prod deployments, and `https://community.ekstep.in/` for prod deployment. sunbird_ekstep_api_base_url: "{{sunbird_ekstep_proxy_base_url}}/api" #API base URL of the Ekstep environment. Use `https://qa.ekstep.in/api` for non-prod deployments, and use `https://api.ekstep.in/` for prod deployment. @@ -307,9 +334,10 @@ kong_version: 1.5.0-gold # Data pipeline vars learning_analytics_service_url: 'http://{{learningservice_ip}}:9000' + #encryption Service sunbird_allowed_login: -sunbird_course_batch_notification_enabled: 'true' +sunbird_course_batch_notification_enabled: 'False' sunbird_device_register_api: "{{proto}}://{{api_proxy_name}}/v3/device/register/" sunbird_course_batch_notification_signature: sunbird @@ -321,6 +349,7 @@ sunbird_qrimage_topic: "{{env}}.qrimage.request" sunbird_azure_report_container_name: reports + sunbird_google_captcha_site_key: "{{core_vault_sunbird_google_captcha_site_key_portal}}" sunbird_google_oauth_clientId: "{{core_vault_sunbird_google_oauth_clientId_portal}}" sunbird_google_oauth_clientSecret: "{{core_vault_sunbird_google_oauth_clientSecret_portal}}" @@ -333,15 +362,98 @@ grafana_admin_password: "{{core_vault_grafana_admin_password}}" grafana_editor_password: "{{core_vault_grafana_editor_password}}" grafana_dashboards_git_repo_url_with_credentails: "{{core_vault_grafana_dashboards_git_repo_url_with_credentails}}" monitor_alerts_slack_url: "{{core_vault_monitor_alerts_slack_url}}" -kong__test_jwt: "{{ core_vault_sunbird_api_auth_token }}" +kong__test_jwt: "{{core_vault_kong__test_jwt}}" + +############# Postgres users and databases ############### +postgresql_users: + - name: "{{kong_postgres_user}}" + login_host: "{{kong_postgres_host}}" + login_password: "{{kong_postgres_password}}" + password: "{{postgres_password}}" + db: "{{kong_postgres_database}}" + login_user: "{{kong_postgres_user}}" + priv: "ALL" + - name: "{{keycloak_postgres_user}}" + login_host: "{{keycloak_postgres_host}}" + login_password: "{{keycloak_postgres_password}}" + password: "{{postgres_password}}" + db: "{{keycloak_postgres_database}}" + login_user: "{{keycloak_postgres_user}}" + priv: "ALL" + - name: "{{application_postgres_user}}" + login_host: "{{application_postgres_host}}" + login_password: "{{application_postgres_password}}" + password: "{{postgres_password}}" + db: "{{application_postgres_database}}" + login_user: "{{application_postgres_user}}" + priv: "ALL" + - name: "{{badger_postgres_user}}" + login_host: "{{badger_postgres_host}}" + login_password: "{{badger_postgres_password}}" + password: "{{postgres_password}}" + login_user: "{{badger_postgres_user}}" + db: "{{badger_postgres_database}}" + priv: "ALL" + - name: "{{user_org_service_postgres_user}}" + login_host: "{{user_org_service_postgres_host}}" + login_password: "{{user_org_service_postgres_password}}" + password: "{{user_org_service_postgres_password}}" + db: "{{user_org_service_postgres_database}}" + login_user: "{{user_org_service_postgres_user}}" + priv: "ALL" + - name: "{{enc_postgres_user}}" + login_host: "{{enc_postgres_host}}" + login_password: "{{enc_postgres_password}}" + password: "{{enc_postgres_password}}" + db: "{{enc_postgres_database}}" + login_user: "{{enc_postgres_user}}" + priv: "ALL" + + +postgresql_databases: + - name: "{{kong_postgres_database}}" + login_host: "{{kong_postgres_host}}" + login_password: "{{kong_postgres_password}}" + owner: "{{kong_postgres_user}}" + login_user: "{{kong_postgres_user}}" + - name: "{{keycloak_postgres_database}}" + login_host: "{{keycloak_postgres_host}}" + login_password: "{{keycloak_postgres_password}}" + owner: "{{keycloak_postgres_user}}" + login_user: "{{keycloak_postgres_user}}" + - name: "{{application_postgres_database}}" + login_host: "{{application_postgres_host}}" + login_password: "{{application_postgres_password}}" + owner: "{{application_postgres_user}}" + login_user: "{{application_postgres_user}}" + - name: "{{badger_postgres_database}}" + login_host: "{{badger_postgres_host}}" + login_password: "{{badger_postgres_password}}" + owner: "{{badger_postgres_user}}" + login_user: "{{badger_postgres_user}}" + - name: "{{user_org_service_postgres_database}}" + login_host: "{{user_org_service_postgres_host}}" + login_password: "{{user_org_service_postgres_password}}" + owner: "{{user_org_service_postgres_user}}" + login_user: "{{user_org_service_postgres_user}}" + - name: "{{enc_postgres_database}}" + login_host: "{{enc_postgres_host}}" + login_password: "{{enc_postgres_password}}" + owner: "{{enc_postgres_user}}" + login_user: "{{enc_postgres_user}}" + +########################################################## ####### App ES ######## + + app_es_etc_cluster_name: "{{env}}" app_es_etc_discovery_zen_minimum_master_nodes: "{{groups['es']| length | int}}" app_es_snapshot_host: "{{ groups['es'][0] }}" app_es_restore_host: "{{ groups['es'][0] }}" app_es_snapshot_base_path: application + #######Log Es log_es_etc_cluster_name: "{{env}}-log" log_es_snapshot_host: "{{ groups['log-es'][0] }}" @@ -365,6 +477,7 @@ sunbird_cloud_storage_urls: 'https://s3.ap-south-1.amazonaws.com/ekstep-public-{ sunbird_email_max_recipients_limit: 100 sunbird_cassandra_consistency_level: one sunbird_cassandra_replication_strategy: '{"class":"SimpleStrategy","replication_factor":"1"}' +medium_rate_limit_per_hour: 5000 sunbird_lock_expiry_time: 3600 app_es_heap_size: 1500m log_es_heap_size: 1500m @@ -383,6 +496,9 @@ vault_sms_method_type: "{{core_vault_sms_method_type}}" # telemetry default_channel_id: "in.ekstep" +## + +trampoline_secret: "{{core_vault_trampoline_secret}}" es_api_host: "{{inventory_hostname}}" sunbird_linked_content_base_url: "{{proto}}://{{proxy_server_name}}/play/content/" enc_postgres_password: "{{core_vault_postgres_password}}" @@ -393,6 +509,10 @@ config_refresh_interval: 10 config_service_enabled: false config_cache_ttl: 600 +#### backup storage secret +#backup_azure_storage_access_key: "{{core_vault_sunbird_azure_storage_key}}" +#backup_azure_storage_account_name: "{{azure_account_name}}" + #es-backup app_es_snapshot_host: "{{ groups['es'][0] }}" app_snapshot_base_path: applicationelasticsearch @@ -426,15 +546,21 @@ kafka_brokers: "{{groups['processing-cluster-kafka']|join(':9092,')}}:9092" __lms_host__: "http://{{private_ingressgateway_ip}}/learner" sunbird_redis_host: "{{ groups['lp-redis'][0] }}" + ### Release 2.1.0 ### sunbird_portal_offline_tenant: "" -sunbird_portal_offline_supported_languages: "English, Assamese, Bengali, Gujarati, Hindi, Kannada, Malayalam, Marathi, Oriya, Punjabi, Tamil, Telugu, Urdu" +sunbird_portal_offline_supported_languages: "English" sunbird_portal_offline_app_release_date: "17/3/2020" sunbird_portal_offline_app_version: "1.2.0" sunbird_portal_offline_app_download_url: "" sunbird_portal_log_level: "debug" ### Release 2.2.0 ### +sunbird_google_android_keycloak_client_id: '' +sunbird_google_android_keycloak_secret: '' +sunbird_trampoline_android_keycloak_client_id: '' +sunbird_trampoline_android_keycloak_secret: '' +sunbird_android_keycloak_client_id: '' sunbird_user_org_api_base_url: http://{{sunbird_swarm_manager_lb_ip}}:9000 ### Release-2.3.0 ### @@ -446,7 +572,6 @@ kafka_topics_instruction: "{{env_name}}.coursebatch.job.request" kafka_urls: "{{groups['processing-cluster-kafka']|join(':9092,')}}:9092" kafka_topics_certificate_instruction: "{{env_name}}.issue.certificate.request" kafka_topics_contentstate_invalid: "{{env_name}}.contentstate.invalid" -kafka_enrolment_sync_topic: "{{env_name}}.batch.enrolment.sync.request" cert_service_container_name: "{{env}}-e-credentials" cert_service_cloud_storage_type: "{{cert_service_cloud_storage_type}}" @@ -483,6 +608,7 @@ language_read_elb_url: bolt://{{ groups['learning-neo4j-node1'][0] }}:8687 language_write_elb_url: bolt://{{ groups['learning-neo4j-node1'][0] }}:8687 mw_shard_id: 1 sunbird_lp_redis_host: "{{groups['lp-redis-ps'][0]}}" +#lp_azure_account_name: "{{azure_account_name}}" #Druid Proxy APi service druid_proxy_replicas: 1 @@ -496,6 +622,10 @@ lp_kafka_url: "{{sunbird_processing_kafka_host}}" content_import_required_props: '["name","code","mimeType","primaryCategory","artifactUrl","framework"]' content_import_remove_props: '["downloadUrl","variants","previewUrl","streamingUrl","itemSets","level1Name","level1Concept","level2Name","level2Concept","level3Name","level3Concept","me_totalPlaySessionCount","me_totalTimeSpentInSec","me_totalSessionsCount","me_totalTimespent","me_totalInteractions","me_creationSessions","me_creationTimespent","me_averageInteractionsPerMin","me_averageSessionsPerDevice","me_totalDevices","me_averageTimespentPerSession","me_averageRating","me_totalDownloads","me_totalSideloads","me_totalRatings","me_totalComments","me_totalDialcode","me_totalDialcodeLinkedToContent","me_totalDialcodeAttached","me_hierarchyLevel","origin","originData","contentPolicyCheck","questions"]' +# Print Service +#kp_sunbird_account_name: "{{azure_account_name}}" +#kp_sunbird_account_key: "{{core_vault_sunbird_azure_storage_key}}" + #Sunbird-Portal release-2.6.5 # sunbird_portal_updateLoginTimeEnabled: false @@ -509,6 +639,10 @@ search_index_host: "{{ groups['composite-search-cluster']|join(':9200,')}}:9200" compositesearch_index_name: "compositesearch" sunbird_report_service_url: "http://kong:8000/data/v1/report-service" + +# Datapipeline +dp_play_http_secret_key: "mysecretdpplaysecretkey" + # LMS Service vars group_activity_agg_cache_ttl: 3600 group_activity_agg_cache_enable: false @@ -516,7 +650,8 @@ group_activity_agg_cache_enable: false # nodebb variables mongo_nodebb_host: "{{ groups['mongo'] | join(',')}}" sunbird_nodebb_storage_key: "{{ core_vault_sunbird_nodebb_storage_key }}" -kibana_service: "kibana.logging.svc.cluster.local:5601" +kibana_service: "http://kibana.logging.svc.cluster.local:5601" +sunbird_dial_repo_api_base_url: "http://{{dialservice_ip}}:9001" #report service dp_postgres_host: "{{ groups['postgres'][0] }}" @@ -549,3 +684,6 @@ sunbird_trampoline_desktop_keycloak_client_id: trampoline-desktop # DIAL-service schema dial_plugin_container_name: "sunbird-dial-{{env}}" dial_service_schema_base_path: "https://{{sunbird_public_storage_account_name}}.blob.core.windows.net/{{dial_plugin_container_name}}/schemas/local" + +plugin_media_base_url: "{{proto}}://{{domain_name}}" + diff --git a/ansible/roles/elasticsearch/elasticsearch.iml b/ansible/roles/elasticsearch/elasticsearch.iml new file mode 100644 index 0000000000..1578adc390 --- /dev/null +++ b/ansible/roles/elasticsearch/elasticsearch.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ansible/roles/es6/es6.iml b/ansible/roles/es6/es6.iml new file mode 100644 index 0000000000..1578adc390 --- /dev/null +++ b/ansible/roles/es6/es6.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ansible/roles/jenkins/jenkins.iml b/ansible/roles/jenkins/jenkins.iml new file mode 100644 index 0000000000..f2316ace2a --- /dev/null +++ b/ansible/roles/jenkins/jenkins.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 4d397d1793..eb5e1c0b33 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -16,7 +16,7 @@ statsd_pulgin: config.port: "{{ statsd_port }}" # Default Rate limits -small_rate_limit_per_hour: 100 +small_rate_limit_per_hour: 1000 medium_rate_limit_per_hour: 5000 x_medium_rate_limit_per_hour: 5000 large_rate_limit_per_hour: 10000 @@ -31,6 +31,7 @@ premium_consumer_large_rate_limit_per_hour: 100000 small_request_size_limit: 1 medium_request_size_limit: 10 large_request_size_limit: 100 +x_large_request_size_limit: 400 # External URL's freshDesk_url: "http://dummy.freshDesk.url" @@ -51,6 +52,7 @@ echo_service_prefix: /echo composite_service_prefix: /composite api_manager_perfix: /api-manager meta_service_prefix: /meta +dashboard_service_prefix: /dashboard announcement_service_prefix: /announcement dialcode_service_prefix: /dialcode channel_service_prefix: /channel @@ -75,25 +77,26 @@ object_category_definition_prefix: /object/category/definition dataset_service_prefix: /dataset asset_prefix: /asset collection_prefix: /collection -discussions_prefix: /discussion question_prefix: /question questionset_prefix: /questionset -integration_app_prefix: /app -users_service_prefix: /users -solutions_service_prefix: /solutions -entities_service_prefix: /entities -cloud_service_prefix: /cloud-services -userProjects_service_prefix: /userProjects -reports_service_prefix: /reports -project_service_prefix: /project -observations_service_prefix: /observations -observationSubmissions_service_prefix: /observationSubmissions -surveys_service_prefix: /surveys -surveySubmissions_service_prefix: /surveySubmissions -user_extension_prefix: /user-extension -uci_admin_prefix: /uci +event_prefix: /event notification_service_prefix: /notification +content_validation_service_prefix: /contentValidation +scoring_engine_service_prefix: /scoring +hub_graph_service_prefix: /connections +workflow_handler_service_prefix: /workflow +player_prefix: /player registry_service_prefix: /rc +forms_service_prefix: /forms +profanity_moderator_admin_prefix: /moderatoradmin +mdo_content_prefix: /mdo/content +master_data_service_prefix: /masterData +blended_program_service_prefix: /blendedprogram +faq_assistant_service_prefix: /faq +curated_program_prefix: /curatedprogram +program_prefix: /program +competency_prefix: /competency +cb_plan_prefix: /cbplan # Service URLs knowledge_mw_service_url: "http://knowledge-mw-service:5000" @@ -112,19 +115,22 @@ report_service_url: "http://report-service:3030" group_service_url: "http://groups-service:9000" analytics_api_service_url: "http://analytics-service:9000" taxonomy_service_url: "http://taxonomy-service:9000" -discussions_mw_service_url: "http://discussionsmw-service:3002/discussion" assessment_service_url: "http://assessment-service:9000" -ml_reports_service_url: "http://ml-reports-service:3000" -ml_survey_service_url: "http://ml-survey-service:3000" -ml_project_service_url: "http://ml-projects-service:3000" -ml_core_service_url: "http://ml-core-service:3000" -uci_inbound_service_url: "http://inbound-service:8085" -uci_transformer_service_url: "http://trasnformer-service:9091" -uci_gql_service_url: "http://gql-service:8080" -uci_registry_service_url: "http://fusionauth-service:9011" -uci_admin_service_url: "http://uci-service:9999" notification_service_url: "http://notification-service:9000" +sb_cb_ext_service_url: "http://sb-cb-ext-service:7001" +content_validation_service_url: "http://content-validation-service:6590" +scoring_engine_service_url: "http://scoring-engine-service:7014" +hub_graph_service_url: "http://hub-graph-service:4013" +workflow_handler_service_url: "http://workflow-handler-service:5099" +discussions_mw_url: "http://discussionsmw-service:3002" +nodebb_url: "http://nodebb-service:4567/discussions" +analytics_url: "http://pm-analytics-service:8091" registry_service_url: "http://registry-service:8081" +forms_service_url: "http://form-service:8099" +profanity_moderator_admin_service: "http://profanity-moderator-admin-service:4000" +faq_assistant_service: "http://faq-assistant-service:4003" +competency_url: "http://fracentity-service:8083" + premium_consumer_rate_limits: - api: createContent @@ -196,6 +202,24 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" + - name: addMember + uris: "{{ org_service_prefix }}/v1/member/add" + upstream_url: "{{ learning_service_url }}/v1/org/member/add" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'orgAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: addSystemSettings uris: "{{ data_service_prefix }}/v1/system/settings/set" upstream_url: "{{ learning_service_url }}/v1/system/settings/set" @@ -214,23 +238,27 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: assemblePage - uris: "{{ data_service_prefix }}/v1/page/assemble" - upstream_url: "{{ lms_service_url }}/v1/page/assemble" + - name: addUserSkill + uris: "{{ user_service_prefix }}/v1/skill/add" + upstream_url: "{{ learning_service_url }}/v1/user/skill/add" strip_uri: true plugins: + - name: jwt - name: cors - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userCreate ' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip + config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: assignRole - uris: "{{ user_service_prefix }}/v1/role/assign" - upstream_url: "{{ learning_service_url }}/v1/user/assign/role" + - name: addUserSkillEndorsement + uris: "{{ user_service_prefix }}/v1/skill/endorse/add" + upstream_url: "{{ learning_service_url }}/v1/user/skill/endorse/add" strip_uri: true plugins: - name: jwt @@ -238,7 +266,25 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'userCreate' + - 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: addUserToBatch + uris: "{{ course_service_prefix }}/v1/batch/user/add" + upstream_url: "{{ lms_service_url }}/v1/course/batch/users/add" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'courseCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -246,9 +292,23 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: assignRoleV2 - uris: "{{ user_service_prefix }}/v2/role/assign" - upstream_url: "{{ learning_service_url }}/v2/user/assign/role" + - name: assemblePage + uris: "{{ data_service_prefix }}/v1/page/assemble" + upstream_url: "{{ lms_service_url }}/v1/page/assemble" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: ip + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: assignRole + uris: "{{ user_service_prefix }}/v1/role/assign" + upstream_url: "{{ learning_service_url }}/v1/user/assign/role" strip_uri: true plugins: - name: jwt @@ -351,25 +411,7 @@ kong_apis: - 'contentTempAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: compositePrivateSearch - uris: "{{ composite_service_prefix }}/v1/private/search" - upstream_url: "{{ knowledge_mw_service_url }}/v3/private/search" - strip_uri: true - plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'contentAdmin' - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ premium_consumer_large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" @@ -536,6 +578,42 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: createAssertion + uris: "{{ badge_service_prefix }}/v1/issuer/badge/assertion/create" + upstream_url: "{{ learning_service_url }}/v1/issuer/badge/assertion/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'badgeCreate' + - 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: createBadgeClass + uris: "{{ badge_service_prefix }}/v1/issuer/badge/create" + upstream_url: "{{ learning_service_url }}/v1/issuer/badge/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'badgeCreate' + - 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: createBatch uris: "{{ course_service_prefix }}/v1/batch/create" upstream_url: "{{ lms_service_url }}/v1/course/batch/create" @@ -626,9 +704,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createForm - uris: "{{ data_service_prefix }}/v1/form/create" - upstream_url: "{{ player_service_url }}/plugin/v1/form/create" + - name: createData + uris: "{{ data_service_prefix }}/v1/object/create" + upstream_url: "{{ learning_service_url }}/v1/object/create" strip_uri: true plugins: - name: jwt @@ -636,14 +714,14 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'formCreate' + - 'objectCreate' - 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 }}" - + config.allowed_payload_size: "{{ large_request_size_limit }}" + - name: createFramework uris: "{{ framework_service_prefix }}/v1/create" upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/create" @@ -698,6 +776,42 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: createissuer + uris: "{{ badge_service_prefix }}/v1/issuer/create" + upstream_url: "{{ learning_service_url }}/v1/issuer/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'badgeCreate' + - 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: createLocation + uris: "{{ org_service_prefix }}/v1/location/create" + upstream_url: "{{ learning_service_url }}/v1/notification/location/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'locationCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: createLock uris: "{{ lock_service_prefix }}/v1/create" upstream_url: "{{ knowledge_mw_service_url }}/v1/lock/create" @@ -752,6 +866,24 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: createOrgType + uris: "{{ org_service_prefix }}/v1/type/create" + upstream_url: "{{ learning_service_url }}/v1/org/type/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'orgCreate' + - 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: createPage uris: "{{ data_service_prefix }}/v1/page/create" upstream_url: "{{ lms_service_url }}/v1/page/create" @@ -914,6 +1046,78 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: deleteBadgeClass + uris: "{{ badge_service_prefix }}/v1/issuer/badge/delete" + upstream_url: "{{ learning_service_url }}/v1/issuer/badge/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'badgeAdmin' + - 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: deleteData + uris: "{{ data_service_prefix }}/v1/object/delete" + upstream_url: "{{ learning_service_url }}/v1/object/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'objectAdmin' + - 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: deleteIssuer + uris: "{{ badge_service_prefix }}/v1/issuer/delete" + upstream_url: "{{ learning_service_url }}/v1/issuer/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'badgeAdmin' + - 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: deleteLocation + uris: "{{ org_service_prefix }}/v1/location/delete" + upstream_url: "{{ learning_service_url }}/v1/notification/location/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'locationAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: deleteNote uris: "{{ notes_service_prefix }}/v1/delete" upstream_url: "{{ learning_service_url }}/v1/note/delete" @@ -1028,7 +1232,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousContentAccess' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1167,12 +1371,8 @@ kong_apis: upstream_url: "{{ learning_service_url }}/v1/otp/generate" strip_uri: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'anonymousUserAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1198,9 +1398,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getBatch - uris: "{{ course_service_prefix }}/v1/batch/read" - upstream_url: "{{ lms_service_url }}/v1/course/batch/read" + - name: getAllData + uris: "{{ data_service_prefix }}/v1/object/read/list" + upstream_url: "{{ learning_service_url }}/v1/object/read/list" strip_uri: true plugins: - name: jwt @@ -1208,17 +1408,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAccess' + - 'objectAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: collectionSummaryAgg - uris: "/v1/collection/summary" - upstream_url: "{{ lms_service_url }}/v1/collection/summary" + - name: getAllIssuer + uris: "{{ badge_service_prefix }}/v1/issuer/list" + upstream_url: "{{ learning_service_url }}/v1/issuer/list" strip_uri: true plugins: - name: jwt @@ -1226,17 +1426,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAdmin' + - 'badgeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getContentUploadUrl - uris: "{{ content_prefix }}/v1/upload/url/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/upload/url" + - name: getAssertion + uris: "{{ badge_service_prefix }}/v1/issuer/badge/assertion/read" + upstream_url: "{{ learning_service_url }}/v1/issuer/badge/assertion/read" strip_uri: true plugins: - name: jwt @@ -1244,31 +1444,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'badgeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getCourseHierarchy - uris: "{{ course_service_prefix }}/v1/hierarchy" - upstream_url: "{{ knowledge_mw_service_url }}/v1/course/hierarchy" + - name: getAssertionList + uris: "{{ badge_service_prefix }}/v1/issuer/badge/assertion/search" + upstream_url: "{{ learning_service_url }}/v1/issuer/badge/assertion/search" strip_uri: true plugins: + - name: jwt - name: cors - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'badgeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip + config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getPageSettings - uris: "{{ data_service_prefix }}/v1/page/read" - upstream_url: "{{ lms_service_url }}/v1/page/read" + - name: getAudienceCount + uris: "{{ data_service_prefix }}/v1/notification/audience" + upstream_url: "{{ learning_service_url }}/v1/notification/audience" strip_uri: true plugins: - name: jwt @@ -1276,7 +1480,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'pageAccess' + - 'announcementAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1284,9 +1488,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getParticipants - uris: "{{ course_service_prefix }}/v1/batch/participants/list" - upstream_url: "{{ lms_service_url }}/v1/batch/participants/list" + - name: getBadgeClass + uris: "{{ badge_service_prefix }}/v1/issuer/badge/read" + upstream_url: "{{ learning_service_url }}/v1/issuer/badge/read" strip_uri: true plugins: - name: jwt @@ -1294,17 +1498,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseCreate' + - 'badgeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getSystemSettings - uris: "{{ data_service_prefix }}/v1/system/settings/get" - upstream_url: "{{ learning_service_url }}/v1/system/settings/get" + - name: getBatch + uris: "{{ course_service_prefix }}/v1/batch/read" + upstream_url: "{{ lms_service_url }}/v1/course/batch/read" strip_uri: true plugins: - name: jwt @@ -1312,7 +1516,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousAppAccess' + - 'courseAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1320,9 +1524,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getTenantInfo - uris: "{{ org_service_prefix }}/v1/tenant/info" - upstream_url: "{{ player_service_url }}/v1/tenant/info" + - name: collectionSummaryAgg + uris: "/v1/collection/summary" + upstream_url: "{{ lms_service_url }}/v1/collection/summary" strip_uri: true plugins: - name: jwt @@ -1330,17 +1534,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousOrgAccess' + - 'courseAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getUserByKey - uris: "{{ user_service_prefix }}/v1/get" - upstream_url: "{{ learning_service_url }}/v1/user/get" + - name: getContentUploadUrl + uris: "{{ content_prefix }}/v1/upload/url/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/upload/url" strip_uri: true plugins: - name: jwt @@ -1348,7 +1552,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousUserAccess' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1356,6 +1560,20 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: getCourseHierarchy + uris: "{{ course_service_prefix }}/v1/hierarchy" + upstream_url: "{{ knowledge_mw_service_url }}/v1/course/hierarchy" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: ip + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: getUserByKeyV2 uris: "{{ user_service_prefix }}/v2/get" upstream_url: "{{ learning_service_url }}/v2/user/get" @@ -1392,9 +1610,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getUserProfileV2 - uris: "{{ user_service_prefix }}/v2/read" - upstream_url: "{{ learning_service_url }}/v2/user/read" + - name: getData + uris: "{{ data_service_prefix }}/v1/object/read" + upstream_url: "{{ learning_service_url }}/v1/object/read" strip_uri: true plugins: - name: jwt @@ -1402,36 +1620,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAccess' + - 'objectAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: indexSync - uris: "{{ data_service_prefix }}/v1/index/sync" - upstream_url: "{{ learning_service_url }}/v1/data/sync" + - name: getIssuerDetails + uris: "{{ badge_service_prefix }}/v1/issuer/read" + upstream_url: "{{ learning_service_url }}/v1/issuer/read" strip_uri: true plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" - name: acl - config.whitelist: - - 'userAdmin' - - 'orgAdmin' + config.whitelist: + - 'badgeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: ItemSetAPIs - uris: "{{ itemset_prefix }}/v1" - upstream_url: "{{ knowledge_mw_service_url }}/itemset/v1" + - name: getLocation + uris: "{{ org_service_prefix }}/v1/location/read" + upstream_url: "{{ learning_service_url }}/v1/notification/location/read" strip_uri: true plugins: - name: jwt @@ -1439,7 +1656,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'itemSetAdmin' + - 'locationAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1447,9 +1664,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: KongConsumerApi - uris: "{{ api_manager_perfix }}/v1/consumer" - upstream_url: "{{ am_util_url }}/v1/consumer" + - name: getMediaTypes + uris: "{{ user_service_prefix }}/v1/mediatype/list" + upstream_url: "{{ learning_service_url }}/v1/user/mediatype/list" strip_uri: true plugins: - name: jwt @@ -1457,17 +1674,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'kongConsumerAdmin' + - 'userAccess' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: LicenseAPI - uris: "{{ license_api_prefix }}/v3" - upstream_url: "{{ content_service_url }}/license/v3" + - name: getPageSettings + uris: "{{ data_service_prefix }}/v1/page/read" + upstream_url: "{{ lms_service_url }}/v1/page/read" strip_uri: true plugins: - name: jwt @@ -1475,7 +1692,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'appAdmin' + - 'pageAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1483,9 +1700,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: linkDialcodeContent - uris: "{{ dialcode_service_prefix }}/v1/content/link" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/content/link" + - name: getParticipants + uris: "{{ course_service_prefix }}/v1/batch/participants/list" + upstream_url: "{{ lms_service_url }}/v1/batch/participants/list" strip_uri: true plugins: - name: jwt @@ -1493,7 +1710,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeCreate' + - 'courseCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1501,9 +1718,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listAllBadges - uris: "{{ org_service_prefix }}/v1/badges/list" - upstream_url: "{{ learning_service_url }}/v1/badges/list" + - name: getSkills + uris: "{{ data_service_prefix }}/v1/skills" + upstream_url: "{{ learning_service_url }}/v1/skills" strip_uri: true plugins: - name: jwt @@ -1511,7 +1728,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'badgeAccess' + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1519,9 +1736,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: listChannel - uris: "{{ channel_service_prefix }}/v1/list" - upstream_url: "{{ knowledge_mw_service_url }}/v1/channel/list" + - name: getSystemSettings + uris: "{{ data_service_prefix }}/v1/system/settings/get" + upstream_url: "{{ learning_service_url }}/v1/system/settings/get" strip_uri: true plugins: - name: jwt @@ -1529,7 +1746,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'channelAccess' + - 'appAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1537,9 +1754,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchCourseBatches - uris: "{{ course_service_prefix }}/v1/batch/list" - upstream_url: "{{ lms_service_url }}/v1/course/batch/search" + - name: getTenantInfo + uris: "{{ org_service_prefix }}/v1/tenant/info" + upstream_url: "{{ player_service_url }}/v1/tenant/info" strip_uri: true plugins: - name: jwt @@ -1547,7 +1764,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousCourseAccess' + - 'orgAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1555,17 +1772,18 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listCourseEnrollments - uris: "{{ course_service_prefix }}/v1/user/enrollment/list" - upstream_url: "{{ lms_service_url }}/v1/user/courses/list" + - name: getUploadJobStatusLink + uris: "{{ data_service_prefix }}/v1/upload/statusDownloadLink" + upstream_url: "{{ learning_service_url }}/v1/upload/statusDownloadLink" strip_uri: true plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" - name: acl - config.whitelist: - - 'anonymousCourseAccess' + config.whitelist: + - 'orgSuperAdmin' + - 'userSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1573,9 +1791,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: privateListCourseEnrollments - uris: "{{ course_service_prefix }}/private/v1/user/enrollment/list" - upstream_url: "{{ lms_service_url }}/private/v1/user/courses/list" + - name: getUserByKey + uris: "{{ user_service_prefix }}/v1/get" + upstream_url: "{{ learning_service_url }}/v1/user/get" strip_uri: true plugins: - name: jwt @@ -1583,7 +1801,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAccess' + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1591,9 +1809,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listUserCourseEnrollments - uris: "{{ course_service_prefix }}/v2/user/enrollment/list" - upstream_url: "{{ lms_service_url }}/v2/user/courses/list" + - name: getUserConsumptionDasbhoard + uris: "{{ dashboard_service_prefix }}/v1/consumption/user" + upstream_url: "{{ learning_service_url }}/v1/dashboard/consumption/user" strip_uri: true plugins: - name: jwt @@ -1601,7 +1819,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousCourseAccess' + - 'userAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1609,9 +1827,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: privateListUserCourseEnrollments - uris: "{{ course_service_prefix }}/private/v2/user/enrollment/list" - upstream_url: "{{ lms_service_url }}/private/v2/user/courses/list" + - name: getUserProfile + uris: "{{ user_service_prefix }}/v1/read" + upstream_url: "{{ learning_service_url }}/v1/user/read" strip_uri: true plugins: - name: jwt @@ -1619,7 +1837,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'privateCourseAccess' + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1627,10 +1845,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: listDialcodes - uris: "{{ dialcode_service_prefix }}/v1/list" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/list" + - name: getUserProfileV2 + uris: "{{ user_service_prefix }}/v2/read" + upstream_url: "{{ learning_service_url }}/v2/user/read" strip_uri: true plugins: - name: jwt @@ -1638,7 +1855,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeAccess' + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1646,9 +1863,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listFramework - uris: "{{ framework_service_prefix }}/v1/list" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/list" + - name: getUserSkill + uris: "{{ user_service_prefix }}/v1/skill/read" + upstream_url: "{{ learning_service_url }}/v1/user/skill/read" strip_uri: true plugins: - name: jwt @@ -1656,17 +1873,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAccess' + - 'userAccess' - name: rate-limiting config.policy: local - config.hour: "{{ x_medium_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: listLock - uris: "{{ lock_service_prefix }}/v1/list" - upstream_url: "{{ knowledge_mw_service_url }}/v1/lock/list" + - name: getUserType + uris: "{{ user_service_prefix }}/v1/type/list" + upstream_url: "{{ learning_service_url }}/v1/user/type/list" strip_uri: true plugins: - name: jwt @@ -1674,7 +1891,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'userAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1682,17 +1899,18 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listOrdinals - uris: "{{ meta_service_prefix }}/v1/ordinals/list" - upstream_url: "{{ knowledge_mw_service_url }}/v1/ordinals/list" + - name: indexSync + uris: "{{ data_service_prefix }}/v1/index/sync" + upstream_url: "{{ learning_service_url }}/v1/data/sync" strip_uri: true plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" - name: acl - config.whitelist: - - 'appAccess' + config.whitelist: + - 'userAdmin' + - 'orgAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1700,9 +1918,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listPageSections - uris: "{{ data_service_prefix }}/v1/page/section/list" - upstream_url: "{{ lms_service_url }}/v1/page/section/list" + - name: ItemSetAPIs + uris: "{{ itemset_prefix }}/v1" + upstream_url: "{{ knowledge_mw_service_url }}/itemset/v1" strip_uri: true plugins: - name: jwt @@ -1710,7 +1928,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'pageAccess' + - 'itemSetAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1718,9 +1936,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listResourceBundles - uris: "{{ meta_service_prefix }}/v1/resourcebundles/list" - upstream_url: "{{ knowledge_mw_service_url }}/v1/resourcebundles/list" + - name: KongConsumerApi + uris: "{{ api_manager_perfix }}/v1/consumer" + upstream_url: "{{ am_util_url }}/v1/consumer" strip_uri: true plugins: - name: jwt @@ -1728,17 +1946,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousAppAccess' + - 'kongConsumerAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listSystemSettings - uris: "{{ data_service_prefix }}/v1/system/settings/list" - upstream_url: "{{ learning_service_url }}/v1/system/settings/list" + - name: LicenseAPI + uris: "{{ license_api_prefix }}/v3" + upstream_url: "{{ content_service_url }}/license/v3" strip_uri: true plugins: - name: jwt @@ -1746,7 +1964,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'appAccess' + - 'appAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1754,9 +1972,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listTerms - uris: "{{ meta_service_prefix }}/v1/terms/list" - upstream_url: "{{ knowledge_mw_service_url }}/v1/terms/list" + - name: linkDialcodeContent + uris: "{{ dialcode_service_prefix }}/v1/content/link" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/content/link" strip_uri: true plugins: - name: jwt @@ -1764,7 +1982,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAccess' + - 'dialcodeCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1772,9 +1990,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: masterLocationCreate - uris: "{{ data_service_prefix }}/v1/location/create" - upstream_url: "{{ learning_service_url }}/v1/location/create" + - name: listAllBadges + uris: "{{ org_service_prefix }}/v1/badges/list" + upstream_url: "{{ learning_service_url }}/v1/badges/list" strip_uri: true plugins: - name: jwt @@ -1782,7 +2000,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'locationCreate' + - 'badgeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1790,9 +2008,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: masterLocationDelete - uris: "{{ data_service_prefix }}/v1/location/delete" - upstream_url: "{{ learning_service_url }}/v1/location/delete" + - name: listChannel + uris: "{{ channel_service_prefix }}/v1/list" + upstream_url: "{{ knowledge_mw_service_url }}/v1/channel/list" strip_uri: true plugins: - name: jwt @@ -1800,7 +2018,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'locationAdmin' + - 'channelAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1808,9 +2026,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: masterLocationSearch - uris: "{{ data_service_prefix }}/v1/location/search" - upstream_url: "{{ learning_service_url }}/v1/location/search" + - name: searchCourseBatches + uris: "{{ course_service_prefix }}/v1/batch/list" + upstream_url: "{{ lms_service_url }}/v1/course/batch/search" strip_uri: true plugins: - name: jwt @@ -1818,17 +2036,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'locationAccess' + - 'courseAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: masterLocationUpdate - uris: "{{ data_service_prefix }}/v1/location/update" - upstream_url: "{{ learning_service_url }}/v1/location/update" + - name: listCourseEnrollments + uris: "{{ course_service_prefix }}/v1/user/enrollment/list" + upstream_url: "{{ lms_service_url }}/v1/user/courses/list" strip_uri: true plugins: - name: jwt @@ -1836,17 +2054,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'locationUpdate' + - 'courseAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: masterLocationUpload - uris: "{{ data_service_prefix }}/v1/bulk/location/upload" - upstream_url: "{{ learning_service_url }}/v1/bulk/location/upload" + - name: listUserCourseEnrollments + uris: "{{ course_service_prefix }}/v2/user/enrollment/list" + upstream_url: "{{ lms_service_url }}/v2/user/courses/list" strip_uri: true plugins: - name: jwt @@ -1854,17 +2072,18 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'locationSuperAdmin' + - 'courseAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: mergeUserAccounts - uris: "{{ user_service_prefix }}/v1/account/merge" - upstream_url: "{{ learning_service_url }}/private/user/v1/account/merge" + + - name: listDialcodes + uris: "{{ dialcode_service_prefix }}/v1/list" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/list" strip_uri: true plugins: - name: jwt @@ -1872,7 +2091,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userUpdate' + - 'dialcodeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1880,9 +2099,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: orgAssignKeys - uris: "{{ org_service_prefix }}/v1/assign/key" - upstream_url: "{{ learning_service_url }}/v1/org/assign/key" + - name: listFramework + uris: "{{ framework_service_prefix }}/v1/list" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/list" strip_uri: true plugins: - name: jwt @@ -1890,17 +2109,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'orgAdmin' + - 'frameworkAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ x_medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: orgBulkUpload - uris: "{{ org_service_prefix }}/v1/upload" - upstream_url: "{{ learning_service_url }}/v1/org/upload" + - name: listLock + uris: "{{ lock_service_prefix }}/v1/list" + upstream_url: "{{ knowledge_mw_service_url }}/v1/lock/list" strip_uri: true plugins: - name: jwt @@ -1908,17 +2127,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'orgSuperAdmin' + - 'contentCreate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: pluginSearch - uris: "{{ plugin_service_prefix }}/v1/search" - upstream_url: "{{ knowledge_mw_service_url }}/v1/plugins/search" + - name: listOrdinals + uris: "{{ meta_service_prefix }}/v1/ordinals/list" + upstream_url: "{{ knowledge_mw_service_url }}/v1/ordinals/list" strip_uri: true plugins: - name: jwt @@ -1926,7 +2145,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'pluginAccess' + - 'appAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1934,9 +2153,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: PrivateContentCreateAPIs - uris: "{{ private_content_prefix }}/v3/create" - upstream_url: "{{ content_service_url }}/content/v3/create" + - name: listOrgTypes + uris: "{{ org_service_prefix }}/v1/type/list" + upstream_url: "{{ learning_service_url }}/v1/org/type/list" strip_uri: true plugins: - name: jwt @@ -1944,7 +2163,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'orgAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1952,9 +2171,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: PrivateContentReadAPIs - uris: "{{ private_content_prefix }}/v3/read" - upstream_url: "{{ content_service_url }}/content/v3/read" + - name: listPageSections + uris: "{{ data_service_prefix }}/v1/page/section/list" + upstream_url: "{{ lms_service_url }}/v1/page/section/list" strip_uri: true plugins: - name: jwt @@ -1962,7 +2181,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'pageAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1970,9 +2189,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: PrivateContentUpdateAPIs - uris: "{{ private_content_prefix }}/v3/update" - upstream_url: "{{ content_service_url }}/content/v3/update" + - name: listResourceBundles + uris: "{{ meta_service_prefix }}/v1/resourcebundles/list" + upstream_url: "{{ knowledge_mw_service_url }}/v1/resourcebundles/list" strip_uri: true plugins: - name: jwt @@ -1980,7 +2199,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'appAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -1988,9 +2207,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: PrivateContentRetireAPI - uris: "{{ private_content_prefix }}/v3/retire" - upstream_url: "{{ vm_learning_service_url }}/content/v3/retire" + - name: listSystemSettings + uris: "{{ data_service_prefix }}/v1/system/settings/list" + upstream_url: "{{ learning_service_url }}/v1/system/settings/list" strip_uri: true plugins: - name: jwt @@ -1998,7 +2217,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'appAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2006,9 +2225,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: PrivateContentUploadAPI - uris: "{{ private_content_prefix }}/v3/upload" - upstream_url: "{{ content_service_url }}/content/v3/upload" + - name: listTerms + uris: "{{ meta_service_prefix }}/v1/terms/list" + upstream_url: "{{ knowledge_mw_service_url }}/v1/terms/list" strip_uri: true plugins: - name: jwt @@ -2016,7 +2235,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'frameworkAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2024,9 +2243,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: PrivateContentReviewAPI - uris: "{{ private_content_prefix }}/v3/review" - upstream_url: "{{ vm_learning_service_url }}/content/v3/review" + - name: masterLocationCreate + uris: "{{ data_service_prefix }}/v1/location/create" + upstream_url: "{{ learning_service_url }}/v1/location/create" strip_uri: true plugins: - name: jwt @@ -2034,17 +2253,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'locationCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: PrivateContentPublishAPI - uris: "{{ private_content_prefix }}/v3/publish" - upstream_url: "{{ vm_learning_service_url }}/content/v3/publish" + - name: masterLocationDelete + uris: "{{ data_service_prefix }}/v1/location/delete" + upstream_url: "{{ learning_service_url }}/v1/location/delete" strip_uri: true plugins: - name: jwt @@ -2052,7 +2271,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'locationAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2060,9 +2279,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: PrivateContentRejectAPI - uris: "{{ private_content_prefix }}/v3/reject" - upstream_url: "{{ vm_learning_service_url }}/content/v3/reject" + - name: masterLocationSearch + uris: "{{ data_service_prefix }}/v1/location/search" + upstream_url: "{{ learning_service_url }}/v1/location/search" strip_uri: true plugins: - name: jwt @@ -2070,17 +2289,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'locationAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: PrivateContentHierarchyAPI - uris: "{{ private_content_prefix }}/v3/hierarchy" - upstream_url: "{{ content_service_url }}/content/v3/hierarchy" + - name: masterLocationUpdate + uris: "{{ data_service_prefix }}/v1/location/update" + upstream_url: "{{ learning_service_url }}/v1/location/update" strip_uri: true plugins: - name: jwt @@ -2088,17 +2307,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentSuperAdmin' + - 'locationUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: privateUserAssignRole - uris: "{{ user_service_prefix }}/private/v1/assign/role" - upstream_url: "{{ learning_service_url }}/private/user/v1/assign/role" + - name: masterLocationUpload + uris: "{{ data_service_prefix }}/v1/bulk/location/upload" + upstream_url: "{{ learning_service_url }}/v1/bulk/location/upload" strip_uri: true plugins: - name: jwt @@ -2106,17 +2325,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userSuperAdmin' + - 'locationSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: privateUserRead - uris: "{{ user_service_prefix }}/private/v1/read" - upstream_url: "{{ learning_service_url }}/private/user/v1/read" + - name: mergeUserAccounts + uris: "{{ user_service_prefix }}/v1/account/merge" + upstream_url: "{{ learning_service_url }}/private/user/v1/account/merge" strip_uri: true plugins: - name: jwt @@ -2124,7 +2343,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userSuperAccess' + - 'userUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2132,9 +2351,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: publishContent - uris: "{{ content_prefix }}/v1/publish" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/publish" + - name: metricsSearchData + uris: "{{ data_service_prefix }}/v1/object/metrics" + upstream_url: "{{ learning_service_url }}/v1/object/metrics" strip_uri: true plugins: - name: jwt @@ -2142,17 +2361,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'objectAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: publishCourse - uris: "{{ course_service_prefix }}/v1/publish" - upstream_url: "{{ knowledge_mw_service_url }}/v1/course/publish" + - name: orgAssignKeys + uris: "{{ org_service_prefix }}/v1/assign/key" + upstream_url: "{{ learning_service_url }}/v1/org/assign/key" strip_uri: true plugins: - name: jwt @@ -2160,7 +2379,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAdmin' + - 'orgAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2168,9 +2387,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: publishDialcode - uris: "{{ dialcode_service_prefix }}/v1/publish" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/publish" + - name: orgBulkUpload + uris: "{{ org_service_prefix }}/v1/upload" + upstream_url: "{{ learning_service_url }}/v1/org/upload" strip_uri: true plugins: - name: jwt @@ -2178,17 +2397,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeAdmin' + - 'orgSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: publishFramework - uris: "{{ framework_service_prefix }}/v1/publish" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/publish" + - name: pluginSearch + uris: "{{ plugin_service_prefix }}/v1/search" + upstream_url: "{{ knowledge_mw_service_url }}/v1/plugins/search" strip_uri: true plugins: - name: jwt @@ -2196,17 +2415,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAdmin' + - 'pluginAccess' - name: rate-limiting config.policy: local - config.hour: "{{ large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: qrCodeBatchProcessRetry - uris: "{{ dialcode_service_prefix }}/v1/process/retry" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/process/retry" + - name: PrivateContentCreateAPIs + uris: "{{ private_content_prefix }}/v3/create" + upstream_url: "{{ content_service_url }}/content/v3/create" strip_uri: true plugins: - name: jwt @@ -2214,17 +2433,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeUpdate' + - 'contentSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: qrCodeBatchProcessStatus - uris: "{{ dialcode_service_prefix }}/v1/process/status" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/process/status" + - name: PrivateContentReadAPIs + uris: "{{ private_content_prefix }}/v3/read" + upstream_url: "{{ content_service_url }}/content/v3/read" strip_uri: true plugins: - name: jwt @@ -2232,7 +2451,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeAccess' + - 'contentSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2240,9 +2459,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: qrCodeDownload - uris: "{{ course_service_prefix }}/v1/qrcode/download" - upstream_url: "{{ lms_service_url }}/v1/course/qrcode/download" + - name: PrivateContentUpdateAPIs + uris: "{{ private_content_prefix }}/v3/update" + upstream_url: "{{ content_service_url }}/content/v3/update" strip_uri: true plugins: - name: jwt @@ -2250,17 +2469,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeAccess' + - 'contentSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ x_large_request_size_limit }}" - - name: readCertTemplate - uris: "{{ cert_service_prefix }}/v1/template/read" - upstream_url: "{{ cert_service_url }}/cert/v1/template/read" + - name: PrivateContentRetireAPI + uris: "{{ private_content_prefix }}/v3/retire" + upstream_url: "{{ vm_learning_service_url }}/content/v3/retire" strip_uri: true plugins: - name: jwt @@ -2268,45 +2487,53 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateAccess' + - 'contentSuperAdmin' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readChannel - uris: "{{ channel_service_prefix }}/v1/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/channel/read" + - name: PrivateContentUploadAPI + uris: "{{ private_content_prefix }}/v3/upload" + upstream_url: "{{ content_service_url }}/content/v3/upload" strip_uri: true plugins: + - name: jwt - name: cors - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentSuperAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ x_large_rate_limit_per_hour }}" - config.limit_by: ip + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ x_large_request_size_limit }}" - - name: readContent - uris: "{{ content_prefix }}/v1/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/read" + - name: PrivateContentReviewAPI + uris: "{{ private_content_prefix }}/v3/review" + upstream_url: "{{ vm_learning_service_url }}/content/v3/review" strip_uri: true plugins: + - name: jwt - name: cors - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip + config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: contentPrivateRead - uris: "{{ content_prefix }}/v1/private/read" - upstream_url: "{{ content_service_url }}/content/v4/private/read" + - name: PrivateContentPublishAPI + uris: "{{ private_content_prefix }}/v3/publish" + upstream_url: "{{ vm_learning_service_url }}/content/v3/publish" strip_uri: true plugins: - name: jwt @@ -2314,7 +2541,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAccess' + - 'contentSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2322,9 +2549,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readContentState - uris: "{{ course_service_prefix }}/v1/content/state/read" - upstream_url: "{{ lms_service_url }}/v1/content/state/read" + - name: PrivateContentRejectAPI + uris: "{{ private_content_prefix }}/v3/reject" + upstream_url: "{{ vm_learning_service_url }}/content/v3/reject" strip_uri: true plugins: - name: jwt @@ -2332,17 +2559,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAccess' + - 'contentSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: privateReadContentState - uris: "{{ course_service_prefix }}/private/v1/content/state/read" - upstream_url: "{{ lms_service_url }}/private/v1/content/state/read" + + - name: PrivateContentHierarchyAPI + uris: "{{ private_content_prefix }}/v3/hierarchy" + upstream_url: "{{ content_service_url }}/content/v3/hierarchy" strip_uri: true plugins: - name: jwt @@ -2350,7 +2577,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'privateCourseAccess' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2358,9 +2585,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readCourse - uris: "{{ course_service_prefix }}/v1/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/course/read" + - name: privateUserAssignRole + uris: "{{ user_service_prefix }}/private/v1/assign/role" + upstream_url: "{{ learning_service_url }}/private/user/v1/assign/role" strip_uri: true plugins: - name: jwt @@ -2368,7 +2595,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAccess' + - 'userSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2376,9 +2603,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readCourseEnrollment - uris: "{{ course_service_prefix }}/v1/user/enrollment/read" - upstream_url: "{{ lms_service_url }}/v1/user/courses/read" + - name: privateUserRead + uris: "{{ user_service_prefix }}/private/v1/read" + upstream_url: "{{ learning_service_url }}/private/user/v1/read" strip_uri: true plugins: - name: jwt @@ -2386,7 +2613,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAccess' + - 'userSuperAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2394,9 +2621,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readDialcode - uris: "{{ dialcode_service_prefix }}/v1/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/read" + - name: privateUserUpdate + uris: "{{ user_service_prefix }}/private/v1/update" + upstream_url: "{{ learning_service_url }}/private/user/v1/update" strip_uri: true plugins: - name: jwt @@ -2404,7 +2631,25 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeAccess' + - 'dataCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: profileVisibility + uris: "{{ user_service_prefix }}/v1/profile/visibility" + upstream_url: "{{ learning_service_url }}/v1/user/profile/visibility" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2440,23 +2685,27 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: readFramework - uris: "{{ framework_service_prefix }}/v1/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/read" + - name: publishContent + uris: "{{ content_prefix }}/v1/publish" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/publish" strip_uri: true plugins: + - name: jwt - name: cors - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ premium_consumer_large_rate_limit_per_hour }}" - config.limit_by: ip + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readFrameworkCategory - uris: "{{ framework_service_prefix }}/v1/category/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/category/read" + - name: publishCourse + uris: "{{ course_service_prefix }}/v1/publish" + upstream_url: "{{ knowledge_mw_service_url }}/v1/course/publish" strip_uri: true plugins: - name: jwt @@ -2464,17 +2713,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAccess' + - 'courseAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readFrameworkTerm - uris: "{{ framework_service_prefix }}/v1/term/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/term/read" + - name: publishDialcode + uris: "{{ dialcode_service_prefix }}/v1/publish" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/publish" strip_uri: true plugins: - name: jwt @@ -2482,17 +2731,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAccess' + - 'dialcodeAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ x_large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readNote - uris: "{{ notes_service_prefix }}/v1/read" - upstream_url: "{{ learning_service_url }}/v1/note/read" + - name: publishFramework + uris: "{{ framework_service_prefix }}/v1/publish" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/publish" strip_uri: true plugins: - name: jwt @@ -2500,17 +2749,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'noteAccess' + - 'frameworkAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readOrg - uris: "{{ org_service_prefix }}/v1/read" - upstream_url: "{{ learning_service_url }}/v1/org/read" + - name: qrCodeBatchProcessRetry + uris: "{{ dialcode_service_prefix }}/v1/process/retry" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/process/retry" strip_uri: true plugins: - name: jwt @@ -2518,7 +2767,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousOrgAccess' + - 'dialcodeUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2526,9 +2775,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readPageSection - uris: "{{ data_service_prefix }}/v1/page/section/read" - upstream_url: "{{ lms_service_url }}/v1/page/section/read" + - name: qrCodeBatchProcessStatus + uris: "{{ dialcode_service_prefix }}/v1/process/status" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/process/status" strip_uri: true plugins: - name: jwt @@ -2536,7 +2785,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'pageAccess' + - 'dialcodeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2544,9 +2793,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readPublisher - uris: "{{ dialcode_service_prefix }}/v1/publisher/read" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/publisher/read" + - name: qrCodeDownload + uris: "{{ course_service_prefix }}/v1/qrcode/download" + upstream_url: "{{ lms_service_url }}/v1/course/qrcode/download" strip_uri: true plugins: - name: jwt @@ -2554,7 +2803,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeCreate' + - 'dialcodeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2562,9 +2811,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readRoleMapping - uris: "{{ data_service_prefix }}/v1/role/read" - upstream_url: "{{ learning_service_url }}/v1/role/read" + - name: readCertTemplate + uris: "{{ cert_service_prefix }}/v1/template/read" + upstream_url: "{{ cert_service_url }}/cert/v1/template/read" strip_uri: true plugins: - name: jwt @@ -2572,11 +2821,25 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAccess' + - 'certificateAccess' - 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: readChannel + uris: "{{ channel_service_prefix }}/v1/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/channel/read" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ x_large_rate_limit_per_hour }}" + config.limit_by: ip - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" @@ -2616,27 +2879,23 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerDesktopApp - uris: "{{ api_manager_perfix }}/v1/consumer/desktop_app/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/desktop_app/credential/register" + - name: readContent + uris: "{{ content_prefix }}/v1/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/read" strip_uri: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'desktopSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential + config.limit_by: ip - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerDesktopDevice - uris: "{{ api_manager_perfix }}/v1/consumer/desktop_device/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/desktop_device/credential/register" + - name: readContentState + uris: "{{ course_service_prefix }}/v1/content/state/read" + upstream_url: "{{ lms_service_url }}/v1/content/state/read" strip_uri: true plugins: - name: jwt @@ -2644,7 +2903,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'desktopAdmin' + - 'courseAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2652,9 +2911,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerDesktopDevicev2 - uris: "{{ api_manager_perfix }}/v2/consumer/desktop_device/credential/register" - upstream_url: "{{ am_util_url }}/v2/consumer/desktop_device/credential/register" + - name: readCourse + uris: "{{ course_service_prefix }}/v1/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/course/read" strip_uri: true plugins: - name: jwt @@ -2662,7 +2921,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'desktopAdmin' + - 'courseAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2670,9 +2929,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: refreshLock - uris: "{{ lock_service_prefix }}/v1/refresh" - upstream_url: "{{ knowledge_mw_service_url }}/v1/lock/refresh" + - name: readCourseEnrollment + uris: "{{ course_service_prefix }}/v1/user/enrollment/read" + upstream_url: "{{ lms_service_url }}/v1/user/courses/read" strip_uri: true plugins: - name: jwt @@ -2680,7 +2939,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'courseAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2688,9 +2947,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: refreshToken - uris: "{{ auth_service_prefix }}/v1/refresh/token" - upstream_url: "{{ am_util_url }}/v1/auth/refresh/token" + - name: readDialcode + uris: "{{ dialcode_service_prefix }}/v1/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/read" strip_uri: true plugins: - name: jwt @@ -2698,53 +2957,45 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'refreshTokenCreate' + - 'dialcodeAccess' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerMobileApp - uris: "{{ api_manager_perfix }}/v1/consumer/mobile_app/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/mobile_app/credential/register" + - name: readForm + uris: "{{ data_service_prefix }}/v1/form/read" + upstream_url: "{{ player_service_url }}/plugin/v1/form/read" strip_uri: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'mobileSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential + config.limit_by: ip - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: registerMobileAppOpenRAP - uris: "{{ api_manager_perfix }}/v1/consumer/mobile_app_openrap/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/mobile_app_openrap/credential/register" + - name: readFramework + uris: "{{ framework_service_prefix }}/v1/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/read" strip_uri: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'mobileOpenRAPSuperAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential + config.hour: "{{ premium_consumer_large_rate_limit_per_hour }}" + config.limit_by: ip - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerMobileAppTeacherAid - uris: "{{ api_manager_perfix }}/v1/consumer/mobile_app_teacheraid/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/mobile_app_teacheraid/credential/register" + - name: readFrameworkCategory + uris: "{{ framework_service_prefix }}/v1/category/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/category/read" strip_uri: true plugins: - name: jwt @@ -2752,17 +3003,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'mobileTeacherAidSuperAdmin' + - 'frameworkAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerMobileDevice - uris: "{{ api_manager_perfix }}/v1/consumer/mobile_device/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/mobile_device/credential/register" + - name: readFrameworkTerm + uris: "{{ framework_service_prefix }}/v1/term/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/term/read" strip_uri: true plugins: - name: jwt @@ -2770,17 +3021,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'mobileAdmin' + - 'frameworkAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ x_large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerMobileDevicev2 - uris: "{{ api_manager_perfix }}/v2/consumer/mobile_device/credential/register" - upstream_url: "{{ am_util_url }}/v2/consumer/mobile_device/credential/register" + - name: readNote + uris: "{{ notes_service_prefix }}/v1/read" + upstream_url: "{{ learning_service_url }}/v1/note/read" strip_uri: true plugins: - name: jwt @@ -2788,7 +3039,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'mobileAdmin' + - 'noteAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2796,9 +3047,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerPortalAnonymous - uris: "{{ api_manager_perfix }}/v2/consumer/portal_anonymous/credential/register" - upstream_url: "{{ am_util_url }}/v2/consumer/portal_anonymous/credential/register" + - name: readOrg + uris: "{{ org_service_prefix }}/v1/read" + upstream_url: "{{ learning_service_url }}/v1/org/read" strip_uri: true plugins: - name: jwt @@ -2806,7 +3057,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'portalAnonymous' + - 'orgAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2814,9 +3065,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerPortalLoggedin - uris: "{{ api_manager_perfix }}/v2/consumer/portal_loggedin/credential/register" - upstream_url: "{{ am_util_url }}/v2/consumer/portal_loggedin/credential/register" + - name: readPageSection + uris: "{{ data_service_prefix }}/v1/page/section/read" + upstream_url: "{{ lms_service_url }}/v1/page/section/read" strip_uri: true plugins: - name: jwt @@ -2824,7 +3075,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'portalLoggedin' + - 'pageAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2832,9 +3083,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerMobileDeviceOpenRAP - uris: "{{ api_manager_perfix }}/v1/consumer/mobile_device_openrap/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/mobile_device_openrap/credential/register" + - name: readPublisher + uris: "{{ dialcode_service_prefix }}/v1/publisher/read" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/publisher/read" strip_uri: true plugins: - name: jwt @@ -2842,7 +3093,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'mobileOpenRAPAdmin' + - 'dialcodeCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2850,9 +3101,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerMobileDeviceTeacherAid - uris: "{{ api_manager_perfix }}/v1/consumer/mobile_device_teacheraid/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/mobile_device_teacheraid/credential/register" + - name: readRoleMapping + uris: "{{ data_service_prefix }}/v1/role/read" + upstream_url: "{{ learning_service_url }}/v1/role/read" strip_uri: true plugins: - name: jwt @@ -2860,7 +3111,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'mobileTeacherAidAdmin' + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2868,9 +3119,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: rejectContent - uris: "{{ content_prefix }}/v1/reject" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/reject" + - name: readUserProfile + uris: "{{ user_service_prefix }}/v1/profile/read" + upstream_url: "{{ learning_service_url }}/v1/user/getuser" strip_uri: true plugins: - name: jwt @@ -2878,7 +3129,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2886,9 +3137,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: rejectContentFlag - uris: "{{ content_prefix }}/v1/flag/reject" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/flag/reject" + - name: registerDesktopApp + uris: "{{ api_manager_perfix }}/v1/consumer/desktop_app/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/desktop_app/credential/register" strip_uri: true plugins: - name: jwt @@ -2896,7 +3147,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'desktopSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2904,17 +3155,17 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: releaseDialcode - uris: "{{ dialcode_service_prefix }}/v1/release" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/release" - strip_uri: true - plugins: + - name: registerDesktopDevice + uris: "{{ api_manager_perfix }}/v1/consumer/desktop_device/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/desktop_device/credential/register" + strip_uri: true + plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeAdmin' + - 'desktopAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2922,9 +3173,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: reserveDialcode - uris: "{{ dialcode_service_prefix }}/v1/reserve" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/reserve" + - name: registerDesktopDevicev2 + uris: "{{ api_manager_perfix }}/v2/consumer/desktop_device/credential/register" + upstream_url: "{{ am_util_url }}/v2/consumer/desktop_device/credential/register" strip_uri: true plugins: - name: jwt @@ -2932,7 +3183,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeAdmin' + - 'desktopAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2940,9 +3191,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: retireContent - uris: "{{ content_prefix }}/v1/retire" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/retire" + - name: refreshLock + uris: "{{ lock_service_prefix }}/v1/refresh" + upstream_url: "{{ knowledge_mw_service_url }}/v1/lock/refresh" strip_uri: true plugins: - name: jwt @@ -2950,7 +3201,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2958,9 +3209,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: retireCourse - uris: "{{ course_service_prefix }}/v1/retire" - upstream_url: "{{ knowledge_mw_service_url }}/v1/course/retire" + - name: refreshToken + uris: "{{ auth_service_prefix }}/v1/refresh/token" + upstream_url: "{{ am_util_url }}/v1/auth/refresh/token" strip_uri: true plugins: - name: jwt @@ -2968,17 +3219,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAdmin' + - 'refreshTokenCreate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: retireLock - uris: "{{ lock_service_prefix }}/v1/retire" - upstream_url: "{{ knowledge_mw_service_url }}/v1/lock/retire" + - name: registerMobileApp + uris: "{{ api_manager_perfix }}/v1/consumer/mobile_app/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/mobile_app/credential/register" strip_uri: true plugins: - name: jwt @@ -2986,7 +3237,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'mobileSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -2994,9 +3245,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchChannel - uris: "{{ channel_service_prefix }}/v1/search" - upstream_url: "{{ knowledge_mw_service_url }}/v1/channel/search" + - name: registerMobileAppOpenRAP + uris: "{{ api_manager_perfix }}/v1/consumer/mobile_app_openrap/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/mobile_app_openrap/credential/register" strip_uri: true plugins: - name: jwt @@ -3004,7 +3255,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'channelAdmin' + - 'mobileOpenRAPSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3012,23 +3263,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchContent - uris: "{{ content_prefix }}/v1/search" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/search" - strip_uri: true - plugins: - - name: cors - - "{{ statsd_pulgin }}" - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: searchCourse - uris: "{{ course_service_prefix }}/v1/search" - upstream_url: "{{ knowledge_mw_service_url }}/v1/course/search" + - name: registerMobileAppTeacherAid + uris: "{{ api_manager_perfix }}/v1/consumer/mobile_app_teacheraid/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/mobile_app_teacheraid/credential/register" strip_uri: true plugins: - name: jwt @@ -3036,7 +3273,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseAccess' + - 'mobileTeacherAidSuperAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3044,9 +3281,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchDialcodes - uris: "{{ dialcode_service_prefix }}/v1/search" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/search" + - name: registerMobileDevice + uris: "{{ api_manager_perfix }}/v1/consumer/mobile_device/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/mobile_device/credential/register" strip_uri: true plugins: - name: jwt @@ -3054,7 +3291,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeAccess' + - 'mobileAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3062,9 +3299,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchFrameworkCategory - uris: "{{ framework_service_prefix }}/v1/category/search" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/category/search" + - name: registerMobileDevicev2 + uris: "{{ api_manager_perfix }}/v2/consumer/mobile_device/credential/register" + upstream_url: "{{ am_util_url }}/v2/consumer/mobile_device/credential/register" strip_uri: true plugins: - name: jwt @@ -3072,17 +3309,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAccess' + - 'mobileAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchFrameworkTerm - uris: "{{ framework_service_prefix }}/v1/term/search" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/term/search" + - name: registerMobileDeviceOpenRAP + uris: "{{ api_manager_perfix }}/v1/consumer/mobile_device_openrap/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/mobile_device_openrap/credential/register" strip_uri: true plugins: - name: jwt @@ -3090,17 +3327,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAccess' + - 'mobileOpenRAPAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchNotes - uris: "{{ notes_service_prefix }}/v1/search" - upstream_url: "{{ learning_service_url }}/v1/note/search" + - name: registerMobileDeviceTeacherAid + uris: "{{ api_manager_perfix }}/v1/consumer/mobile_device_teacheraid/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/mobile_device_teacheraid/credential/register" strip_uri: true plugins: - name: jwt @@ -3108,7 +3345,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'noteAccess' + - 'mobileTeacherAidAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3116,37 +3353,27 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchOrgExtended - uris: "{{ org_service_prefix }}/v1/ext/search" - upstream_url: "{{ learning_service_url }}/v1/org/search" - strip_uri: true - plugins: - - name: cors - - "{{ statsd_pulgin }}" - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: searchOrg - uris: "{{ org_service_prefix }}/v1/search" - upstream_url: "{{ learning_service_url }}/v1/org/search" + - name: rejectContent + uris: "{{ content_prefix }}/v1/reject" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/reject" strip_uri: true plugins: + - name: jwt - name: cors - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip + config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchUser - uris: "{{ user_service_prefix }}/v1/search" - upstream_url: "{{ learning_service_url }}/v1/user/search" + - name: rejectContentFlag + uris: "{{ content_prefix }}/v1/flag/reject" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/flag/reject" strip_uri: true plugins: - name: jwt @@ -3154,7 +3381,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userTempAdmin' + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3162,9 +3389,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: sendEmailNotification - uris: "{{ user_service_prefix }}/v1/notification/email" - upstream_url: "{{ learning_service_url }}/v1/notification/email" + - name: releaseDialcode + uris: "{{ dialcode_service_prefix }}/v1/release" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/release" strip_uri: true plugins: - name: jwt @@ -3172,17 +3399,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'appUpdate' + - 'dialcodeAdmin' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: submitContentForReview - uris: "{{ content_prefix }}/v1/review" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/review" + - name: removeMember + uris: "{{ org_service_prefix }}/v1/member/remove" + upstream_url: "{{ learning_service_url }}/v1/org/member/remove" strip_uri: true plugins: - name: jwt @@ -3190,7 +3417,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'orgAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3198,9 +3425,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: submitCourseForReview - uris: "{{ course_service_prefix }}/v1/review" - upstream_url: "{{ knowledge_mw_service_url }}/v1/course/review" + - name: removeUserFromBatch + uris: "{{ course_service_prefix }}/v1/batch/user/remove" + upstream_url: "{{ lms_service_url }}/v1/course/batch/users/remove" strip_uri: true plugins: - name: jwt @@ -3216,9 +3443,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: telemetry - uris: "{{ data_service_prefix }}/v1/telemetry" - upstream_url: "{{ telemetry_service_url }}/v1/telemetry" + - name: reserveDialcode + uris: "{{ dialcode_service_prefix }}/v1/reserve" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/reserve" strip_uri: true plugins: - name: jwt @@ -3226,17 +3453,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'telemetryCreate' + - 'dialcodeAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ premium_consumer_large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: telemetryErrorLogging - uris: "{{ data_service_prefix }}/v1/client/logs" - upstream_url: "{{ analytics_api_service_url }}/data/v1/client/logs" + - name: retireContent + uris: "{{ content_prefix }}/v1/retire" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/retire" strip_uri: true plugins: - name: jwt @@ -3244,7 +3471,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'telemetryCreate' + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3252,9 +3479,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: unblockUser - uris: "{{ user_service_prefix }}/v1/unblock" - upstream_url: "{{ learning_service_url }}/v1/user/unblock" + - name: retireCourse + uris: "{{ course_service_prefix }}/v1/retire" + upstream_url: "{{ knowledge_mw_service_url }}/v1/course/retire" strip_uri: true plugins: - name: jwt @@ -3262,7 +3489,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'courseAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3270,9 +3497,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateBatch - uris: "{{ course_service_prefix }}/v1/batch/update" - upstream_url: "{{ lms_service_url }}/v1/course/batch/update" + - name: retireLock + uris: "{{ lock_service_prefix }}/v1/retire" + upstream_url: "{{ knowledge_mw_service_url }}/v1/lock/retire" strip_uri: true plugins: - name: jwt @@ -3280,7 +3507,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseUpdate' + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3288,9 +3515,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateCertTemplate - uris: "{{ cert_service_prefix }}/v1/template/update" - upstream_url: "{{ cert_service_url }}/cert/v1/template/update" + - name: revokeAssertion + uris: "{{ badge_service_prefix }}/v1/issuer/badge/assertion/delete" + upstream_url: "{{ learning_service_url }}/v1/issuer/badge/assertion/delete" strip_uri: true plugins: - name: jwt @@ -3298,7 +3525,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateUpdate' + - 'badgeAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3306,9 +3533,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateChannel - uris: "{{ channel_service_prefix }}/v1/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/channel/update" + - name: searchBadgeClass + uris: "{{ badge_service_prefix }}/v1/issuer/badge/search" + upstream_url: "{{ learning_service_url }}/v1/issuer/badge/search" strip_uri: true plugins: - name: jwt @@ -3316,17 +3543,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'channelUpdate' + - 'badgeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateCollaborators - uris: "{{ content_prefix }}/v1/collaborator/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/collaborator/update" + - name: searchChannel + uris: "{{ channel_service_prefix }}/v1/search" + upstream_url: "{{ knowledge_mw_service_url }}/v1/channel/search" strip_uri: true plugins: - name: jwt @@ -3334,7 +3561,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'channelAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3342,27 +3569,23 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateContent - uris: "{{ content_prefix }}/v1/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/update" + - name: searchContent + uris: "{{ content_prefix }}/v1/search" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/search" strip_uri: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential + config.limit_by: ip - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateContentState - uris: "{{ course_service_prefix }}/v1/content/state/update" - upstream_url: "{{ lms_service_url }}/v1/content/state/update" + - name: searchCourse + uris: "{{ course_service_prefix }}/v1/search" + upstream_url: "{{ knowledge_mw_service_url }}/v1/course/search" strip_uri: true plugins: - name: jwt @@ -3378,9 +3601,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateCourse - uris: "{{ course_service_prefix }}/v1/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/course/update" + - name: searchData + uris: "{{ data_service_prefix }}/v1/object/search" + upstream_url: "{{ learning_service_url }}/v1/object/search" strip_uri: true plugins: - name: jwt @@ -3388,17 +3611,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseUpdate' + - 'objectAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateCourseHierarchy - uris: "{{ course_service_prefix }}/v1/hierarchy/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/course/hierarchy/update" + - name: searchDialcodes + uris: "{{ dialcode_service_prefix }}/v1/search" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/search" strip_uri: true plugins: - name: jwt @@ -3406,7 +3629,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'courseUpdate' + - 'dialcodeAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3414,9 +3637,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateDesktopApp - uris: "{{ desktop_app_prefix }}/v1/update" - upstream_url: "{{ player_service_url }}/v1/desktop/update" + - name: searchFrameworkCategory + uris: "{{ framework_service_prefix }}/v1/category/search" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/category/search" strip_uri: true plugins: - name: jwt @@ -3424,7 +3647,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousAppAccess' + - 'frameworkAccess' - name: rate-limiting config.policy: local config.hour: "{{ large_rate_limit_per_hour }}" @@ -3432,9 +3655,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateDialcode - uris: "{{ dialcode_service_prefix }}/v1/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/update" + - name: searchFrameworkTerm + uris: "{{ framework_service_prefix }}/v1/term/search" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/term/search" strip_uri: true plugins: - name: jwt @@ -3442,17 +3665,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeUpdate' + - 'frameworkAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateDialcodeV2 - uris: "{{ dialcode_service_prefix }}/v2/update" - upstream_url: "{{ knowledge_mw_service_url }}/v2/dialcode/update" + - name: searchNotes + uris: "{{ notes_service_prefix }}/v1/search" + upstream_url: "{{ learning_service_url }}/v1/note/search" strip_uri: true plugins: - name: jwt @@ -3460,7 +3683,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeUpdate' + - 'noteAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3468,27 +3691,23 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateForm - uris: "{{ data_service_prefix }}/v1/form/update" - upstream_url: "{{ player_service_url }}/plugin/v1/form/update" + - name: searchOrgExtended + uris: "{{ org_service_prefix }}/v1/ext/search" + upstream_url: "{{ learning_service_url }}/v1/org/search" strip_uri: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'formUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential + config.limit_by: ip - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateFramework - uris: "{{ framework_service_prefix }}/v1/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/update" + - name: updateDialcodeV2 + uris: "{{ dialcode_service_prefix }}/v2/update" + upstream_url: "{{ knowledge_mw_service_url }}/v2/dialcode/update" strip_uri: true plugins: - name: jwt @@ -3496,17 +3715,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkUpdate' + - 'dialcodeUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateFrameworkCategory - uris: "{{ framework_service_prefix }}/v1/category/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/category/update" + - name: updateForm + uris: "{{ data_service_prefix }}/v1/form/update" + upstream_url: "{{ player_service_url }}/plugin/v1/form/update" strip_uri: true plugins: - name: jwt @@ -3514,35 +3733,31 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkUpdate' + - 'formUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateFrameworkTerm - uris: "{{ framework_service_prefix }}/v1/term/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/term/update" + - name: searchOrg + uris: "{{ org_service_prefix }}/v1/search" + upstream_url: "{{ learning_service_url }}/v1/org/search" strip_uri: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'frameworkUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ large_rate_limit_per_hour }}" - config.limit_by: credential + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: ip - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateNote - uris: "{{ notes_service_prefix }}/v1/update" - upstream_url: "{{ learning_service_url }}/v1/note/update" + - name: searchUser + uris: "{{ user_service_prefix }}/v1/search" + upstream_url: "{{ learning_service_url }}/v1/user/search" strip_uri: true plugins: - name: jwt @@ -3550,7 +3765,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'noteUpdate' + - 'userTempAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3558,9 +3773,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateOrg - uris: "{{ org_service_prefix }}/v1/update" - upstream_url: "{{ learning_service_url }}/v1/org/update" + - name: sendEmailNotification + uris: "{{ user_service_prefix }}/v1/notification/email" + upstream_url: "{{ learning_service_url }}/v1/notification/email" strip_uri: true plugins: - name: jwt @@ -3568,17 +3783,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'orgUpdate' + - 'appUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateOrgStatus - uris: "{{ org_service_prefix }}/v1/status/update" - upstream_url: "{{ learning_service_url }}/v1/org/status/update" + - name: sendNotification + uris: "{{ data_service_prefix }}/v1/notification/send" + upstream_url: "{{ learning_service_url }}/v1/notification/send" strip_uri: true plugins: - name: jwt @@ -3586,7 +3801,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'orgUpdate' + - 'appAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3594,9 +3809,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updatePage - uris: "{{ data_service_prefix }}/v1/page/update" - upstream_url: "{{ lms_service_url }}/v1/page/update" + - name: submitContentForReview + uris: "{{ content_prefix }}/v1/review" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/review" strip_uri: true plugins: - name: jwt @@ -3604,7 +3819,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'pageUpdate' + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3612,9 +3827,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updatePageSection - uris: "{{ data_service_prefix }}/v1/page/section/update" - upstream_url: "{{ lms_service_url }}/v1/page/section/update" + - name: submitCourseForReview + uris: "{{ course_service_prefix }}/v1/review" + upstream_url: "{{ knowledge_mw_service_url }}/v1/course/review" strip_uri: true plugins: - name: jwt @@ -3622,7 +3837,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'pageUpdate' + - 'courseAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3630,9 +3845,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updatePublisher - uris: "{{ dialcode_service_prefix }}/v1/publisher/update" - upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/publisher/update" + - name: telemetry + uris: "{{ data_service_prefix }}/v1/telemetry" + upstream_url: "{{ telemetry_service_url }}/v1/telemetry" strip_uri: true plugins: - name: jwt @@ -3640,17 +3855,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'dialcodeUpdate' + - 'telemetryCreate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ premium_consumer_large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateUser - uris: "{{ user_service_prefix }}/v1/update" - upstream_url: "{{ learning_service_url }}/v1/user/update" + - name: telemetryErrorLogging + uris: "{{ data_service_prefix }}/v1/client/logs" + upstream_url: "{{ analytics_api_service_url }}/data/v1/client/logs" strip_uri: true plugins: - name: jwt @@ -3658,17 +3873,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userUpdate' + - 'telemetryCreate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: uploadContent - uris: "{{ content_prefix }}/v1/upload" - upstream_url: "{{ knowledge_mw_service_url }}/v1/content/upload" + - name: unblockUser + uris: "{{ user_service_prefix }}/v1/unblock" + upstream_url: "{{ learning_service_url }}/v1/user/unblock" strip_uri: true plugins: - name: jwt @@ -3676,17 +3891,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'userAdmin' - 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: "{{ large_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: uploadCrashLogs - uris: "{{ desktop_app_prefix }}/v1/upload-crash-logs" - upstream_url: "{{ player_service_url }}/v1/desktop/upload-crash-logs" + - name: updateBatch + uris: "{{ course_service_prefix }}/v1/batch/update" + upstream_url: "{{ lms_service_url }}/v1/course/batch/update" strip_uri: true plugins: - name: jwt @@ -3694,17 +3909,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'telemetryCreate' + - 'courseUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: uploadTOC - uris: "{{ textbook_service_prefix }}/v1/toc/upload" - upstream_url: "{{ lms_service_url }}/v1/textbook/toc/upload" + - name: updateCertTemplate + uris: "{{ cert_service_prefix }}/v1/template/update" + upstream_url: "{{ cert_service_url }}/cert/v1/template/update" strip_uri: true plugins: - name: jwt @@ -3712,7 +3927,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'certificateUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3720,9 +3935,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: userBulkUpload - uris: "{{ user_service_prefix }}/v1/upload" - upstream_url: "{{ learning_service_url }}/v1/user/upload" + - name: updateChannel + uris: "{{ channel_service_prefix }}/v1/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/channel/update" strip_uri: true plugins: - name: jwt @@ -3730,17 +3945,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'channelUpdate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: userExistenceApi - uris: "{{ user_service_prefix }}/v1/exists" - upstream_url: "{{ learning_service_url }}/v1/user/exists" + - name: updateCollaborators + uris: "{{ content_prefix }}/v1/collaborator/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/collaborator/update" strip_uri: true plugins: - name: jwt @@ -3748,7 +3963,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousUserAccess' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3756,9 +3971,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: userExistenceApiV2 - uris: "{{ user_service_prefix }}/v2/exists" - upstream_url: "{{ learning_service_url }}/v2/user/exists" + - name: updateContent + uris: "{{ content_prefix }}/v1/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/update" strip_uri: true plugins: - name: jwt @@ -3766,7 +3981,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAccess' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3774,9 +3989,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: userFeed - uris: "{{ user_service_prefix }}/v1/feed" - upstream_url: "{{ learning_service_url }}/v1/user/feed" + - name: updateContentState + uris: "{{ course_service_prefix }}/v1/content/state/update" + upstream_url: "{{ lms_service_url }}/v1/content/state/update" strip_uri: true plugins: - name: jwt @@ -3784,7 +3999,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAccess' + - 'courseAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3792,9 +4007,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: userFeedCreate - uris: "{{ user_service_prefix }}/feed/v1/create" - upstream_url: "{{ learning_service_url }}/v1/user/feed/create" + - name: updateCourse + uris: "{{ course_service_prefix }}/v1/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/course/update" strip_uri: true plugins: - name: jwt @@ -3802,7 +4017,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAccess' + - 'courseUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3810,9 +4025,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: userFeedDelete - uris: "{{ user_service_prefix }}/feed/v1/delete" - upstream_url: "{{ learning_service_url }}/v1/user/feed/delete" + - name: updateCourseHierarchy + uris: "{{ course_service_prefix }}/v1/hierarchy/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/course/hierarchy/update" strip_uri: true plugins: - name: jwt @@ -3820,17 +4035,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAccess' + - 'courseUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: userFeedUpdate - uris: "{{ user_service_prefix }}/feed/v1/update" - upstream_url: "{{ learning_service_url }}/v1/user/feed/update" + + - name: updateData + uris: "{{ data_service_prefix }}/v1/object/update" + upstream_url: "{{ learning_service_url }}/v1/object/update" strip_uri: true plugins: - name: jwt @@ -3838,17 +4053,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAccess' + - 'objectUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: userMigrate - uris: "{{ user_service_prefix }}/v1/migrate" - upstream_url: "{{ learning_service_url }}/v1/user/migrate" + - name: updateDesktopApp + uris: "{{ desktop_app_prefix }}/v1/update" + upstream_url: "{{ player_service_url }}/v1/desktop/update" strip_uri: true plugins: - name: jwt @@ -3856,17 +4071,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userUpdate' + - 'appAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: validateRegCertificate - uris: "{{ cert_registry_service_prefix }}/v1/certs/validate" - upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/validate" + - name: updateDialcode + uris: "{{ dialcode_service_prefix }}/v1/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/update" strip_uri: true plugins: - name: jwt @@ -3874,7 +4089,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousCertificateAccess' + - 'dialcodeUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3882,9 +4097,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: verifyOtp - uris: "{{ otp_service_prefix }}/v1/verify" - upstream_url: "{{ learning_service_url }}/v1/otp/verify" + - name: updateForm + uris: "{{ data_service_prefix }}/v1/form/update" + upstream_url: "{{ player_service_url }}/plugin/v1/form/update" strip_uri: true plugins: - name: jwt @@ -3892,17 +4107,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousUserAccess' + - 'formUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: verifyOtpV2 - uris: "{{ otp_service_prefix }}/v2/verify" - upstream_url: "{{ learning_service_url }}/v2/otp/verify" + - name: updateFramework + uris: "{{ framework_service_prefix }}/v1/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/update" strip_uri: true plugins: - name: jwt @@ -3910,17 +4125,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousUserAccess' + - 'frameworkUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: verifyRegCertificate - uris: "{{ cert_registry_service_prefix }}/v1/certs/verify" - upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/verify" + - name: updateFrameworkCategory + uris: "{{ framework_service_prefix }}/v1/category/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/category/update" strip_uri: true plugins: - name: jwt @@ -3928,17 +4143,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateAccess' + - 'frameworkUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerIgotApp - uris: "{{ api_manager_perfix }}/v1/consumer/igot_app/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/igot_app/credential/register" + - name: updateFrameworkTerm + uris: "{{ framework_service_prefix }}/v1/term/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/framework/term/update" strip_uri: true plugins: - name: jwt @@ -3946,17 +4161,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'igotAdmin' + - 'frameworkUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: registerIgotDevice - uris: "{{ api_manager_perfix }}/v1/consumer/igot_device/credential/register" - upstream_url: "{{ am_util_url }}/v1/consumer/igot_device/credential/register" + - name: verifyOtpV2 + uris: "{{ otp_service_prefix }}/v2/verify" + upstream_url: "{{ learning_service_url }}/v2/otp/verify" strip_uri: true plugins: - name: jwt @@ -3964,17 +4179,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'igotApp' + - 'anonymousUserAccess' - name: rate-limiting config.policy: local - config.hour: "{{ large_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listReports - uris: "{{ report_service_prefix }}/report/list" - upstream_url: "{{ report_service_url }}/report/list" + - name: verifyRegCertificate + uris: "{{ cert_registry_service_prefix }}/v1/certs/verify" + upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/verify" strip_uri: true plugins: - name: jwt @@ -3982,7 +4197,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsAdmin' + - 'certificateAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -3990,9 +4205,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getReport - uris: "{{ report_service_prefix }}/report/get" - upstream_url: "{{ report_service_url }}/report/get" + - name: updateLocation + uris: "{{ org_service_prefix }}/v1/location/update" + upstream_url: "{{ learning_service_url }}/v1/notification/location/update" strip_uri: true plugins: - name: jwt @@ -4000,7 +4215,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsAccess' + - 'locationUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4008,9 +4223,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateReport - uris: "{{ report_service_prefix }}/report/update" - upstream_url: "{{ report_service_url }}/report/update" + - name: updateNote + uris: "{{ notes_service_prefix }}/v1/update" + upstream_url: "{{ learning_service_url }}/v1/note/update" strip_uri: true plugins: - name: jwt @@ -4018,17 +4233,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsUpdate' + - 'noteUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: deleteReport - uris: "{{ report_service_prefix }}/report/delete" - upstream_url: "{{ report_service_url }}/report/delete" + - name: updateOrg + uris: "{{ org_service_prefix }}/v1/update" + upstream_url: "{{ learning_service_url }}/v1/org/update" strip_uri: true plugins: - name: jwt @@ -4036,17 +4251,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsAdmin' + - 'orgUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createReport - uris: "{{ report_service_prefix }}/report/create" - upstream_url: "{{ report_service_url }}/report/create" + - name: updateOrgStatus + uris: "{{ org_service_prefix }}/v1/status/update" + upstream_url: "{{ learning_service_url }}/v1/org/status/update" strip_uri: true plugins: - name: jwt @@ -4054,7 +4269,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsCreate' + - 'orgUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4062,9 +4277,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createReportSummary - uris: "{{ report_service_prefix }}/report/summary/create" - upstream_url: "{{ report_service_url }}/report/summary/create" + - name: updateOrgType + uris: "{{ org_service_prefix }}/v1/type/update" + upstream_url: "{{ learning_service_url }}/v1/org/type/update" strip_uri: true plugins: - name: jwt @@ -4072,17 +4287,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsCreate' + - 'orgUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getReportSummary - uris: "{{ report_service_prefix }}/report/summary" - upstream_url: "{{ report_service_url }}/report/summary" + - name: updatePage + uris: "{{ data_service_prefix }}/v1/page/update" + upstream_url: "{{ lms_service_url }}/v1/page/update" strip_uri: true plugins: - name: jwt @@ -4090,7 +4305,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsAccess' + - 'pageUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4098,9 +4313,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listReportSummary - uris: "{{ report_service_prefix }}/report/summary/list" - upstream_url: "{{ report_service_url }}/report/summary/list" + - name: updatePageSection + uris: "{{ data_service_prefix }}/v1/page/section/update" + upstream_url: "{{ lms_service_url }}/v1/page/section/update" strip_uri: true plugins: - name: jwt @@ -4108,7 +4323,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsAdmin' + - 'pageUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4116,9 +4331,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchRegCertificate - uris: "{{ cert_registry_service_prefix }}/v1/certs/search" - upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/search" + - name: updatePublisher + uris: "{{ dialcode_service_prefix }}/v1/publisher/update" + upstream_url: "{{ knowledge_mw_service_url }}/v1/dialcode/publisher/update" strip_uri: true plugins: - name: jwt @@ -4126,7 +4341,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateAccess' + - 'dialcodeUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4134,9 +4349,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchRegCertificateV2 - uris: "{{ cert_registry_service_prefix }}/v2/certs/search" - upstream_url: "{{ cert_registry_service_url }}/certs/v2/registry/search" + - name: updateUser + uris: "{{ user_service_prefix }}/v1/update" + upstream_url: "{{ learning_service_url }}/v1/user/update" strip_uri: true plugins: - name: jwt @@ -4144,17 +4359,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateAccess' + - 'userUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: readRegCertificate - uris: "{{ cert_registry_service_prefix }}/v1/certs/read" - upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/read" + - name: updateUserloginTime + uris: "{{ user_service_prefix }}/v1/update/logintime" + upstream_url: "{{ learning_service_url }}/v1/user/update/logintime" strip_uri: true plugins: - name: jwt @@ -4162,17 +4377,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateAccess' + - 'userUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: forgotPassword - uris: "{{ learner_private_route_prefix }}/user/v1/password/reset" - upstream_url: "{{ learning_service_url }}/private/user/v1/password/reset" + - name: updateUserSkill + uris: "{{ user_service_prefix }}/v1/skill/update" + upstream_url: "{{ learning_service_url }}/v1/user/skill/update" strip_uri: true plugins: - name: jwt @@ -4180,17 +4395,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousUserAccess' + - 'userUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: publishReport - uris: "{{ report_service_prefix }}/report/publish" - upstream_url: "{{ report_service_url }}/report/publish" + - name: uploadContent + uris: "{{ content_prefix }}/v1/upload" + upstream_url: "{{ knowledge_mw_service_url }}/v1/content/upload" strip_uri: true plugins: - name: jwt @@ -4198,17 +4413,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsAdmin' + - 'contentCreate' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ large_request_size_limit }}" - - name: retireReport - uris: "{{ report_service_prefix }}/report/retire" - upstream_url: "{{ report_service_url }}/report/retire" + - name: searchRegCertificateV2 + uris: "{{ cert_registry_service_prefix }}/v2/certs/search" + upstream_url: "{{ cert_registry_service_url }}/certs/v2/registry/search" strip_uri: true plugins: - name: jwt @@ -4216,17 +4431,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'reportsAdmin' + - 'certificateAccess' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchManagedUser - uris: "{{ user_service_prefix }}/v1/managed" - upstream_url: "{{ learning_service_url }}/v1/user/managed" + - name: readRegCertificate + uris: "{{ cert_registry_service_prefix }}/v1/certs/read" + upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/read" strip_uri: true plugins: - name: jwt @@ -4234,7 +4449,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousUserAccess' + - 'certificateAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4242,9 +4457,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createGroup - uris: "{{ group_service_prefix }}/v1/create" - upstream_url: "{{ group_service_url }}/v1/group/create" + - name: uploadCrashLogs + uris: "{{ desktop_app_prefix }}/v1/upload-crash-logs" + upstream_url: "{{ player_service_url }}/v1/desktop/upload-crash-logs" strip_uri: true plugins: - name: jwt @@ -4252,17 +4467,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'groupCreate' + - 'telemetryCreate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateGroup - uris: "{{ group_service_prefix }}/v1/update" - upstream_url: "{{ group_service_url }}/v1/group/update" + - name: uploadTOC + uris: "{{ textbook_service_prefix }}/v1/toc/upload" + upstream_url: "{{ lms_service_url }}/v1/textbook/toc/upload" strip_uri: true plugins: - name: jwt @@ -4270,17 +4485,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'groupUpdate' + - 'contentCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: listGroup - uris: "{{ group_service_prefix }}/v1/list" - upstream_url: "{{ group_service_url }}/v1/group/list" + - name: userBulkUpload + uris: "{{ user_service_prefix }}/v1/upload" + upstream_url: "{{ learning_service_url }}/v1/user/upload" strip_uri: true plugins: - name: jwt @@ -4288,17 +4503,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'groupAccess' + - 'userAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: readGroup - uris: "{{ group_service_prefix }}/v1/read" - upstream_url: "{{ group_service_url }}/v1/group/read" + - name: UserBulkUploadv2 + uris: "{{ user_service_prefix }}/v2/bulk/upload" + upstream_url: "{{ learning_service_url }}/v2/bulk/user/upload" strip_uri: true plugins: - name: jwt @@ -4306,53 +4521,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'groupAccess' + - 'userAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: deleteGroup - uris: "{{ group_service_prefix }}/v1/delete" - upstream_url: "{{ group_service_url }}/v1/group/delete" - strip_uri: true - plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'groupAdmin' - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: updateGroupMembership - uris: "{{ group_service_prefix }}/membership/v1/update" - upstream_url: "{{ group_service_url }}/v1/group/membership/update" - strip_uri: true - plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'groupUpdate' - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: groupActivityAgg - uris: "{{ data_service_prefix }}/v1/group/activity/agg" - upstream_url: "{{ lms_service_url }}/v1/group/activity/agg" + - name: userExistenceApi + uris: "{{ user_service_prefix }}/v1/exists" + upstream_url: "{{ learning_service_url }}/v1/user/exists" strip_uri: true plugins: - name: jwt @@ -4360,7 +4539,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'groupAccess' + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4368,9 +4547,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listForm - uris: "{{ data_service_prefix }}/v1/form/list" - upstream_url: "{{ player_service_url }}/plugin/v1/form/list" + - name: userExistenceApiV2 + uris: "{{ user_service_prefix }}/v2/exists" + upstream_url: "{{ learning_service_url }}/v2/user/exists" strip_uri: true plugins: - name: jwt @@ -4378,17 +4557,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'appAdmin' + - 'userAccess' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getUserProfileV3 - uris: "{{ user_service_prefix }}/v3/read" - upstream_url: "{{ learning_service_url }}/v3/user/read" + - name: userFeed + uris: "{{ user_service_prefix }}/v1/feed" + upstream_url: "{{ learning_service_url }}/v1/user/feed" strip_uri: true plugins: - name: jwt @@ -4404,27 +4583,63 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateUserDeclarations - uris: "{{ user_service_prefix }}/v1/declarations" - upstream_url: "{{ learning_service_url }}/v1/user/declarations" - strip_uri: true + - name: userFeedCreate + uris: "{{ user_service_prefix }}/feed/v1/create" + upstream_url: "{{ learning_service_url }}/v1/user/feed/create" + strip_uri: true plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userUpdate' + - 'userAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateUserConsent - uris: "{{ user_service_prefix }}/v1/consent/update" - upstream_url: "{{ learning_service_url }}/v1/user/consent/update" + - name: userFeedDelete + uris: "{{ user_service_prefix }}/feed/v1/delete" + upstream_url: "{{ learning_service_url }}/v1/user/feed/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: userFeedUpdate + uris: "{{ user_service_prefix }}/feed/v1/update" + upstream_url: "{{ learning_service_url }}/v1/user/feed/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: userMigrate + uris: "{{ user_service_prefix }}/v1/migrate" + upstream_url: "{{ learning_service_url }}/v1/user/migrate" strip_uri: true plugins: - name: jwt @@ -4438,11 +4653,39 @@ 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readUserConsent - uris: "{{ user_service_prefix }}/v1/consent/read" - upstream_url: "{{ learning_service_url }}/v1/user/consent/read" + - name: validateRegCertificate + uris: "{{ cert_registry_service_prefix }}/v1/certs/validate" + upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/validate" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: verifyOtp + uris: "{{ otp_service_prefix }}/v1/verify" + upstream_url: "{{ learning_service_url }}/v1/otp/verify" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: verifyRegCertificate + uris: "{{ cert_registry_service_prefix }}/v1/certs/verify" + upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/verify" strip_uri: true plugins: - name: jwt @@ -4450,13 +4693,13 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAccess' + - 'certificateAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - name: readUserConsentV2 uris: "{{ user_service_prefix }}/v2/consent/read" @@ -4598,9 +4841,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createTenantPreferences - uris: "{{ org_service_prefix }}/v2/preferences/create" - upstream_url: "{{ learning_service_url }}/v2/org/preferences/create" + - name: registerIgotApp + uris: "{{ api_manager_perfix }}/v1/consumer/igot_app/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/igot_app/credential/register" strip_uri: true plugins: - name: jwt @@ -4608,7 +4851,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'orgUpdate' + - 'igotAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4616,9 +4859,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateTenantPreferences - uris: "{{ org_service_prefix }}/v2/preferences/update" - upstream_url: "{{ learning_service_url }}/v2/org/preferences/update" + - name: registerIgotDevice + uris: "{{ api_manager_perfix }}/v1/consumer/igot_device/credential/register" + upstream_url: "{{ am_util_url }}/v1/consumer/igot_device/credential/register" strip_uri: true plugins: - name: jwt @@ -4626,17 +4869,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'orgUpdate' + - 'igotApp' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readTenantPreferencess - uris: "{{ org_service_prefix }}/v2/preferences/read" - upstream_url: "{{ learning_service_url }}/v2/org/preferences/read" + - name: listReports + uris: "{{ report_service_prefix }}/report/list" + upstream_url: "{{ report_service_url }}/report/list" strip_uri: true plugins: - name: jwt @@ -4644,17 +4887,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'orgAccess' + - 'reportsAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: generateCertificateV2 - uris: "{{ cert_service_prefix }}/v2/certs/generate" - upstream_url: "{{ cert_service_url }}/v2/certs/generate" + - name: getReport + uris: "{{ report_service_prefix }}/report/get" + upstream_url: "{{ report_service_url }}/report/get" strip_uri: true plugins: - name: jwt @@ -4662,17 +4905,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateCreate' + - 'reportsAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: addRegCertificateV2 - uris: "{{ cert_registry_service_prefix }}/v2/certs/add" - upstream_url: "{{ cert_registry_service_url }}/certs/v2/registry/add" + - name: updateReport + uris: "{{ report_service_prefix }}/report/update" + upstream_url: "{{ report_service_url }}/report/update" strip_uri: true plugins: - name: jwt @@ -4680,17 +4923,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateCreate' + - 'reportsUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: downloadRegCertificateV2 - uris: "{{ cert_registry_service_prefix }}/v2/certs/download" - upstream_url: "{{ cert_registry_service_url }}/certs/v2/registry/download" + - name: deleteReport + uris: "{{ report_service_prefix }}/report/delete" + upstream_url: "{{ report_service_url }}/report/delete" strip_uri: true plugins: - name: jwt @@ -4698,17 +4941,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateAccess' + - 'reportsAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: contentImportAPI - uris: "{{ content_prefix }}/v1/import" - upstream_url: "{{ content_service_url }}/content/v3/import" + - name: createReport + uris: "{{ report_service_prefix }}/report/create" + upstream_url: "{{ report_service_url }}/report/create" strip_uri: true plugins: - name: jwt @@ -4716,17 +4959,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'reportsCreate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: druidGetUpdateListReport - uris: "{{ data_service_prefix }}/v1{{ analytics_report_service_prefix }}" - upstream_url: "{{ analytics_api_service_url }}{{ analytics_report_service_prefix }}" + - name: contentImportAPI + uris: "{{ content_prefix }}/v1/import" + upstream_url: "{{ content_service_url }}/content/v3/import" strip_uri: true plugins: - name: jwt @@ -4734,17 +4977,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'druidReportAdmin' + - 'contentCreate' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: druidDeactivateReport - uris: "{{ data_service_prefix }}/v1{{ analytics_report_service_prefix }}/deactivate" - upstream_url: "{{ analytics_api_service_url }}{{ analytics_report_service_prefix }}/deactivate" + - name: createReportSummary + uris: "{{ report_service_prefix }}/report/summary/create" + upstream_url: "{{ report_service_url }}/report/summary/create" strip_uri: true plugins: - name: jwt @@ -4752,17 +4995,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'druidReportAdmin' + - 'reportsCreate' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: druidCreateReport - uris: "{{ data_service_prefix }}/v1{{ analytics_report_service_prefix }}/submit" - upstream_url: "{{ analytics_api_service_url }}{{ analytics_report_service_prefix }}/submit" + - name: getReportSummary + uris: "{{ report_service_prefix }}/report/summary" + upstream_url: "{{ report_service_url }}/report/summary" strip_uri: true plugins: - name: jwt @@ -4770,17 +5013,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'druidReportCreate' + - 'reportsAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: addRegCertificate - uris: "{{ cert_registry_service_prefix }}/v1/certs/add" - upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/add" + - name: listReportSummary + uris: "{{ report_service_prefix }}/report/summary/list" + upstream_url: "{{ report_service_url }}/report/summary/list" strip_uri: true plugins: - name: jwt @@ -4788,7 +5031,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateCreate' + - 'reportsAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -4796,9 +5039,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: generateCertificate - uris: "{{ cert_service_prefix }}/v1/certs/generate" - upstream_url: "{{ cert_service_url }}/v1/certs/generate" + - name: searchRegCertificate + uris: "{{ cert_registry_service_prefix }}/v1/certs/search" + upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/search" strip_uri: true plugins: - name: jwt @@ -4806,17 +5049,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateCreate' + - 'certificateAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createObjectCategory - uris: "{{ object_category_prefix }}/v1/create" - upstream_url: "{{ taxonomy_service_url }}/object/category/v4/create" + - name: readRegCertificate + uris: "{{ cert_registry_service_prefix }}/v1/certs/read" + upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/read" strip_uri: true plugins: - name: jwt @@ -4824,17 +5067,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkCreate' + - 'certificateAccess' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readObjectCategory - uris: "{{ object_category_prefix }}/v1/read" - upstream_url: "{{ taxonomy_service_url }}/object/category/v4/read" + - name: forgotPassword + uris: "{{ learner_private_route_prefix }}/user/v1/password/reset" + upstream_url: "{{ learning_service_url }}/private/user/v1/password/reset" strip_uri: true plugins: - name: jwt @@ -4842,17 +5085,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAccess' + - 'userAccess' - name: rate-limiting config.policy: local - config.hour: "{{ x_medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateObjectCategory - uris: "{{ object_category_prefix }}/v1/update" - upstream_url: "{{ taxonomy_service_url }}/object/category/v4/update" + - name: publishReport + uris: "{{ report_service_prefix }}/report/publish" + upstream_url: "{{ report_service_url }}/report/publish" strip_uri: true plugins: - name: jwt @@ -4860,7 +5103,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkUpdate' + - 'reportsAdmin' - name: rate-limiting config.policy: local config.hour: "{{ small_rate_limit_per_hour }}" @@ -4868,9 +5111,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createObjectCategoryDefinition - uris: "{{ object_category_definition_prefix }}/v1/create" - upstream_url: "{{ taxonomy_service_url }}/object/category/definition/v4/create" + - name: retireReport + uris: "{{ report_service_prefix }}/report/retire" + upstream_url: "{{ report_service_url }}/report/retire" strip_uri: true plugins: - name: jwt @@ -4878,7 +5121,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkCreate' + - 'reportsAdmin' - name: rate-limiting config.policy: local config.hour: "{{ small_rate_limit_per_hour }}" @@ -4886,9 +5129,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readObjectCategoryDefinition - uris: "{{ object_category_definition_prefix }}/v1/read" - upstream_url: "{{ taxonomy_service_url }}/object/category/definition/v4/read" + - name: searchManagedUser + uris: "{{ user_service_prefix }}/v1/managed" + upstream_url: "{{ learning_service_url }}/v1/user/managed" strip_uri: true plugins: - name: jwt @@ -4896,17 +5139,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkAccess' + - 'userAccess' - name: rate-limiting config.policy: local - config.hour: "{{ x_medium_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateObjectCategoryDefinition - uris: "{{ object_category_definition_prefix }}/v1/update" - upstream_url: "{{ taxonomy_service_url }}/object/category/definition/v4/update" + - name: createGroup + uris: "{{ group_service_prefix }}/v1/create" + upstream_url: "{{ group_service_url }}/v1/group/create" strip_uri: true plugins: - name: jwt @@ -4914,17 +5157,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'frameworkUpdate' + - 'groupCreate' - name: rate-limiting config.policy: local - config.hour: "{{ small_rate_limit_per_hour }}" + config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createAsset - uris: "{{ asset_prefix }}/v1/create" - upstream_url: "{{ content_service_url }}/asset/v4/create" + - name: updateGroup + uris: "{{ group_service_prefix }}/v1/update" + upstream_url: "{{ group_service_url }}/v1/group/update" strip_uri: true plugins: - name: jwt @@ -4932,17 +5175,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'groupUpdate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateAsset - uris: "{{ asset_prefix }}/v1/update" - upstream_url: "{{ content_service_url }}/asset/v4/update" + - name: listGroup + uris: "{{ group_service_prefix }}/v1/list" + upstream_url: "{{ group_service_url }}/v1/group/list" strip_uri: true plugins: - name: jwt @@ -4950,17 +5193,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'groupAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: readAsset - uris: "{{ asset_prefix }}/v1/read" - upstream_url: "{{ content_service_url }}/asset/v4/read" + - name: readGroup + uris: "{{ group_service_prefix }}/v1/read" + upstream_url: "{{ group_service_url }}/v1/group/read" strip_uri: true plugins: - name: jwt @@ -4968,17 +5211,53 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousContentAccess' + - 'groupAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: uploadAsset - uris: "{{ asset_prefix }}/v1/upload" - upstream_url: "{{ content_service_url }}/asset/v4/upload" + - name: deleteGroup + uris: "{{ group_service_prefix }}/v1/delete" + upstream_url: "{{ group_service_url }}/v1/group/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'groupAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: updateGroupMembership + uris: "{{ group_service_prefix }}/membership/v1/update" + upstream_url: "{{ group_service_url }}/v1/group/membership/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'groupUpdate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: groupActivityAgg + uris: "{{ data_service_prefix }}/v1/group/activity/agg" + upstream_url: "{{ lms_service_url }}/v1/group/activity/agg" strip_uri: true plugins: - name: jwt @@ -4986,17 +5265,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'groupAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: listForm + uris: "{{ data_service_prefix }}/v1/form/list" + upstream_url: "{{ player_service_url }}/plugin/v1/form/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'appAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: uploadUrlAsset - uris: "{{ asset_prefix }}/v1/upload/url" - upstream_url: "{{ content_service_url }}/asset/v4/upload/url" + - name: getUserProfileV3 + uris: "{{ user_service_prefix }}/v3/read" + upstream_url: "{{ learning_service_url }}/v3/user/read" strip_uri: true plugins: - name: jwt @@ -5004,7 +5301,25 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'userAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: updateUserDeclarations + uris: "{{ user_service_prefix }}/v1/declarations" + upstream_url: "{{ learning_service_url }}/v1/user/declarations" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5030,10 +5345,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: collectionCreate - uris: "{{ collection_prefix }}/v1/create" - upstream_url: "{{ content_service_url }}/collection/v4/create" + - name: updateUserConsent + uris: "{{ user_service_prefix }}/v1/consent/update" + upstream_url: "{{ learning_service_url }}/v1/user/consent/update" strip_uri: true plugins: - name: jwt @@ -5041,7 +5355,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'userUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5049,9 +5363,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: collectionRead - uris: "{{ collection_prefix }}/v1/read" - upstream_url: "{{ content_service_url }}/collection/v4/read" + - name: readUserConsent + uris: "{{ user_service_prefix }}/v1/consent/read" + upstream_url: "{{ learning_service_url }}/v1/user/consent/read" strip_uri: true plugins: - name: jwt @@ -5059,7 +5373,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousContentAccess' + - 'userAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5067,9 +5381,81 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: collectionPrivateRead - uris: "{{ collection_prefix }}/v1/private/read" - upstream_url: "{{ content_service_url }}/collection/v4/private/read" + - name: "channelSpecificTelemetryExhaust" + uris: "{{ data_service_prefix }}/v3/dataset/get" + upstream_url: "{{ analytics_api_service_url }}/dataset/get" + 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: "{{ small_request_size_limit }}" + + - name: "submitDataExhaustRequest" + uris: "{{ dataset_service_prefix }}/v1/request/submit" + upstream_url: "{{ analytics_api_service_url }}/request/submit" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: "getDataExhaustRequest" + uris: "{{ dataset_service_prefix }}/v1/request/read" + upstream_url: "{{ analytics_api_service_url }}/request/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: "{{ small_request_size_limit }}" + + - name: "listDataExhaustRequest" + uris: "{{ dataset_service_prefix }}/v1/request/list" + upstream_url: "{{ analytics_api_service_url }}/request/list" + 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: "{{ small_request_size_limit }}" + + - name: createTenantPreferences + uris: "{{ org_service_prefix }}/v2/preferences/create" + upstream_url: "{{ learning_service_url }}/v2/org/preferences/create" strip_uri: true plugins: - name: jwt @@ -5077,17 +5463,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAccess' + - 'orgUpdate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: collectionUpdate - uris: "{{ collection_prefix }}/v1/update" - upstream_url: "{{ content_service_url }}/collection/v4/update" + - name: updateTenantPreferences + uris: "{{ org_service_prefix }}/v2/preferences/update" + upstream_url: "{{ learning_service_url }}/v2/org/preferences/update" strip_uri: true plugins: - name: jwt @@ -5095,17 +5481,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'orgUpdate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: collectionFlag - uris: "{{ collection_prefix }}/v1/flag" - upstream_url: "{{ content_service_url }}/collection/v4/flag" + - name: readTenantPreferencess + uris: "{{ org_service_prefix }}/v2/preferences/read" + upstream_url: "{{ learning_service_url }}/v2/org/preferences/read" strip_uri: true plugins: - name: jwt @@ -5113,17 +5499,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'orgAccess' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: collectionDiscard - uris: "{{ collection_prefix }}/v1/discard" - upstream_url: "{{ content_service_url }}/collection/v4/discard" + - name: generateCertificateV2 + uris: "{{ cert_service_prefix }}/v2/certs/generate" + upstream_url: "{{ cert_service_url }}/v2/certs/generate" strip_uri: true plugins: - name: jwt @@ -5131,17 +5517,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'certificateCreate' - 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 }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: collectionRetire - uris: "{{ collection_prefix }}/v1/retire" - upstream_url: "{{ content_service_url }}/collection/v4/retire" + - name: addRegCertificateV2 + uris: "{{ cert_registry_service_prefix }}/v2/certs/add" + upstream_url: "{{ cert_registry_service_url }}/certs/v2/registry/add" strip_uri: true plugins: - name: jwt @@ -5149,17 +5535,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'certificateCreate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: collectionHierarchyAdd - uris: "{{ collection_prefix }}/v1/hierarchy/add" - upstream_url: "{{ content_service_url }}/collection/v4/hierarchy/add" + - name: downloadRegCertificateV2 + uris: "{{ cert_registry_service_prefix }}/v2/certs/download" + upstream_url: "{{ cert_registry_service_url }}/certs/v2/registry/download" strip_uri: true plugins: - name: jwt @@ -5167,17 +5553,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'certificateAccess' - 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: collectionHierarchyRemove - uris: "{{ collection_prefix }}/v1/hierarchy/remove" - upstream_url: "{{ content_service_url }}/collection/v4/hierarchy/remove" + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: contentImportAPI + uris: "{{ content_prefix }}/v1/import" + upstream_url: "{{ content_service_url }}/content/v3/import" strip_uri: true plugins: - name: jwt @@ -5185,7 +5571,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'contentCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5193,9 +5579,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: collectionHierarchyUpdate - uris: "{{ collection_prefix }}/v1/hierarchy/update" - upstream_url: "{{ content_service_url }}/collection/v4/hierarchy/update" + - name: druidGetUpdateListReport + uris: "{{ data_service_prefix }}/v1{{ analytics_report_service_prefix }}" + upstream_url: "{{ analytics_api_service_url }}{{ analytics_report_service_prefix }}" strip_uri: true plugins: - name: jwt @@ -5203,17 +5589,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'druidReportAdmin' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: collectionHierarchyRead - uris: "{{ collection_prefix }}/v1/hierarchy" - upstream_url: "{{ content_service_url }}/collection/v4/hierarchy" + - name: druidDeactivateReport + uris: "{{ data_service_prefix }}/v1{{ analytics_report_service_prefix }}/deactivate" + upstream_url: "{{ analytics_api_service_url }}{{ analytics_report_service_prefix }}/deactivate" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'druidReportAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: druidCreateReport + uris: "{{ data_service_prefix }}/v1{{ analytics_report_service_prefix }}/submit" + upstream_url: "{{ analytics_api_service_url }}{{ analytics_report_service_prefix }}/submit" strip_uri: true plugins: - name: jwt @@ -5221,7 +5625,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousContentAccess' + - 'druidReportCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5229,10 +5633,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: collectionCopy - uris: "{{ collection_prefix }}/v1/copy" - upstream_url: "{{ content_service_url }}/collection/v4/copy" + - name: addRegCertificate + uris: "{{ cert_registry_service_prefix }}/v1/certs/add" + upstream_url: "{{ cert_registry_service_url }}/certs/v1/registry/add" strip_uri: true plugins: - name: jwt @@ -5240,17 +5643,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'certificateCreate' - 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 }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: collectionImport - uris: "{{ collection_prefix }}/v1/import" - upstream_url: "{{ content_service_url }}/collection/v4/import" + - name: collectionCopy + uris: "{{ collection_prefix }}/v1/copy" + upstream_url: "{{ content_service_url }}/collection/v4/copy" strip_uri: true plugins: - name: jwt @@ -5266,9 +5669,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: collectionExport - uris: "{{ collection_prefix }}/v1/export" - upstream_url: "{{ content_service_url }}/collection/v4/export" + - name: generateCertificate + uris: "{{ cert_service_prefix }}/v1/certs/generate" + upstream_url: "{{ cert_service_url }}/v1/certs/generate" strip_uri: true plugins: - name: jwt @@ -5276,17 +5679,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAccess' + - 'certificateCreate' - 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: getDiscussionTagsList - uris: "{{ discussions_prefix }}/tags" - upstream_url: "{{ discussions_mw_service_url }}/tags" + + - name: createObjectCategory + uris: "{{ object_category_prefix }}/v1/create" + upstream_url: "{{ taxonomy_service_url }}/object/category/v4/create" strip_uri: true plugins: - name: jwt @@ -5294,17 +5697,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'frameworkCreate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getDiscussionCategories - uris: "{{ discussions_prefix }}/categories" - upstream_url: "{{ discussions_mw_service_url }}/categories" + - name: readObjectCategory + uris: "{{ object_category_prefix }}/v1/read" + upstream_url: "{{ taxonomy_service_url }}/object/category/v4/read" strip_uri: true plugins: - name: jwt @@ -5312,17 +5715,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'frameworkAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ x_medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getDiscussionNotificationsList - uris: "{{ discussions_prefix }}/notifications" - upstream_url: "{{ discussions_mw_service_url }}/notifications" + - name: updateObjectCategory + uris: "{{ object_category_prefix }}/v1/update" + upstream_url: "{{ taxonomy_service_url }}/object/category/v4/update" strip_uri: true plugins: - name: jwt @@ -5330,17 +5733,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'frameworkUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getUserDetailsOfDiscussion - uris: "{{ discussions_prefix }}/user" - upstream_url: "{{ discussions_mw_service_url }}/user" + - name: createObjectCategoryDefinition + uris: "{{ object_category_definition_prefix }}/v1/create" + upstream_url: "{{ taxonomy_service_url }}/object/category/definition/v4/create" strip_uri: true plugins: - name: jwt @@ -5348,17 +5751,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'frameworkCreate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getCategoryDetailsOfDiscussion - uris: "{{ discussions_prefix }}/category" - upstream_url: "{{ discussions_mw_service_url }}/category" + - name: readObjectCategoryDefinition + uris: "{{ object_category_definition_prefix }}/v1/read" + upstream_url: "{{ taxonomy_service_url }}/object/category/definition/v4/read" strip_uri: true plugins: - name: jwt @@ -5366,17 +5769,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'frameworkAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ x_medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getUnreadTopicsOfDiscussion - uris: "{{ discussions_prefix }}/unread" - upstream_url: "{{ discussions_mw_service_url }}/unread" + - name: updateObjectCategoryDefinition + uris: "{{ object_category_definition_prefix }}/v1/update" + upstream_url: "{{ taxonomy_service_url }}/object/category/definition/v4/update" strip_uri: true plugins: - name: jwt @@ -5384,17 +5787,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'frameworkUpdate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getRecentTopicsOfDiscussion - uris: "{{ discussions_prefix }}/recent" - upstream_url: "{{ discussions_mw_service_url }}/recent" + - name: createAsset + uris: "{{ asset_prefix }}/v1/create" + upstream_url: "{{ content_service_url }}/asset/v4/create" strip_uri: true plugins: - name: jwt @@ -5402,7 +5805,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5410,9 +5813,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getPopularTopicsOfDiscussion - uris: "{{ discussions_prefix }}/popular" - upstream_url: "{{ discussions_mw_service_url }}/popular" + - name: updateAsset + uris: "{{ asset_prefix }}/v1/update" + upstream_url: "{{ content_service_url }}/asset/v4/update" strip_uri: true plugins: - name: jwt @@ -5420,7 +5823,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5428,9 +5831,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getTopTopicsOfDiscussion - uris: "{{ discussions_prefix }}/top" - upstream_url: "{{ discussions_mw_service_url }}/top" + - name: readAsset + uris: "{{ asset_prefix }}/v1/read" + upstream_url: "{{ content_service_url }}/asset/v4/read" strip_uri: true plugins: - name: jwt @@ -5438,7 +5841,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5446,9 +5849,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getTopicsOfDiscussionById - uris: "{{ discussions_prefix }}/topic" - upstream_url: "{{ discussions_mw_service_url }}/topic" + - name: uploadAsset + uris: "{{ asset_prefix }}/v1/upload" + upstream_url: "{{ content_service_url }}/asset/v4/upload" strip_uri: true plugins: - name: jwt @@ -5456,7 +5859,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5464,9 +5867,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getTotalUnreadTopicsOfDiscussion - uris: "{{ discussions_prefix }}/unread/total" - upstream_url: "{{ discussions_mw_service_url }}/unread/total" + - name: uploadUrlAsset + uris: "{{ asset_prefix }}/v1/upload/url" + upstream_url: "{{ content_service_url }}/asset/v4/upload/url" strip_uri: true plugins: - name: jwt @@ -5474,7 +5877,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5482,9 +5885,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getTopicsOfDiscussionByTeaserId - uris: "{{ discussions_prefix }}/topic/teaser" - upstream_url: "{{ discussions_mw_service_url }}/topic/teaser" + - name: retireAsset + uris: "{{ asset_prefix }}/v1/retire" + upstream_url: "{{ content_service_url }}/asset/v4/retire" strip_uri: true plugins: - name: jwt @@ -5492,7 +5895,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5500,9 +5903,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getTopicsPaginationByIdOfDiscussion - uris: "{{ discussions_prefix }}/topic/pagination" - upstream_url: "{{ discussions_mw_service_url }}/topic/pagination" + - name: collectionCreate + uris: "{{ collection_prefix }}/v1/create" + upstream_url: "{{ content_service_url }}/collection/v4/create" strip_uri: true plugins: - name: jwt @@ -5510,7 +5913,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5518,9 +5921,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getGroupsListOfDiscussion - uris: "{{ discussions_prefix }}/groups" - upstream_url: "{{ discussions_mw_service_url }}/groups" + - name: collectionRead + uris: "{{ collection_prefix }}/v1/read" + upstream_url: "{{ content_service_url }}/collection/v4/read" strip_uri: true plugins: - name: jwt @@ -5528,7 +5931,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5536,9 +5939,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getRecentPostsByDateOfDiscussions - uris: "{{ discussions_prefix }}/recent/posts" - upstream_url: "{{ discussions_mw_service_url }}/recent/posts" + - name: collectionUpdate + uris: "{{ collection_prefix }}/v1/update" + upstream_url: "{{ content_service_url }}/collection/v4/update" strip_uri: true plugins: - name: jwt @@ -5546,7 +5949,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5554,9 +5957,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createTopicOfDiscussions - uris: "{{ discussions_prefix }}/v2/topics" - upstream_url: "{{ discussions_mw_service_url }}/v2/topics" + - name: collectionFlag + uris: "{{ collection_prefix }}/v1/flag" + upstream_url: "{{ content_service_url }}/collection/v4/flag" strip_uri: true plugins: - name: jwt @@ -5564,7 +5967,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionCreate' + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5572,9 +5975,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createCategoryOfDiscussion - uris: "{{ discussions_prefix }}/v2/categories" - upstream_url: "{{ discussions_mw_service_url }}/v2/categories" + - name: collectionDiscard + uris: "{{ collection_prefix }}/v1/discard" + upstream_url: "{{ content_service_url }}/collection/v4/discard" strip_uri: true plugins: - name: jwt @@ -5582,7 +5985,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionCreate' + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5590,9 +5993,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createGroupsOfDiscussion - uris: "{{ discussions_prefix }}/v2/groups" - upstream_url: "{{ discussions_mw_service_url }}/v2/groups" + - name: collectionRetire + uris: "{{ collection_prefix }}/v1/retire" + upstream_url: "{{ content_service_url }}/collection/v4/retire" strip_uri: true plugins: - name: jwt @@ -5600,7 +6003,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionCreate' + - 'contentAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5608,9 +6011,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createNewPostOfDiscussion - uris: "{{ discussions_prefix }}/v2/posts" - upstream_url: "{{ discussions_mw_service_url }}/v2/posts" + - name: collectionHierarchyAdd + uris: "{{ collection_prefix }}/v1/hierarchy/add" + upstream_url: "{{ content_service_url }}/collection/v4/hierarchy/add" strip_uri: true plugins: - name: jwt @@ -5618,7 +6021,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionCreate' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5626,9 +6029,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createNewUserOfDiscussion - uris: "{{ discussions_prefix }}/v2/users" - upstream_url: "{{ discussions_mw_service_url }}/v2/users" + - name: collectionHierarchyRemove + uris: "{{ collection_prefix }}/v1/hierarchy/remove" + upstream_url: "{{ content_service_url }}/collection/v4/hierarchy/remove" strip_uri: true plugins: - name: jwt @@ -5636,7 +6039,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionCreate' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5644,9 +6047,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getUserDetailsByUsername - uris: "{{ discussions_prefix }}/user/username" - upstream_url: "{{ discussions_mw_service_url }}/user/username" + - name: collectionHierarchyUpdate + uris: "{{ collection_prefix }}/v1/hierarchy/update" + upstream_url: "{{ content_service_url }}/collection/v4/hierarchy/update" strip_uri: true plugins: - name: jwt @@ -5654,7 +6057,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5662,9 +6065,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getForumIdOfDiscussion - uris: "{{ discussions_prefix }}/forumId" - upstream_url: "{{ discussions_mw_service_url }}/forumId" + - name: collectionHierarchyRead + uris: "{{ collection_prefix }}/v1/hierarchy" + upstream_url: "{{ content_service_url }}/collection/v4/hierarchy" strip_uri: true plugins: - name: jwt @@ -5672,7 +6075,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionAccess' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5680,9 +6083,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: addForumOfDiscussion - uris: "{{ discussions_prefix }}/forum" - upstream_url: "{{ discussions_mw_service_url }}/forum" + + - name: collectionDialcodeLink + uris: "{{ collection_prefix }}/v1/dialcode/link" + upstream_url: "{{ content_service_url }}/collection/v4/dialcode/link" strip_uri: true plugins: - name: jwt @@ -5690,7 +6094,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionCreate' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5698,9 +6102,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: copyPrivilegesFromParentCategory - uris: "{{ discussions_prefix }}/privileges/v2/copy" - upstream_url: "{{ discussions_mw_service_url }}/privileges/v2/copy" + - name: collectionCopy + uris: "{{ collection_prefix }}/v1/copy" + upstream_url: "{{ content_service_url }}/collection/v4/copy" strip_uri: true plugins: - name: jwt @@ -5708,7 +6112,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'discussionCreate' + - 'contentCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5738,20 +6142,6 @@ kong_apis: uris: "{{ question_prefix }}/v1/read" upstream_url: "{{ assessment_service_url }}/question/v4/read" strip_uri: true - plugins: - - name: cors - - "{{ statsd_pulgin }}" - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip - - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: questionPrivateRead - uris: "{{ question_prefix }}/v1/private/read" - upstream_url: "{{ assessment_service_url }}/question/v4/private/read" - strip_uri: true plugins: - name: jwt - name: cors @@ -5842,25 +6232,13 @@ kong_apis: uris: "{{ question_prefix }}/v1/list" upstream_url: "{{ assessment_service_url }}/question/v4/list" strip_uri: true - plugins: - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip - - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: questionReject - uris: "{{ question_prefix }}/v1/reject" - upstream_url: "{{ assessment_service_url }}/question/v4/reject" - strip_uri: true plugins: - name: jwt - name: cors - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -5890,20 +6268,6 @@ kong_apis: uris: "{{ questionset_prefix }}/v1/read" upstream_url: "{{ assessment_service_url }}/questionset/v4/read" strip_uri: true - plugins: - - name: cors - - "{{ statsd_pulgin }}" - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: ip - - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" - - - name: questionSetPrivateRead - uris: "{{ questionset_prefix }}/v1/private/read" - upstream_url: "{{ assessment_service_url }}/questionset/v4/private/read" - strip_uri: true plugins: - name: jwt - name: cors @@ -6018,7 +6382,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousContentAccess' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -6036,7 +6400,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -6044,26 +6408,27 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateUserV2 - uris: "{{ user_service_prefix }}/v2/update" - upstream_url: "{{ learning_service_url }}/v2/user/update" + - name: createEvent + uris: "{{ event_prefix }}/v4/create" + upstream_url: "{{ content_service_url }}/event/v4/create" strip_uri: true plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'userUpdate' - - 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: questionImportAPI - uris: "{{ question_prefix }}/v1/import" - upstream_url: "{{ assessment_service_url }}/question/v4/import" + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentCreate' + - 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: readEvent + uris: "{{ event_prefix }}/v4/read" + upstream_url: "{{ content_service_url }}/event/v4/read" strip_uri: true plugins: - name: jwt @@ -6071,7 +6436,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -6541,11 +6906,11 @@ kong_apis: config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getProjectStatus - uris: "{{ userProjects_service_prefix }}/mlprojects/v1/tasksStatus" - upstream_url: "{{ ml_project_service_url }}/v1/userProjects/tasksStatus" + - name: updateEvent + uris: "{{ event_prefix }}/v4/update" + upstream_url: "{{ content_service_url }}/event/v4/update" strip_uri: true plugins: - name: jwt @@ -6553,17 +6918,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'projectAccess' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: shareProject - uris: "{{ userProjects_service_prefix }}/mlprojects/v1/share" - upstream_url: "{{ ml_project_service_url }}/v1/userProjects/share" + config.allowed_payload_size: "{{ medium_request_size_limit }}" + + - name: publishEvent + uris: "{{ event_prefix }}/v4/publish" + upstream_url: "{{ content_service_url }}/event/v4/publish" strip_uri: true plugins: - name: jwt @@ -6571,17 +6936,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'projectAccess' + - 'courseAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getProjectTemplatesDetails - uris: "{{ project_service_prefix }}/mlprojects/v1/templates/details" - upstream_url: "{{ ml_project_service_url }}/v1/project/templates/details" + - name: sendEmailNotificationSer + uris: "{{ notification_service_prefix }}/v1/notification/send/sync" + upstream_url: "{{ notification_service_url }}/v1/notification/send/sync" strip_uri: true plugins: - name: jwt @@ -6589,17 +6954,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'solutionAccess' + - 'appUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: listObservationEntities - uris: "{{ observations_service_prefix }}/mlsurvey/v1/entities" - upstream_url: "{{ ml_survey_service_url }}/v1/observations/entities" + - name: getmandatoryContentStatus + uris: "/v1/check/mandatoryContentStatus" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/check/mandatoryContentStatus" strip_uri: true plugins: - name: jwt @@ -6607,17 +6972,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationAccess' + - '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: "{{ small_request_size_limit }}" - - - name: observationSubmissionsList - uris: "{{ observationSubmissions_service_prefix }}/mlsurvey/v1/list" - upstream_url: "{{ ml_survey_service_url }}/v1/observationSubmissions/list" + config.allowed_payload_size: "{{ medium_request_size_limit }}" + + - name: assessmentSubmit + uris: "/v2/user/assessment/submit" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/user/assessment/submit" strip_uri: true plugins: - name: jwt @@ -6625,17 +6990,18 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationAccess' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: observationQuestionList - uris: "{{ observations_service_prefix }}/mlsurvey/v1/assessment" - upstream_url: "{{ ml_survey_service_url }}/v1/observations/assessment" + + - name: getTopPerformersForCourse + uris: "/v2/resources/user/cohorts/top-performers" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/resources/user/cohorts/top-performers" strip_uri: true plugins: - name: jwt @@ -6643,17 +7009,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationAccess' + - '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: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateObservationSubmission - uris: "{{ observationSubmissions_service_prefix }}/mlsurvey/v1/update" - upstream_url: "{{ ml_survey_service_url }}/v1/observationSubmissions/update" + - name: courseAutoenrollment + uris: "/v1/autoenrollment" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/autoenrollment" strip_uri: true plugins: - name: jwt @@ -6661,17 +7027,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationUpdate' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createObservationSubmission - uris: "{{ observationSubmissions_service_prefix }}/mlsurvey/v1/create" - upstream_url: "{{ ml_survey_service_url }}/v1/observationSubmissions/create" + - name: getCatalog + uris: "/v1/catalog/" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/catalog/" strip_uri: true plugins: - name: jwt @@ -6679,17 +7045,18 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationCreate' + - '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: "{{ small_request_size_limit }}" - - - name: searchLocationEntities - uris: "{{ observations_service_prefix }}/mlsurvey/v1/searchEntities" - upstream_url: "{{ ml_survey_service_url }}/v1/observations/searchEntities" + config.allowed_payload_size: "{{ medium_request_size_limit }}" + + + - name: addWorkAllocation + uris: "/v2/workallocation/add" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/add" strip_uri: true plugins: - name: jwt @@ -6697,17 +7064,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'registryAccess' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: addObservationEntity - uris: "{{ observations_service_prefix }}/mlsurvey/v1/updateEntities" - upstream_url: "{{ ml_survey_service_url }}/v1/observations/updateEntities" + - name: updateWorkAllocation + uris: "/v2/workallocation/update" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/update" strip_uri: true plugins: - name: jwt @@ -6715,17 +7082,18 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationCreate' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" + - - name: observationSolutionList - uris: "{{ observationSubmissions_service_prefix }}/mlsurvey/v1/solutionList" - upstream_url: "{{ ml_survey_service_url }}/v1/observationSubmissions/solutionList" + - name: addWorkOrder + uris: "/v2/workallocation/add/workorder" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/add/workorder" strip_uri: true plugins: - name: jwt @@ -6733,17 +7101,18 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationAccess' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" + - - name: surveyQuestionList - uris: "{{ surveys_service_prefix }}/mlsurvey/v1/details" - upstream_url: "{{ ml_survey_service_url }}/v1/surveys/details" + - name: updateWorkOrder + uris: "/v2/workallocation/update/workorder" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/update/workorder" strip_uri: true plugins: - name: jwt @@ -6751,17 +7120,18 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'surveyAccess' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: solutionsVerifyLink - uris: "{{ solutions_service_prefix }}/mlsurvey/v1/verifyLink" - upstream_url: "{{ ml_survey_service_url }}/v1/solutions/verifyLink" + + - name: getWorkOrders + uris: "/v2/workallocation/getWorkOrders" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/getWorkOrders" strip_uri: true plugins: - name: jwt @@ -6769,7 +7139,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'solutionAccess' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -6777,9 +7147,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateSurveySubmission - uris: "{{ surveySubmissions_service_prefix }}/mlsurvey/v1/update" - upstream_url: "{{ ml_survey_service_url }}/v1/surveySubmissions/update" + - name: getWorkOrderById + uris: "/v2/workallocation/getWorkOrderById" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/getWorkOrderById" strip_uri: true plugins: - name: jwt @@ -6787,7 +7157,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'surveyUpdate' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -6795,9 +7165,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: observationReports - uris: "{{ reports_service_prefix }}/mlreports/v1/fetch" - upstream_url: "{{ ml_reports_service_url }}/v1/reports/fetch" + + - name: getWorkAllocationById + uris: "/v2/workallocation/getWorkAllocationById" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/getWorkAllocationById" strip_uri: true plugins: - name: jwt @@ -6805,7 +7176,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationAccess' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -6813,9 +7184,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: surveyListEvidences - uris: "{{ surveys_service_prefix }}/mlreports/v1/listAllEvidences" - upstream_url: "{{ ml_reports_service_url }}/v1/surveys/listAllEvidences" + - name: copyWorkOrder + uris: "/v2/workallocation/copy/workOrder" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/copy/workOrder" strip_uri: true plugins: - name: jwt @@ -6823,17 +7194,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'surveyAccess' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: surveyReport - uris: "{{ surveys_service_prefix }}/mlreports/v1/getAllResponsesOfQuestion" - upstream_url: "{{ ml_reports_service_url }}/v1/surveys/getAllResponsesOfQuestion" + - name: getUserBasicDetails + uris: "/v2/workallocation/user/basicInfo" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/user/basicInfo" strip_uri: true plugins: - name: jwt @@ -6841,7 +7212,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'surveyAccess' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -6849,9 +7220,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: observationSubmissionCount - uris: "{{ observations_service_prefix }}/mlreports/v1/submissionsCount" - upstream_url: "{{ ml_reports_service_url }}/v1/observations/submissionsCount" + + - name: watAutoComplete + uris: "/v1/workallocation/users/autocomplete" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/workallocation/users/autocomplete" strip_uri: true plugins: - name: jwt @@ -6859,17 +7231,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'observationAccess' + - '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: "{{ small_request_size_limit }}" - - - name: getFileUploadUrls - uris: "{{ cloud_service_prefix }}/mlcore/v1/files/preSignedUrls" - upstream_url: "{{ ml_core_service_url }}/v1/cloud-services/files/preSignedUrls" + + - name: getWOPdf + uris: "/getWOPdf" + upstream_url: "{{ sb_cb_ext_service_url }}/getWOPdf" strip_uri: true plugins: - name: jwt @@ -6877,17 +7249,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'cloudUrlsCreate' + - '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: "{{ small_request_size_limit }}" - - - name: listPlatformPrograms - uris: "{{ user_extension_prefix }}/mlcore/v1/programsByPlatformRoles" - upstream_url: "{{ ml_core_service_url }}/v1/user-extension/programsByPlatformRoles" + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getUserCompentenciesDetails + uris: "/v2/workallocation/user/competencies" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/workallocation/user/competencies" strip_uri: true plugins: - name: jwt @@ -6895,17 +7267,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'programAccess' + - '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: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listPlatformSolutions - uris: "{{ user_extension_prefix }}/mlcore/v1/solutions" - upstream_url: "{{ ml_core_service_url }}/v1/user-extension/solutions" + - name: startPdfProfanity + uris: "{{ content_validation_service_prefix }}/v1/startPdfProfanity" + upstream_url: "{{ content_validation_service_url }}/v1/startPdfProfanity" strip_uri: true plugins: - name: jwt @@ -6913,19 +7285,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'solutionAccess' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - -# UCI Related - - name: getUserSegmentsUCI - uris: "{{ uci_admin_prefix }}/admin/v1/userSegment/get" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/userSegment/get" + + - name: getPdfProfanity + uris: "{{ content_validation_service_prefix }}/v1/getPdfProfanity" + upstream_url: "{{ content_validation_service_url }}/v1/getPdfProfanity" strip_uri: true plugins: - name: jwt @@ -6933,17 +7303,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - '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: "{{ small_request_size_limit }}" - - - name: createUserSegmentsUCI - uris: "{{ uci_admin_prefix }}/admin/v1/userSegment/create" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/userSegment/create" + + - name: getPdfProfanityForContent + uris: "{{ content_validation_service_prefix }}/v1/getPdfProfanityForContent" + upstream_url: "{{ content_validation_service_url }}/v1/read/contentPdfProfanity" strip_uri: true plugins: - name: jwt @@ -6951,17 +7321,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - '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: "{{ small_request_size_limit }}" - - - name: updateUserSegmentsUCI - uris: "{{ uci_admin_prefix }}/admin/v1/userSegment/update" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/userSegment/update" + + - name: calculateScore + uris: "{{ scoring_engine_service_prefix }}/v1/add" + upstream_url: "{{ scoring_engine_service_url }}/v1/add" strip_uri: true plugins: - name: jwt @@ -6969,17 +7339,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataCreate' + - 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: fetchScore + uris: "{{ scoring_engine_service_prefix }}/v1/fetch" + upstream_url: "{{ scoring_engine_service_url }}/v1/fetch" + 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: "{{ small_request_size_limit }}" - - - name: deleteUserSegmentsUCI - uris: "{{ uci_admin_prefix }}/admin/v1/userSegment/delete" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/userSegment/delete" + + - name: getScoringTemplate + uris: "{{ scoring_engine_service_prefix }}/v1/getTemplate" + upstream_url: "{{ scoring_engine_service_url }}/v1/getTemplate" strip_uri: true plugins: - name: jwt @@ -6987,17 +7375,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - '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: "{{ small_request_size_limit }}" + + - name: findRecommendedConnection + uris: "{{ hub_graph_service_prefix }}/profile/find/recommended" + upstream_url: "{{ hub_graph_service_url }}/connections/profile/find/recommended" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ x_large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: userSegmentsQueryBuilderUCI - uris: "{{ uci_admin_prefix }}/admin/v1/userSegment/queryBuilder" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/userSegment/queryBuilder" + - name: findSuggestedConnection + uris: "{{ hub_graph_service_prefix }}/profile/find/suggests" + upstream_url: "{{ hub_graph_service_url }}/connections/profile/find/suggests" strip_uri: true plugins: - name: jwt @@ -7005,7 +7411,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7013,9 +7419,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: searchUserSegmentsUCI - uris: "{{ uci_admin_prefix }}/admin/v1/userSegment/search" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/userSegment/search" + - name: fetchRequestedConnection + uris: "{{ hub_graph_service_prefix }}/profile/fetch/requested" + upstream_url: "{{ hub_graph_service_url }}/connections/profile/fetch/requested" strip_uri: true plugins: - name: jwt @@ -7023,7 +7429,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7031,9 +7437,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createAdapterUCI - uris: "{{ uci_admin_prefix }}/admin/v1/adapter/create" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/adapter/create" + + - name: fetchRequestedReceivedConnection + uris: "{{ hub_graph_service_prefix }}/profile/fetch/requests/received" + upstream_url: "{{ hub_graph_service_url }}/connections/profile/fetch/requests/received" strip_uri: true plugins: - name: jwt @@ -7041,7 +7448,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7049,9 +7456,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getAllAdapterUCI - uris: "{{ uci_admin_prefix }}/admin/v1/adapter/all" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/adapter/all" + - name: fetchEstablishedConnection + uris: "{{ hub_graph_service_prefix }}/profile/fetch/established" + upstream_url: "{{ hub_graph_service_url }}/connections/profile/fetch/established" strip_uri: true plugins: - name: jwt @@ -7059,7 +7466,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7067,9 +7474,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getAdapterUCI - uris: "{{ uci_admin_prefix }}/admin/v1/adapter/get" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/adapter/get" + + - name: addConnection + uris: "{{ hub_graph_service_prefix }}/add" + upstream_url: "{{ hub_graph_service_url }}/connections/add" strip_uri: true plugins: - name: jwt @@ -7077,7 +7485,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7085,9 +7493,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: deleteAdapterUCI - uris: "{{ uci_admin_prefix }}/admin/v1/adapter/delete" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/adapter/delete" + + - name: updateConnection + uris: "{{ hub_graph_service_prefix }}/update" + upstream_url: "{{ hub_graph_service_url }}/connections/update" strip_uri: true plugins: - name: jwt @@ -7095,17 +7504,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: updateAdapterUCI - uris: "{{ uci_admin_prefix }}/admin/v1/adapter/update" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/adapter/update" + + - name: userAutoComplete + uris: "{{ user_service_prefix }}/v1/autocomplete" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/autocomplete" strip_uri: true plugins: - name: jwt @@ -7113,17 +7522,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - '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: "{{ small_request_size_limit }}" - - - name: getAllTransformerUCI - uris: "{{ uci_admin_prefix }}/admin/v1/transformer/all" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/transformer/all" + + - name: userNetworkAutoComplete + uris: "/v1/user/autocomplete" + upstream_url: "{{ hub_graph_service_url }}/v1/user/autocomplete" strip_uri: true plugins: - name: jwt @@ -7131,7 +7540,25 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - '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: "{{ small_request_size_limit }}" + + - name: workflowTransition + uris: "{{ workflow_handler_service_prefix }}/transition" + upstream_url: "{{ workflow_handler_service_url }}/v1/workflow/transition" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7139,9 +7566,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createTransformerUCI - uris: "{{ uci_admin_prefix }}/admin/v1/transformer/create" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/transformer/create" + + - name: workflowApplicationsSearch + uris: "{{ workflow_handler_service_prefix }}/applications/search" + upstream_url: "{{ workflow_handler_service_url }}/v1/workflow/applications/search" strip_uri: true plugins: - name: jwt @@ -7149,7 +7577,26 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - '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: "{{ large_request_size_limit }}" + + + - name: workflowNextAction + uris: "{{ workflow_handler_service_prefix }}/nextAction" + upstream_url: "{{ workflow_handler_service_url }}/v1/workflow/nextAction" + 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 }}" @@ -7157,9 +7604,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getTransformerUCI - uris: "{{ uci_admin_prefix }}/admin/v1/transformer/get" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/transformer/get" + + - name: workflowProcess + uris: "{{ workflow_handler_service_prefix }}/workflowProcess" + upstream_url: "{{ workflow_handler_service_url }}/v1/workflow/workflowProcess" strip_uri: true plugins: - name: jwt @@ -7167,7 +7615,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7175,9 +7623,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateTransformerUCI - uris: "{{ uci_admin_prefix }}/admin/v1/transformer/update" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/transformer/update" + - name: workflowUpdateUserProfileWf + uris: "{{ workflow_handler_service_prefix }}/updateUserProfileWF" + upstream_url: "{{ workflow_handler_service_url }}/v1/workflow/updateUserProfileWF" strip_uri: true plugins: - name: jwt @@ -7185,7 +7633,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7193,9 +7641,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getFormsTransformerUCI - uris: "{{ uci_admin_prefix }}/admin/v1/transformer/getForms" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/transformer/getForms" + + - name: workflowGetUserWF + uris: "{{ workflow_handler_service_prefix }}/getUserWF" + upstream_url: "{{ workflow_handler_service_url }}/v1/workflow/getUserWF" strip_uri: true plugins: - name: jwt @@ -7203,7 +7652,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7211,9 +7660,10 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: uploadFormsTransformerUCI - uris: "{{ uci_admin_prefix }}/admin/v1/forms/upload" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/forms/upload" + + - name: workflowGetUserWFApplicationFields + uris: "{{ workflow_handler_service_prefix }}/getUserWFApplicationFields" + upstream_url: "{{ workflow_handler_service_url }}/v1/workflow/getUserWFApplicationFields" strip_uri: true plugins: - name: jwt @@ -7221,17 +7671,2099 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - '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: "{{ large_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: ContentUpdateReviewStatus + uris: "/action/content/v3/updateReviewStatus" + upstream_url: "{{ content_service_url }}/content/v3/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentUpdate' + - 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: privateSendEmailNotification + uris: "{{ learner_private_route_prefix }}/user/v1/notification/email" + upstream_url: "{{ learning_service_url }}/private/user/v1/notification/email" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'appUpdate' + - 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: ContenthierarchyUpdate + uris: "/action/content/v3/hierarchyUpdate" + upstream_url: "{{ content_service_url }}/content/v3/hierarchy/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentUpdate' + - 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: privateUserMigrate + uris: "{{ user_service_prefix }}/private/v1/migrate" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/migrate" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userUpdate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: discussionHubAPIs + uris: "/discussion" + upstream_url: "{{ discussions_mw_url }}/discussion" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ medium_request_size_limit }}" + - name: request-transformer + config: + rename: + headers: + - nodebb_authorization_token:Authorization - - name: createConversationLogicUCI - uris: "{{ uci_admin_prefix }}/admin/v1/conversationLogic/create" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/conversationLogic/create" + - name: nodebbauthAPIs + uris: "/nodebb/auth/api" + upstream_url: "{{ nodebb_url }}/api" + 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: nodebbAPIs + uris: "/nodebb/api" + upstream_url: "{{ nodebb_url }}/api" + 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: "analyticsGetDashboardsForProfile" + uris: "{{ dashboard_service_prefix }}/analytics/getDashboardsForProfile/Karmayogi" + upstream_url: "{{ analytics_url }}/dashboard/analytics/getDashboardsForProfile/Karmayogi" + 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: "{{ small_request_size_limit }}" + + - name: "analyticsGetChartVisualization" + uris: "{{ dashboard_service_prefix }}/analytics/getChartV2/Karmayogi" + upstream_url: "{{ analytics_url }}/dashboard/analytics/getChartV2/Karmayogi" + 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: "{{ small_request_size_limit }}" + + - name: "analyticsGetDashboardConfiguration" + uris: "{{ dashboard_service_prefix }}/analytics/getDashboardConfig/Karmayogi" + upstream_url: "{{ analytics_url }}/dashboard/analytics/getDashboardConfig/Karmayogi" + 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: "{{ small_request_size_limit }}" + + - name: getBrowseByCompetency + uris: "/searchBy/competency" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/browseByCompetency" + 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: "{{ small_request_size_limit }}" + + - name: getBrowseByProvider + uris: "/searchBy/provider" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/browseByProvider" + 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: "{{ small_request_size_limit }}" + + - name: staffOperation + uris: "/staff/position" + upstream_url: "{{ sb_cb_ext_service_url }}/staff/position" + strip_uri: true + plugins: + - n- name: staffOperation + uris: "/staff/position" + upstream_url: "{{ sb_cb_ext_service_url }}/staff/position" + 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: "{{ small_request_size_limit }}" + + - name: budgetOperation + uris: "/budget/scheme" + upstream_url: "{{ sb_cb_ext_service_url }}/budget/scheme" + 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: "{{ small_request_size_limit }}" + + - name: orgHistoryOperation + uris: "/orghistory" + upstream_url: "{{ sb_cb_ext_service_url }}/orghistory" + 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: "{{ small_request_size_limit }}" + + - name: storageUploadDoc + uris: "/storage/upload" + upstream_url: "{{ sb_cb_ext_service_url }}/storage/upload" + 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: "{{ x_large_request_size_limit }}" + + - name: storageDeleteDoc + uris: "/storage/delete" + upstream_url: "{{ sb_cb_ext_service_url }}/storage/delete" + 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: "{{ small_request_size_limit }}" + + - name: getUserProgress + uris: "/v1/batch/getUserProgress" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/progress/getUserProgress" + 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: courseAdminEnrolment + uris: "{{ course_service_prefix }}/v1/admin/enrol" + upstream_url: "{{ lms_service_url }}/v1/course/admin/enroll" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'courseAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: courseAdminUnEnrolment + uris: "{{ course_service_prefix }}/v1/admin/unenrol" + upstream_url: "{{ lms_service_url }}/v1/course/admin/unenroll" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'courseAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: userExtendedPatch + uris: "{{ user_service_prefix }}/v1/extPatch" + upstream_url: "{{ sb_cb_ext_service_url }}/user/patch" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'courseAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: listAdminUserCourseEnrollments + uris: "{{ course_service_prefix }}/v2/user/enrollment/admin/list" + upstream_url: "{{ lms_service_url }}/v2/user/courses/admin/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'courseAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: ratingAndReviews + uris: "/ratings" + upstream_url: "{{ sb_cb_ext_service_url }}/ratings" + 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: "{{ small_request_size_limit }}" + + - name: profanityModerationPersistModeratedText + uris: "{{ profanity_moderator_admin_prefix }}/feedback/persist/text/moderated" + upstream_url: "{{ profanity_moderator_admin_service }}/feedback/persist/text/moderated" + 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: "{{ small_request_size_limit }}" + + - name: profanityModerationFetchText + uris: "{{ profanity_moderator_admin_prefix }}/feedback/text/fetch" + upstream_url: "{{ profanity_moderator_admin_service }}/feedback/text/fetch" + 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: "{{ small_request_size_limit }}" + + - name: profanityModerationTypeText + uris: "{{ profanity_moderator_admin_prefix }}/profanity/type/text" + upstream_url: "{{ profanity_moderator_admin_service }}/profanity/type/text" + 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: "{{ small_request_size_limit }}" + + - name: profanityModerationFeedbackFlags + uris: "{{ profanity_moderator_admin_prefix }}/feedback/flag/values" + upstream_url: "{{ profanity_moderator_admin_service }}/feedback/flag/values" + 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: "{{ small_request_size_limit }}" + + - name: assessmentSubmitV3 + uris: "/v3/user/assessment/submit" + upstream_url: "{{ sb_cb_ext_service_url }}/v3/user/assessment/submit" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataCreate' + - 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: playerQuSetReadHierarchy + uris: "{{ player_prefix }}/questionset/v1/hierarchy" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/quml/assessment/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAccess' + - 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: retakeAssessment + uris: "{{ user_service_prefix }}/assessment/retake" + upstream_url: "{{ sb_cb_ext_service_url }}/v4/quml/assessment/retake" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: flagCreate + uris: "{{ user_service_prefix }}/offensive/data/flag" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/offensive/data/flag" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getFlaggedData + uris: "{{ user_service_prefix }}/offensive/data/flag/getFlaggedData" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/offensive/data/flag/getFlaggedData" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: playerQuestionList + uris: "{{ player_prefix }}/question/v1/list" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/quml/question/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAccess' + - 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 }}" + +#SB-25501 Content v4 APIs on-boarding + + - name: createContentV2 + uris: "{{ content_prefix }}/v2/create" + upstream_url: "{{ content_service_url }}/content/v4/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentCreate' + - 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: updateContentV2 + uris: "{{ content_prefix }}/v2/update" + upstream_url: "{{ content_service_url }}/content/v4/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentUpdate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: readContentV2 + uris: "{{ content_prefix }}/v2/read" + upstream_url: "{{ content_service_url }}/content/v4/read" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: uploadUrlContentV2 + uris: "{{ content_prefix }}/v2/upload/url" + upstream_url: "{{ content_service_url }}/content/v4/upload/url" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentCreate' + - 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: uploadContentV2 + uris: "{{ content_prefix }}/v2/upload" + upstream_url: "{{ content_service_url }}/content/v4/upload" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: copyContentV2 + uris: "{{ content_prefix }}/v2/copy" + upstream_url: "{{ content_service_url }}/content/v4/copy" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentCreate' + - 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: importContentV2 + uris: "{{ content_prefix }}/v2/import" + upstream_url: "{{ content_service_url }}/content/v4/import" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentCreate' + - 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: flagContentV2 + uris: "{{ content_prefix }}/v2/flag" + upstream_url: "{{ content_service_url }}/content/v4/flag" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - 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: acceptFlagContentV2 + uris: "{{ content_prefix }}/v2/flag/accept" + upstream_url: "{{ content_service_url }}/content/v4/flag/accept" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: discardContentV2 + uris: "{{ content_prefix }}/v2/discard" + upstream_url: "{{ content_service_url }}/content/v4/discard" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - 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: retireContentV2 + uris: "{{ content_prefix }}/v2/retire" + upstream_url: "{{ content_service_url }}/content/v4/retire" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: reviewContentV2 + uris: "{{ content_prefix }}/v2/review" + upstream_url: "{{ content_service_url }}/content/v4/review" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: rejectContentV2 + uris: "{{ content_prefix }}/v2/reject" + upstream_url: "{{ content_service_url }}/content/v4/reject" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + +#SB-25499 Collection v4 APIs on-boarding + + - name: collectionReview + uris: "{{ collection_prefix }}/v1/review" + upstream_url: "{{ content_service_url }}/collection/v4/review" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: collectionReject + uris: "{{ collection_prefix }}/v1/reject" + upstream_url: "{{ content_service_url }}/collection/v4/reject" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + + - name: acceptCollectionFlag + uris: "{{ collection_prefix }}/v1/flag/accept" + upstream_url: "{{ content_service_url }}/collection/v4/flag/accept" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: listNotificationTemplate + uris: "{{ notification_service_prefix }}/v1/template/list" + upstream_url: "{{ notification_service_url }}/v1/notification/template/list" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'getNotificationTemplate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: createNotificationTemplate + uris: "{{ notification_service_prefix }}/v1/template/create" + upstream_url: "{{ notification_service_url }}/v1/notification/template/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'createNotificationTemplate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: deleteNotificationTemplate + uris: "{{ notification_service_prefix }}/v1/template/delete" + upstream_url: "{{ notification_service_url }}/v1/notification/template/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'deleteNotificationTemplate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: updateNotificationTemplate + uris: "{{ notification_service_prefix }}/v1/template/update" + upstream_url: "{{ notification_service_url }}/v1/notification/template/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'updateNotificationTemplate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: updateActionNotificationTemplate + uris: "{{ notification_service_prefix }}/v1/template/action/update" + upstream_url: "{{ notification_service_url }}/v1/notification/template/action/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'updateNotificationTemplate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getActionNotificationTemplate + uris: "{{ notification_service_prefix }}/v1/template" + upstream_url: "{{ notification_service_url }}/v1/notification/template" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'getNotificationTemplate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: createRCCertificate + uris: "{{ registry_service_prefix }}/certificate/v1/create" + upstream_url: "{{ registry_service_url }}/api/v1/TrainingCertificate" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'certificateCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: request-transformer + config.remove.headers: Authorization + + - name: searchRCCertificate + uris: "{{ registry_service_prefix }}/certificate/v1/search" + upstream_url: "{{ registry_service_url }}/api/v1/TrainingCertificate/search" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'certificateAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: request-transformer + config.remove.headers: Authorization + + - name: getRCCertificate + uris: "{{ registry_service_prefix }}/certificate/v1/download" + upstream_url: "{{ registry_service_url }}/api/v1/TrainingCertificate" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'anonymousCertificateAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: request-transformer + config.remove.headers: Authorization + + - name: getRCPublicKey + uris: "{{ registry_service_prefix }}/certificate/v1/key" + upstream_url: "{{ registry_service_url }}/api/v1/PublicKey" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'anonymousCertificateAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: request-transformer + config.remove.headers: Authorization + + - name: updateUsersFirstLoginTime + uris: "{{ user_service_prefix }}/v1/updateLogin" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/updateLogin" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataCreate' + - 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: getAllDeptDetails + uris: "{{ user_service_prefix }}/registration/v1/getDeptDetails" + upstream_url: "{{ sb_cb_ext_service_url }}/user/registration/v1/getDeptDetails" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: registerUser + uris: "{{ user_service_prefix }}/registration/v1/register" + upstream_url: "{{ sb_cb_ext_service_url }}/user/registration/v1/register" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getUserRegistrationDetails + uris: "{{ user_service_prefix }}/registration/v1/getRegisterDetails" + upstream_url: "{{ sb_cb_ext_service_url }}/user/registration/v1/getUserRegistrationDetails" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getUserPositionList + uris: "{{ user_service_prefix }}/v1/positions" + upstream_url: "{{ sb_cb_ext_service_url }}/masterData/v1/positions" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: getOrgList + uris: "{{ org_service_prefix }}/v1/list" + upstream_url: "{{ sb_cb_ext_service_url }}/org/v1/list" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: orgExtendedCreate + uris: "{{ org_service_prefix }}/ext/v1/create" + upstream_url: "{{ sb_cb_ext_service_url }}/org/ext/v1/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: orgExtendedProfileRead + uris: "{{ org_service_prefix }}/v1/profile/read" + upstream_url: "{{ sb_cb_ext_service_url }}/org/v1/profile/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: orgExtendedProfilePatch + uris: "{{ org_service_prefix }}/v1/profile/patch" + upstream_url: "{{ sb_cb_ext_service_url }}/org/v1/profile/patch" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: orgExtendedSearch + uris: "{{ org_service_prefix }}/v1/cb/ext/search" + upstream_url: "{{ sb_cb_ext_service_url }}/org/v1/ext/search" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getUserBasicInfo + uris: "{{ user_service_prefix }}/basicInfo" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/basicInfo" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: updateUserBasicProfile + uris: "{{ user_service_prefix }}/basicProfileUpdate" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/basicProfileUpdate" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: createForm + uris: "{{ forms_service_prefix }}/createForm" + upstream_url: "{{ forms_service_url }}/forms/createForm" + 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: "{{ small_request_size_limit }}" + + - name: getCollectiveAggregation + uris: "{{ forms_service_prefix }}/getCollectiveAggregation" + upstream_url: "{{ forms_service_url }}/forms/getCollectiveAggregation" + 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: "{{ small_request_size_limit }}" + + - name: getFormById + uris: "{{ forms_service_prefix }}/getFormById" + upstream_url: "{{ forms_service_url }}/forms/getFormById" + 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: "{{ small_request_size_limit }}" + + - name: getAllForms + uris: "{{ forms_service_prefix }}/getAllForms" + upstream_url: "{{ forms_service_url }}/forms/getAllForms" + 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: "{{ small_request_size_limit }}" + + - name: saveFormSubmit + uris: "{{ forms_service_prefix }}/v1/saveFormSubmit" + upstream_url: "{{ forms_service_url }}/forms/v1/saveFormSubmit" + 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: "{{ small_request_size_limit }}" + + - name: tagFormToCourse + uris: "{{ forms_service_prefix }}/tagFormToCourse" + upstream_url: "{{ forms_service_url }}/forms/tagFormToCourse" + 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: "{{ small_request_size_limit }}" + + - name: untagFormToCourse + uris: "{{ forms_service_prefix }}/untagFormToCourse" + upstream_url: "{{ forms_service_url }}/forms/untagFormToCourse" + 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: "{{ small_request_size_limit }}" + + - name: getCourseListForSurveys + uris: "{{ forms_service_prefix }}/getCourseListForSurveys" + upstream_url: "{{ forms_service_url }}/forms/getCourseListForSurveys" + 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: "{{ small_request_size_limit }}" + + - name: getExploreCourseDetail + uris: "{{ course_service_prefix }}/v1/explore" + upstream_url: "{{ sb_cb_ext_service_url }}/course/v1/explore" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getAllApplications + uris: "{{ forms_service_prefix }}/getAllApplications" + upstream_url: "{{ forms_service_url }}/forms/getAllApplications" + 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: "{{ small_request_size_limit }}" + + - name: telemetryPublic + uris: "{{ data_service_prefix }}/v1/public/telemetry" + upstream_url: "{{ telemetry_service_url }}/v1/telemetry" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: searchUserPrivate + uris: "{{ learner_private_route_prefix }}/user/v1/search" + upstream_url: "{{ learning_service_url }}/private/user/v1/search" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: ssoUserV2CreateExt + uris: "{{ user_service_prefix }}/v1/ext/signup" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/ext/signup" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'anonymousUserCreate' + - 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: userBulkUpload + uris: "{{ user_service_prefix }}/v1/bulkupload" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/bulkupload" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'userCreate' + - 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: workflowTaxonomyCreate + uris: "{{ workflow_handler_service_prefix }}/taxonomy/create" + upstream_url: "{{ workflow_handler_service_url }}/taxonomy/workflow/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: workflowTaxonomyUpdate + uris: "{{ workflow_handler_service_prefix }}/taxonomy/update" + upstream_url: "{{ workflow_handler_service_url }}/taxonomy/workflow/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: workflowTaxonomyApplicationsSearch + uris: "{{ workflow_handler_service_prefix }}/taxonomy/search" + upstream_url: "{{ workflow_handler_service_url }}/taxonomy/workflow/search" + 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: "{{ large_request_size_limit }}" + + - name: getWorkflowTaxonomyApplication + uris: "{{ workflow_handler_service_prefix }}/taxonomy/read" + upstream_url: "{{ workflow_handler_service_url }}/taxonomy/workflow/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: "{{ large_request_size_limit }}" + + - name: searchForms + uris: "{{ forms_service_prefix }}/searchForms" + upstream_url: "{{ forms_service_url }}/forms/searchForms" + 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: "{{ small_request_size_limit }}" + + - name: userNotificationPreference + uris: "{{ user_service_prefix }}/v1/notificationPreference" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/notificationPreference" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'courseAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: MDOContentCreate + uris: "{{ mdo_content_prefix }}/v3/create" + upstream_url: "{{ knowledge_mw_service_url }}/action/content/v3/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: MDOContentHierarchyUpdate + uris: "{{ mdo_content_prefix }}/v3/hierarchy/update" + upstream_url: "{{ content_service_url }}/content/v3/hierarchy/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentUpdate' + - 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: MDOContentUpdate + uris: "{{ mdo_content_prefix }}/v3/update" + upstream_url: "{{ content_service_url }}/content/v3/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentUpdate' + - 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: MDOContentPublish + uris: "{{ mdo_content_prefix }}/v3/publish" + upstream_url: "{{ vm_learning_service_url }}/content/v3/publish" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: MDOContentAddUserToBatch + uris: "{{ mdo_content_prefix }}/v3/batch/addUser" + upstream_url: "{{ lms_service_url }}/v1/course/admin/enroll" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: MDOContentRemoveUserFromBatch + uris: "{{ mdo_content_prefix }}/v3/batch/removeUser" + upstream_url: "{{ lms_service_url }}/v1/course/admin/unenroll" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAdmin' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getMasterLanguageList + uris: "{{ master_data_service_prefix }}/v1/languages" + upstream_url: "{{ sb_cb_ext_service_url }}/masterData/v1/getLanguages" + 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: "{{ small_request_size_limit }}" + + - name: getMasterNationalityList + uris: "{{ master_data_service_prefix }}/v1/nationalities" + upstream_url: "{{ sb_cb_ext_service_url }}/masterData/v1/getNationalities" + 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: "{{ small_request_size_limit }}" + + - name: getMasterCountryList + uris: "{{ master_data_service_prefix }}/v1/countries" + upstream_url: "{{ sb_cb_ext_service_url }}/masterData/v1/getCountries" + 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: "{{ small_request_size_limit }}" + + - name: getProfilePageMetaData + uris: "{{ master_data_service_prefix }}/v1/profilePageMetaData" + upstream_url: "{{ sb_cb_ext_service_url }}/masterData/v1/getProfilePageMetaData" + 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: "{{ small_request_size_limit }}" + + - name: masterDataUpsert + uris: "{{ master_data_service_prefix }}/v1/upsert" + upstream_url: "{{ sb_cb_ext_service_url }}/masterData/v1/upsert" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ small_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: contentPrivateRead + uris: "{{ content_prefix }}/v1/private/read" + upstream_url: "{{ content_service_url }}/content/v4/private/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - contentAccess + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: signupOrgSearchV2API + uris: "{{ org_service_prefix }}/ext/v2/signup/search" + upstream_url: "{{ sb_cb_ext_service_url }}/org/v2/ext/signup/search" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: bulkUserDownloadAPI + uris: "{{ user_service_prefix }}/v1/bulkuser/download" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/bulkuser/download" + 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: "{{ small_request_size_limit }}" + + - name: workFlowPositionCreate + uris: "{{ workflow_handler_service_prefix }}/position/create" + upstream_url: "{{ workflow_handler_service_url }}/v1/position/workflow/create" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: workFlowOrgCreate + uris: "{{ workflow_handler_service_prefix }}/org/create" + upstream_url: "{{ workflow_handler_service_url }}/v1/org/workflow/create" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: workFlowEmailDomainCreate + uris: "{{ workflow_handler_service_prefix }}/domain/create" + upstream_url: "{{ workflow_handler_service_url }}/v1/domain/workflow/create" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: workFlowPositionUpdate + uris: "{{ workflow_handler_service_prefix }}/position/update" + upstream_url: "{{ workflow_handler_service_url }}/v1/position/workflow/update" + 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: "{{ small_request_size_limit }}" + + - name: workFlowOrgUpdate + uris: "{{ workflow_handler_service_prefix }}/org/update" + upstream_url: "{{ workflow_handler_service_url }}/v1/org/workflow/update" + 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: "{{ small_request_size_limit }}" + + - name: workFlowEmailDomainUpdate + uris: "{{ workflow_handler_service_prefix }}/domain/update" + upstream_url: "{{ workflow_handler_service_url }}/v1/domain/workflow/update" + 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: "{{ small_request_size_limit }}" + + - name: workflowPositionSearch + uris: "{{ workflow_handler_service_prefix }}/position/search" + upstream_url: "{{ workflow_handler_service_url }}/v1/position/workflow/search" + 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: "{{ large_request_size_limit }}" + + - name: workflowOrgSearch + uris: "{{ workflow_handler_service_prefix }}/org/search" + upstream_url: "{{ workflow_handler_service_url }}/v1/org/workflow/search" + 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: "{{ large_request_size_limit }}" + + - name: workflowEmailDomainSearch + uris: "{{ workflow_handler_service_prefix }}/domain/search" + upstream_url: "{{ workflow_handler_service_url }}/v1/domain/workflow/search" + 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: "{{ large_request_size_limit }}" + + - name: getWorkflowPositionApplication + uris: "{{ workflow_handler_service_prefix }}/position/read" + upstream_url: "{{ workflow_handler_service_url }}/v1/position/workflow/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: "{{ large_request_size_limit }}" + + - name: getWorkflowOrgApplication + uris: "{{ workflow_handler_service_prefix }}/org/read" + upstream_url: "{{ workflow_handler_service_url }}/v1/org/workflow/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: "{{ large_request_size_limit }}" + + - name: getWorkflowEmailDomainApplication + uris: "{{ workflow_handler_service_prefix }}/domain/read" + upstream_url: "{{ workflow_handler_service_url }}/v1/domain/workflow/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: "{{ large_request_size_limit }}" + + - name: workflowBlendedProgramEnrol + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/enrol" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/enrol" strip_uri: true plugins: - name: jwt @@ -7239,7 +9771,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7247,9 +9779,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getAllConversationLogicUCI - uris: "{{ uci_admin_prefix }}/admin/v1/conversationLogic/all" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/conversationLogic/all" + - name: workflowBlendedProgramSearch + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/search" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/search" strip_uri: true plugins: - name: jwt @@ -7257,7 +9789,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7265,9 +9797,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getConversationLogicUCI - uris: "{{ uci_admin_prefix }}/admin/v1/conversationLogic/get" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/conversationLogic/get" + - name: workflowBlendedProgramUserSearch + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/user/search" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/user/search" strip_uri: true plugins: - name: jwt @@ -7275,7 +9807,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7283,9 +9815,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: deleteConversationLogicUCI - uris: "{{ uci_admin_prefix }}/admin/v1/conversationLogic/delete" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/conversationLogic/delete" + - name: workflowBlendedProgramPCUpdate + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/update/pc" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/update/pc" strip_uri: true plugins: - name: jwt @@ -7293,7 +9825,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7301,9 +9833,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateConversationLogicUCI - uris: "{{ uci_admin_prefix }}/admin/v1/conversationLogic/update" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/conversationLogic/update" + - name: workflowBlendedProgramReadByMDO + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/read/mdo" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/read/mdo" strip_uri: true plugins: - name: jwt @@ -7311,7 +9843,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7319,9 +9851,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/create" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/create" + - name: workflowBlendedProgramReadByPC + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/read/pc" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/read/pc" strip_uri: true plugins: - name: jwt @@ -7329,7 +9861,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7337,17 +9869,13 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getAllBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/all" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/all" + - name: getUserGroupList + uris: "{{ user_service_prefix }}/v1/groups" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/groups" strip_uri: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'userAdmin' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7355,9 +9883,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/get" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/get" + - name: assessmentSubmitV4 + uris: "/v4/user/assessment/submit" + upstream_url: "{{ sb_cb_ext_service_url }}/v4/user/assessment/submit" strip_uri: true plugins: - name: jwt @@ -7365,53 +9893,143 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ x_large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: startBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/start" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/start" + - name: playerQuSetReadHierarchyV4 + uris: "{{ player_prefix }}/questionset/v4/hierarchy" + upstream_url: "{{ sb_cb_ext_service_url }}/v4/quml/assessment/read" strip_uri: true plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'userAdmin' - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: pauseBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/pause" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/pause" + - name: playerQuestionListV4 + uris: "{{ player_prefix }}/question/v4/list" + upstream_url: "{{ sb_cb_ext_service_url }}/v4/quml/question/list" strip_uri: true plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'userAdmin' - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ medium_request_size_limit }}" + + - name: playerGetAssessmentResultV4 + uris: "{{ user_service_prefix }}/assessment/v4/result" + upstream_url: "{{ sb_cb_ext_service_url }}/v4/quml/assessment/result" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'contentAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ medium_request_size_limit }}" + + - name: getDeptNameList + uris: "/portal/v1/listDeptNames" + upstream_url: "{{ sb_cb_ext_service_url }}/portal/listDeptNames" + 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: "{{ small_request_size_limit }}" + + - name: storageReportDownloadDoc + uris: "/storage/v1/report" + upstream_url: "{{ sb_cb_ext_service_url }}/storage/v1/report" + 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: "{{ small_request_size_limit }}" + + - name: workflowBlendedProgramAdminEnrol + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/admin/enrol" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/admin/enrol" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataCreate' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: blendedProgramUpdateAttendance + uris: "{{ blended_program_service_prefix }}/v1/update/progress" + upstream_url: "{{ sb_cb_ext_service_url }}/content/progress/v1/ext/update" + 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: "{{ small_request_size_limit }}" - - name: searchBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/search" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/search" + - name: workflowBlendedProgramReadUserStats + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/v1/stats" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/stats" strip_uri: true plugins: - name: jwt @@ -7419,17 +10037,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: deleteBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/delete" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/delete" + - name: downloadBatchSessionQRCode + uris: "/batchsesion/qrcode" + upstream_url: "{{ sb_cb_ext_service_url }}/getBatchSessionQRPdf" strip_uri: true plugins: - name: jwt @@ -7437,17 +10055,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/update" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/update" + - name: workflowBPPCRemove + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/remove/pc" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/remove/pc" strip_uri: true plugins: - name: jwt @@ -7455,7 +10073,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7463,9 +10081,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: getAllUserForBotUCI - uris: "{{ uci_admin_prefix }}/admin/v1/bot/getAllUsers" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/getAllUsers" + - name: workflowBPMDORemove + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/remove/mdo" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/remove/mdo" strip_uri: true plugins: - name: jwt @@ -7473,70 +10091,82 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" + - - name: searchBotByStartingMessage - uris: "{{ uci_admin_prefix }}/admin/v1/bot/getByParam" - upstream_url: "{{ uci_admin_service_url }}/admin/v1/bot/getByParam" + - name: blendedProgramOfflineSessionGetUsers + uris: "{{ blended_program_service_prefix }}/v1/getUserContentProgress" + upstream_url: "{{ sb_cb_ext_service_url }}/content/progress/v1/read/getUserDetails" strip_uri: true plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'userAdmin' - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: 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: "{{ small_request_size_limit }}" - - name: gqlUCI - uris: "{{ uci_admin_prefix }}/uci-api/gql" - upstream_url: "{{ uci_admin_service_url }}/v1/graphql" + - name: faqAssistantGetLanguage + uris: "{{ faq_assistant_service_prefix }}/v1/assistant/available/language" + upstream_url: "{{ faq_assistant_service }}/assistant/available/language" strip_uri: true plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'userAdmin' - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: ip + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: sendNotification - uris: "{{ notification_service_prefix }}/v2/send" - upstream_url: "{{ notification_service_url }}/v2/notification/send" + - name: faqAssistantGetConfig + uris: "{{ faq_assistant_service_prefix }}/v1/assistant/configs/language" + upstream_url: "{{ faq_assistant_service }}/assistant/configs/language" strip_uri: true plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'sendNotification' - - name: rate-limiting - config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" - - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: readNotificationFeed - uris: "{{ notification_service_prefix }}/v1/feed/read" - upstream_url: "{{ notification_service_url }}/v1/notification/feed/read" + - name: cors + - "{{ statsd_pulgin }}" + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: ip + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: curatedProgramEnrolment + uris: "{{ curated_program_prefix }}/v1/enrol" + upstream_url: "{{ lms_service_url }}/v1/program/enroll" + 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: "{{ small_request_size_limit }}" + + - name: workflowBlendedProgramEnrolStatusCount + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/enrol/status/count" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/enrol/status/count" strip_uri: true plugins: - name: jwt @@ -7544,7 +10174,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'readNotificationFeed' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7552,9 +10182,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateNotificationFeed - uris: "{{ notification_service_prefix }}/v1/feed/update" - upstream_url: "{{ notification_service_url }}/v1/notification/feed/update" + - name: workflowBlendedProgramMDOUpdate + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/update/mdo" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/update/mdo" strip_uri: true plugins: - name: jwt @@ -7562,7 +10192,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'updateNotificationFeed' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7570,9 +10200,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: deleteNotificationFeed - uris: "{{ notification_service_prefix }}/v1/feed/delete" - upstream_url: "{{ notification_service_url }}/v1/notification/feed/delete" + - name: workflowBPPCSearchV2 + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/searchV2/pc" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/searchV2/pc" strip_uri: true plugins: - name: jwt @@ -7580,17 +10210,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'deleteNotificationFeed' + - '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: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: netcoreWhatsappInbound - uris: "{{ uci_admin_prefix }}/inbound/netcore/whatsApp" - upstream_url: "{{ uci_inbound_service_url }}/netcore/whatsApp" + - name: workflowBPMDOSearchV2 + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/searchV2/mdo" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/searchV2/mdo" strip_uri: true plugins: - name: jwt @@ -7598,17 +10228,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'externalmessagingAccess' + - '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: "{{ small_request_size_limit }}" - - - name: VerifyLink - uris: "{{ solutions_service_prefix }}/mlcore/v1/verifyLink" - upstream_url: "{{ ml_core_service_url }}/v1/solutions/verifyLink" + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: getReportInfo + uris: "/storage/v1/reportInfo" + upstream_url: "{{ sb_cb_ext_service_url }}/storage/v1/reportInfo" + 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: "{{ small_request_size_limit }}" + + - name: workflowBlendedProgramUnEnrol + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/unenrol" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/unenrol" strip_uri: true plugins: - name: jwt @@ -7616,7 +10264,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'solutionAccess' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7624,9 +10272,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: GetTemplateOrQuestions - uris: "{{ solutions_service_prefix }}/mlcore/v1/details" - upstream_url: "{{ ml_core_service_url }}/v1/solutions/details" + - name: workflowBlendedProgramUpdate + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/update" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/update" strip_uri: true plugins: - name: jwt @@ -7634,17 +10282,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'solutionAccess' + - '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: "{{ small_request_size_limit }}" - - - name: CreateProjectFromTemplate - uris: "{{ userProjects_service_prefix }}/mlprojects/v1/importFromLibrary" - upstream_url: "{{ ml_project_service_url }}/v1/userProjects/importFromLibrary" + + - name: workflowBlendedProgramRemove + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/remove" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/remove" strip_uri: true plugins: - name: jwt @@ -7652,17 +10300,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'projectUpdate' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: programAdminEnrolment + uris: "{{ program_prefix }}/v1/admin/enrol" + upstream_url: "{{ lms_service_url }}/v1/program/admin/enroll" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'courseAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateUserV3 - uris: "{{ user_service_prefix }}/v3/update" - upstream_url: "{{ learning_service_url }}/v3/user/update" + - name: adminUserExtendedPatch + uris: "{{ user_service_prefix }}/v1/admin/extPatch" + upstream_url: "{{ sb_cb_ext_service_url }}/user/admin/patch" strip_uri: true plugins: - name: jwt @@ -7670,20 +10336,40 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'userUpdate' + - 'courseAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ medium_request_size_limit }}" - + config.allowed_payload_size: "{{ small_request_size_limit }}" -#SB-25501 Content v4 APIs on-boarding + - name: discussionHubAPIForRecent + uris: "/discussion/recent" + upstream_url: "{{ discussions_mw_url }}/discussion/recent" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - name: rate-limiting + config.policy: local + config.hour: "{{ large_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ medium_request_size_limit }}" + - name: request-transformer + config: + rename: + headers: + - nodebb_authorization_token:Authorization - - name: createContentV2 - uris: "{{ content_prefix }}/v2/create" - upstream_url: "{{ content_service_url }}/content/v4/create" + - name: discussionHubAPIForTags + uris: "/discussion/tags " + upstream_url: "{{ discussions_mw_url }}/discussion/tags" strip_uri: true plugins: - name: jwt @@ -7691,17 +10377,22 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'dataAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" + - name: request-transformer + config: + rename: + headers: + - nodebb_authorization_token:Authorization - - name: updateContentV2 - uris: "{{ content_prefix }}/v2/update" - upstream_url: "{{ content_service_url }}/content/v4/update" + - name: discussionHubAPIForUserDiscussions + uris: "/discussion/user" + upstream_url: "{{ discussions_mw_url }}/discussion/user" strip_uri: true plugins: - name: jwt @@ -7709,31 +10400,45 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentUpdate' + - 'dataAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" + - name: request-transformer + config: + rename: + headers: + - nodebb_authorization_token:Authorization - - name: readContentV2 - uris: "{{ content_prefix }}/v2/read" - upstream_url: "{{ content_service_url }}/content/v4/read" + - name: discussionHubAPIForPost + uris: "/discussion/v2/topics" + upstream_url: "{{ discussions_mw_url }}/discussion/v2/topics" 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.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" + - name: request-transformer + config: + rename: + headers: + - nodebb_authorization_token:Authorization - - name: uploadUrlContentV2 - uris: "{{ content_prefix }}/v2/upload/url" - upstream_url: "{{ content_service_url }}/content/v4/upload/url" + - name: discussionHubAPIForCategories + uris: "/discussion/categories" + upstream_url: "{{ discussions_mw_url }}/discussion/categories" strip_uri: true plugins: - name: jwt @@ -7741,17 +10446,22 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'dataAccess' - name: rate-limiting config.policy: local - config.hour: "{{ medium_rate_limit_per_hour }}" + config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" + - name: request-transformer + config: + rename: + headers: + - nodebb_authorization_token:Authorization - - name: uploadContentV2 - uris: "{{ content_prefix }}/v2/upload" - upstream_url: "{{ content_service_url }}/content/v4/upload" + - name: markAttendance + uris: "{{ course_service_prefix }}/v1/content/markattendance" + upstream_url: "{{ lms_service_url }}/v1/content/state/update" strip_uri: true plugins: - name: jwt @@ -7759,7 +10469,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'courseAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7767,9 +10477,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: copyContentV2 - uris: "{{ content_prefix }}/v2/copy" - upstream_url: "{{ content_service_url }}/content/v4/copy" + - name: retireEvent + uris: "{{ event_prefix }}/v4/retire" + upstream_url: "{{ content_service_url }}/private/event/v4/retire" strip_uri: true plugins: - name: jwt @@ -7777,7 +10487,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7785,9 +10495,60 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: importContentV2 - uris: "{{ content_prefix }}/v2/import" - upstream_url: "{{ content_service_url }}/content/v4/import" + - name: userInsights + uris: "/insights" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v2/insights" + 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: trending + uris: "/trending/search" + upstream_url: "{{ sb_cb_ext_service_url }}/v2/trending/search" + 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: generateOtpEXT + uris: "{{ otp_service_prefix }}/ext/v1/generate" + upstream_url: "{{ sb_cb_ext_service_url }}/user/otp/v1/generate" + strip_uri: true + plugins: + - 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: "{{ small_request_size_limit }}" + + - name: readCompetencyById + uris: "{{ competency_prefix }}/v4/read" + upstream_url: "{{ competency_url }}/v2/read" strip_uri: true plugins: - name: jwt @@ -7795,7 +10556,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentCreate' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7803,9 +10564,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: flagContentV2 - uris: "{{ content_prefix }}/v2/flag" - upstream_url: "{{ content_service_url }}/content/v4/flag" + - name: searchCompetency + uris: "{{ competency_prefix }}/v4/search" + upstream_url: "{{ competency_url }}/v2/search" strip_uri: true plugins: - name: jwt @@ -7813,7 +10574,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7821,9 +10582,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: acceptFlagContentV2 - uris: "{{ content_prefix }}/v2/flag/accept" - upstream_url: "{{ content_service_url }}/content/v4/flag/accept" + - name: upsertCompetency + uris: "{{ competency_prefix }}/v4/upsert" + upstream_url: "{{ competency_url }}/v2/upsert" strip_uri: true plugins: - name: jwt @@ -7831,17 +10592,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: discardContentV2 - uris: "{{ content_prefix }}/v2/discard" - upstream_url: "{{ content_service_url }}/content/v4/discard" + - name: addUpdateCompetencyRelation + uris: "{{ competency_prefix }}/v4/update/relation" + upstream_url: "{{ competency_url }}/v2/update/relation" strip_uri: true plugins: - name: jwt @@ -7849,7 +10610,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7857,9 +10618,45 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: retireContentV2 - uris: "{{ content_prefix }}/v2/retire" - upstream_url: "{{ content_service_url }}/content/v4/retire" + - name: profilePhotoUpload + uris: "/storage/profilePhotoUpload" + upstream_url: "{{ sb_cb_ext_service_url }}/storage/profilePhotoUpload" + 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: "{{ x_large_request_size_limit }}" + + - name: userAdminAutoComplete + uris: "{{ user_service_prefix }}/v1/admin/autocomplete" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/admin/autocomplete" + 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: "{{ small_request_size_limit }}" + + - name: cbPlanCreate + uris: "{{ cb_plan_prefix }}/v1/create" + upstream_url: "{{ sb_cb_ext_service_url }}/cbplan/v1/create" strip_uri: true plugins: - name: jwt @@ -7867,7 +10664,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7875,9 +10672,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: reviewContentV2 - uris: "{{ content_prefix }}/v2/review" - upstream_url: "{{ content_service_url }}/content/v4/review" + - name: cbPlanPublish + uris: "{{ cb_plan_prefix }}/v1/publish" + upstream_url: "{{ sb_cb_ext_service_url }}/cbplan/v1/publish" strip_uri: true plugins: - name: jwt @@ -7885,7 +10682,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7893,9 +10690,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: rejectContentV2 - uris: "{{ content_prefix }}/v2/reject" - upstream_url: "{{ content_service_url }}/content/v4/reject" + - name: cbPlanUpdate + uris: "{{ cb_plan_prefix }}/v1/update" + upstream_url: "{{ sb_cb_ext_service_url }}/cbplan/v1/update" strip_uri: true plugins: - name: jwt @@ -7903,7 +10700,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'dataCreate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7911,11 +10708,23 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" -#SB-25499 Collection v4 APIs on-boarding + - name: halloffame + uris: "/halloffame/read" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/halloffame/read" + strip_uri: true + plugins: + - 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: collectionReview - uris: "{{ collection_prefix }}/v1/review" - upstream_url: "{{ content_service_url }}/collection/v4/review" + - name: getPositionByOrg + uris: "{{ master_data_service_prefix }}/v2/deptPosition" + upstream_url: "{{ sb_cb_ext_service_url }}/masterData/v2/deptPosition" strip_uri: true plugins: - name: jwt @@ -7923,7 +10732,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7931,9 +10740,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: collectionReject - uris: "{{ collection_prefix }}/v1/reject" - upstream_url: "{{ content_service_url }}/collection/v4/reject" + - name: cbPlanRetire + uris: "{{ cb_plan_prefix }}/v1/archive" + upstream_url: "{{ sb_cb_ext_service_url }}/cbplan/v1/archive" strip_uri: true plugins: - name: jwt @@ -7941,7 +10750,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'contentUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7949,10 +10758,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - - name: acceptCollectionFlag - uris: "{{ collection_prefix }}/v1/flag/accept" - upstream_url: "{{ content_service_url }}/collection/v4/flag/accept" + - name: cbPlanReadById + uris: "{{ cb_plan_prefix }}/v1/read" + upstream_url: "{{ sb_cb_ext_service_url }}/cbplan/v1/read" strip_uri: true plugins: - name: jwt @@ -7960,7 +10768,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'contentAdmin' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7968,9 +10776,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: listNotificationTemplate - uris: "{{ notification_service_prefix }}/v1/template/list" - upstream_url: "{{ notification_service_url }}/v1/notification/template/list" + - name: cbPlanListByAdmin + uris: "{{ cb_plan_prefix }}/v1/list" + upstream_url: "{{ sb_cb_ext_service_url }}/cbplan/v1/list" strip_uri: true plugins: - name: jwt @@ -7978,7 +10786,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'getNotificationTemplate' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -7986,9 +10794,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: createNotificationTemplate - uris: "{{ notification_service_prefix }}/v1/template/create" - upstream_url: "{{ notification_service_url }}/v1/notification/template/create" + - name: cbPlanListByUser + uris: "{{ user_service_prefix }}/v1/cbplan" + upstream_url: "{{ sb_cb_ext_service_url }}/cbplan/v1/user/list" strip_uri: true plugins: - name: jwt @@ -7996,7 +10804,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'createNotificationTemplate' + - 'dataAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -8004,9 +10812,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: deleteNotificationTemplate - uris: "{{ notification_service_prefix }}/v1/template/delete" - upstream_url: "{{ notification_service_url }}/v1/notification/template/delete" + - name: karmapoints + uris: "/karmapoints/read" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/karmapoints/read" strip_uri: true plugins: - name: jwt @@ -8014,17 +10822,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'deleteNotificationTemplate' + - '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: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: updateNotificationTemplate - uris: "{{ notification_service_prefix }}/v1/template/update" - upstream_url: "{{ notification_service_url }}/v1/notification/template/update" + - name: userProfileSystemUpdate + uris: "{{ user_service_prefix }}/v1/profile/externalsystem/update" + upstream_url: "{{ sb_cb_ext_service_url }}/user/v1/profile/externalsystem/update" strip_uri: true plugins: - name: jwt @@ -8032,7 +10840,7 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'updateNotificationTemplate' + - 'userUpdate' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -8040,9 +10848,9 @@ kong_apis: - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" - - name: updateActionNotificationTemplate - uris: "{{ notification_service_prefix }}/v1/template/action/update" - upstream_url: "{{ notification_service_url }}/v1/notification/template/action/update" + - name: userCourseKarmapoints + uris: "/karmapoints/user/course/read" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/user/course/karmapoints/read" strip_uri: true plugins: - name: jwt @@ -8050,17 +10858,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'updateNotificationTemplate' + - '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: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: getActionNotificationTemplate - uris: "{{ notification_service_prefix }}/v1/template" - upstream_url: "{{ notification_service_url }}/v1/notification/template" + - name: claimKarmaPoints + uris: "/claimkarmapoints" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/claimkarmapoints" strip_uri: true plugins: - name: jwt @@ -8068,17 +10876,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'getNotificationTemplate' + - '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: "{{ small_request_size_limit }}" + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: createRCCertificate - uris: "{{ registry_service_prefix }}/certificate/v1/create" - upstream_url: "{{ registry_service_url }}/api/v1/TrainingCertificate" + - name: userfirstloginlastlogin + uris: "/v1/user/login" + upstream_url: "{{ learning_service_url }}/v1/user/login" strip_uri: true plugins: - name: jwt @@ -8086,19 +10894,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateCreate' + - '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: "{{ small_request_size_limit }}" - - name: request-transformer - config.remove.headers: Authorization + config.allowed_payload_size: "{{ medium_request_size_limit }}" - - name: searchRCCertificate - uris: "{{ registry_service_prefix }}/certificate/v1/search" - upstream_url: "{{ registry_service_url }}/api/v1/TrainingCertificate/search" + - name: cbContentRequestByAdmin + uris: "{{ cb_plan_prefix }}/v1/admin/requestcontent" + upstream_url: "{{ sb_cb_ext_service_url }}/cbplan/v1/admin/requestcontent" strip_uri: true plugins: - name: jwt @@ -8106,19 +10912,17 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'certificateAccess' + - '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: "{{ small_request_size_limit }}" - - name: request-transformer - config.remove.headers: Authorization - - name: getRCCertificate - uris: "{{ registry_service_prefix }}/certificate/v1/download" - upstream_url: "{{ registry_service_url }}/api/v1/TrainingCertificate" + - name: totalkarmapoints + uris: "/user/totalkarmapoints" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/user/totalkarmapoints" strip_uri: true plugins: - name: jwt @@ -8126,19 +10930,35 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousCertificateAccess' + - '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: getReportInfoSPV + uris: "/storage/v1/spvReportInfo" + upstream_url: "{{ sb_cb_ext_service_url }}/storage/v1/spvReportInfo" + 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: "{{ small_request_size_limit }}" - - name: request-transformer - config.remove.headers: Authorization - - name: getRCPublicKey - uris: "{{ registry_service_prefix }}/certificate/v1/key" - upstream_url: "{{ registry_service_url }}/api/v1/PublicKey" + - name: storageReportDownloadSPV + uris: "/storage/v1/spvReport" + upstream_url: "{{ sb_cb_ext_service_url }}/storage/v1/spvReport" strip_uri: true plugins: - name: jwt @@ -8146,12 +10966,10 @@ kong_apis: - "{{ statsd_pulgin }}" - name: acl config.whitelist: - - 'anonymousCertificateAccess' + - '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: "{{ small_request_size_limit }}" - - name: request-transformer - config.remove.headers: Authorization diff --git a/ansible/roles/kong-consumer/defaults/main.yml b/ansible/roles/kong-consumer/defaults/main.yml index 9acffb2f50..6fb6a853c0 100644 --- a/ansible/roles/kong-consumer/defaults/main.yml +++ b/ansible/roles/kong-consumer/defaults/main.yml @@ -55,6 +55,21 @@ mobile_device_groups: - solutionAccess - surveyAccess - surveyUpdate + - frameworkAdmin + - frameworkCreate + - userSuperAdmin + - orgUpdatecontent + - SuperAdmin + - orgSuperAdmin + - orgAdmin + - dataAccess + - dataCreate + - contentAdmin + - contentTempAccess + - pluginAccess + - channelAdmin + - noteAccess + - userTempAdmin anonymous_user_groups: - deviceCreate @@ -150,6 +165,13 @@ kong_all_consumer_groups: - readNotificationFeed - updateNotificationFeed - deleteNotificationFeed + - frameworkAdmin + - frameworkCreate + - userSuperAdmin + - orgUpdatecontent + - SuperAdmin + - orgSuperAdmin + - orgAdmin kong_consumers: - username: api-admin @@ -177,12 +199,12 @@ kong_consumers: - username: portal_anonymous groups: "{{ anonymous_user_groups }}" state: present - - username: portal_loggedin - groups: "{{ kong_all_consumer_groups }}" - state: present - - username: portal_anonymous_fallback_token - groups: "{{ anonymous_user_groups }}" - state: present - - username: portal_loggedin_fallback_token - groups: "{{ kong_all_consumer_groups }}" - state: present + # - username: portal_loggedin + # groups: "{{ kong_all_consumer_groups }}" + # state: present + # - username: portal_anonymous_fallback_token + # groups: "{{ anonymous_user_groups }}" + # state: present + # - username: portal_loggedin_fallback_token + # groups: "{{ kong_all_consumer_groups }}" + # state: present diff --git a/ansible/roles/log-es6/log-es6.iml b/ansible/roles/log-es6/log-es6.iml new file mode 100644 index 0000000000..1578adc390 --- /dev/null +++ b/ansible/roles/log-es6/log-es6.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ansible/roles/stack-sunbird/templates/content-service_application.conf b/ansible/roles/stack-sunbird/templates/content-service_application.conf index 9703fb47a7..2c6c7d6db6 100644 --- a/ansible/roles/stack-sunbird/templates/content-service_application.conf +++ b/ansible/roles/stack-sunbird/templates/content-service_application.conf @@ -14,6 +14,7 @@ # And if an environment variable exists when there is no other substitution, then # HOCON will fall back to substituting environment variable: #mykey = ${JAVA_HOME} +indexHtmlValidation.env=true ## Akka # https://www.playframework.com/documentation/latest/ScalaAkka#Configuration @@ -211,8 +212,8 @@ play.http { } play.server.http.idleTimeout = 60s -play.http.parser.maxDiskBuffer = 100MB -parsers.anyContent.maxLength = 100MB +play.http.parser.maxDiskBuffer = 400MB +parsers.anyContent.maxLength = 400MB ## Netty Provider # https://www.playframework.com/documentation/latest/SettingsNetty @@ -339,8 +340,8 @@ play.filters { } } -play.http.parser.maxMemoryBuffer = 50MB -akka.http.parsing.max-content-length = 50MB +play.http.parser.maxMemoryBuffer = 400MB +akka.http.parsing.max-content-length = 400MB schema.base_path="{{kp_schema_base_path | default('/home/sunbird/content-service-1.0-SNAPSHOT/schemas')}}" # Cassandra Configuration @@ -364,6 +365,7 @@ collection { keyspace: "{{ lp_cassandra_keyspace_prefix }}_hierarchy_store" cache.enable: true image.migration.enabled: true + children_status_validation: false } content { @@ -388,7 +390,7 @@ content { copy { invalid_statusList: ["Flagged","FlaggedDraft","FraggedReview","Retired", "Processing"] origin_data: ["name", "author", "license", "organisation"] - props_to_remove: ["downloadUrl", "artifactUrl", "variants", "createdOn", "collections", "children", "lastUpdatedOn", "SYS_INTERNAL_LAST_UPDATED_ON", "versionKey", "s3Key", "status", "pkgVersion", "toc_url", "mimeTypesCount", "contentTypesCount", "leafNodesCount", "childNodes", "prevState", "lastPublishedOn", "flagReasons", "compatibilityLevel", "size", "publishChecklist", "publishComment", "LastPublishedBy", "rejectReasons", "rejectComment", "gradeLevel", "subject", "medium", "board", "topic", "purpose", "subtopic", "contentCredits", "owner", "collaborators", "creators", "contributors", "badgeAssertions", "dialcodes", "concepts", "keywords", "reservedDialcodes", "dialcodeRequired", "leafNodes", "sYS_INTERNAL_LAST_UPDATED_ON", "prevStatus", "lastPublishedBy", "streamingUrl", "boardIds", "gradeLevelIds", "subjectIds", "mediumIds", "topicsIds", "targetFWIds", "targetBoardIds", "targetGradeLevelIds", "targetSubjectIds", "targetMediumIds", "targetTopicIds", "se_boards", "se_subjects", "se_mediums", "se_gradeLevels", "se_topics", "se_FWIds", "se_boardIds", "se_subjectIds", "se_mediumIds", "se_gradeLevelIds", "se_topicIds"] + props_to_remove: ["downloadUrl", "artifactUrl", "variants", "createdOn", "collections", "children", "lastUpdatedOn", "SYS_INTERNAL_LAST_UPDATED_ON", "versionKey", "s3Key", "status", "pkgVersion", "toc_url", "mimeTypesCount", "contentTypesCount", "leafNodesCount", "childNodes", "prevState", "lastPublishedOn", "flagReasons", "compatibilityLevel", "size", "publishChecklist", "publishComment", "LastPublishedBy", "rejectReasons", "rejectComment", "gradeLevel", "subject", "medium", "board", "topic", "purpose", "subtopic", "contentCredits", "owner", "collaborators", "creators", "contributors", "badgeAssertions", "dialcodes", "concepts", "keywords", "reservedDialcodes", "dialcodeRequired", "leafNodes", "sYS_INTERNAL_LAST_UPDATED_ON", "prevStatus", "lastPublishedBy", "streamingUrl"] } media { base.url: "{{content_media_base_url | default(proto + '://' + domain_name)}}" @@ -404,10 +406,10 @@ redis { #--Maximum Content Package File Size Limit in Bytes (50 MB) -MAX_CONTENT_PACKAGE_FILE_SIZE_LIMIT=157286400 +MAX_CONTENT_PACKAGE_FILE_SIZE_LIMIT=400000000 #--Maximum Asset File Size Limit in Bytes (50 MB) -MAX_ASSET_FILE_SIZE_LIMIT=157286400 +MAX_ASSET_FILE_SIZE_LIMIT=400000000 #--No of Retry While File Download Fails RETRY_ASSET_DOWNLOAD_COUNT=1 @@ -486,9 +488,6 @@ azure_storage_key: "{{ sunbird_public_storage_account_name }}" azure_storage_secret: "{{ sunbird_public_storage_account_key }}" azure_storage_container: "{{ sunbird_content_azure_storage_container }}" -# Google Drive APIKEY -learning_content_drive_apiKey = "{{ learning_content_drive_apiKey }}" - kafka { urls : "{{ kafka_urls }}" topic.send.enable : true @@ -498,7 +497,7 @@ kafka { # DIAL Link Config dial_service { api { - base_url : "http://dial-service.{{namespace}}.svc.cluster.local:9000" + base_url : "{{ sunbird_dial_repo_api_base_url }}" auth_key : "{{ sunbird_dial_repo_api_key }}" } } @@ -506,48 +505,47 @@ content.link_dialcode.validation=true content.link_dialcode.max_limit=10 # Content Import API Config -import { - request_size_limit : 1000 - output_topic_name : "{{ env_name }}.auto.creation.job.request" - required_props : {{ content_import_required_props }} - remove_props : {{ content_import_remove_props }} -} +content.import.request_size_limit=1000 +content.import.required_props={{ content_import_required_props }} +content.import.topic_name="{{ env_name }}.auto.creation.job.request" +content.import.remove_props={{ content_import_remove_props }} contentTypeToPrimaryCategory { - ClassroomTeachingVideo: "Explanation Content" - ConceptMap: "Learning Resource" - Course: "Course" - CuriosityQuestionSet: "Practice Question Set" - eTextBook: "eTextbook" - ExperientialResource: "Learning Resource" - ExplanationResource: "Explanation Content" - ExplanationVideo: "Explanation Content" - FocusSpot: "Teacher Resource" - LearningOutcomeDefinition: "Teacher Resource" - MarkingSchemeRubric: "Teacher Resource" - PedagogyFlow: "Teacher Resource" - PracticeQuestionSet: "Practice Question Set" - PracticeResource: "Practice Question Set" - SelfAssess: "Course Assessment" - TeachingMethod: "Teacher Resource" - TextBook: "Digital Textbook" - Collection: "Content Playlist" - ExplanationReadingMaterial: "Learning Resource" - LearningActivity: "Learning Resource" - LessonPlan: "Content Playlist" - LessonPlanResource: "Teacher Resource" - PreviousBoardExamPapers: "Learning Resource" - TVLesson: "Explanation Content" - OnboardingResource: "Learning Resource" - ReadingMaterial: "Learning Resource" - Template: "Template" - Asset: "Asset" - Plugin: "Plugin" - LessonPlanUnit: "Lesson Plan Unit" - CourseUnit: "Course Unit" - TextBookUnit: "Textbook Unit" - Asset: "Certificate Template" -} + ClassroomTeachingVideo: "Explanation Content" + ConceptMap: "Learning Resource" + Course: "Course" + CuriosityQuestionSet: "Practice Question Set" + eTextBook: "eTextbook" + ExperientialResource: "Learning Resource" + ExplanationResource: "Explanation Content" + ExplanationVideo: "Explanation Content" + FocusSpot: "Teacher Resource" + LearningOutcomeDefinition: "Teacher Resource" + MarkingSchemeRubric: "Teacher Resource" + PedagogyFlow: "Teacher Resource" + PracticeQuestionSet: "Practice Question Set" + PracticeResource: "Practice Question Set" + SelfAssess: "Course Assessment" + TeachingMethod: "Teacher Resource" + TextBook: "Digital Textbook" + Collection: "Content Playlist" + ExplanationReadingMaterial: "Learning Resource" + LearningActivity: "Learning Resource" + LessonPlan: "Content Playlist" + LessonPlanResource: "Teacher Resource" + PreviousBoardExamPapers: "Learning Resource" + TVLesson: "Explanation Content" + OnboardingResource: "Learning Resource" + ReadingMaterial: "Learning Resource" + Template: "Template" + Asset: "Asset" + Plugin: "Plugin" + LessonPlanUnit: "Lesson Plan Unit" + CourseUnit: "Course Unit" + TextBookUnit: "Textbook Unit" + Asset: "Certificate Template" + Course: "Program" + } resourceTypeToPrimaryCategory { Learn: "Learning Resource" @@ -577,18 +575,19 @@ objectcategorydefinition.keyspace="{{ lp_cassandra_keyspace_prefix }}_category_s #Default objectCategory mapping for channel channel { content{ - primarycategories=["Course Assessment", "eTextbook", "Explanation Content", "Learning Resource", "Practice Question Set", "Teacher Resource", "Exam Question"] - additionalcategories= {{ content_additional_categories | default('["Classroom Teaching Video", "Concept Map", "Curiosity Question Set", "Experiential Resource", "Explanation Video", "Focus Spot", "Learning Outcome Definition", "Lesson Plan", "Marking Scheme Rubric", "Pedagogy Flow", "Previous Board Exam Papers", "TV Lesson", "Textbook"]')}} + primarycategories=["Course Assessment", "eTextbook", "Explanation Content", "Learning Resource", "Practice Question Set", "Teacher Resource"] + additionalcategories=["Classroom Teaching Video", "Concept Map", "Curiosity Question Set", "Experiential Resource", "Explanation Video", "Focus Spot", "Learning Outcome Definition", "Lesson Plan", "Marking Scheme Rubric", "Pedagogy Flow", "Previous Board Exam Papers", "TV Lesson", "Textbook"] } collection { - primarycategories=["Content Playlist", "Course", "Digital Textbook", "Question paper"] - additionalcategories={{ collection_additional_categories | default('["Textbook", "Lesson Plan"]')}} + primarycategories=["Content Playlist", "Course", "Digital Textbook"] + additionalcategories=["Textbook", "Lesson Plan"] } asset { primarycategories=["Asset", "CertAsset", "Certificate Template"] additionalcategories=[] } } + master.category.validation.enabled="{{ master_category_validation_enabled }}" #Collection CSV diff --git a/ansible/roles/stack-sunbird/templates/sunbird_learner-service.env b/ansible/roles/stack-sunbird/templates/sunbird_learner-service.env index 27b2569ba5..3f339d662f 100644 --- a/ansible/roles/stack-sunbird/templates/sunbird_learner-service.env +++ b/ansible/roles/stack-sunbird/templates/sunbird_learner-service.env @@ -33,10 +33,11 @@ sunbird_account_key={{sunbird_public_storage_account_key}} sunbird_quartz_mode={{sunbird_sunbird_quartz_mode}} sunbird_env_logo_url={{sunbird_env_logo_url}} sunbird_web_url={{sunbird_web_url}} +sunbird_fcm_account_key={{sunbird_fcm_account_key}} sunbird_msg_91_auth={{sunbird_msg_91_auth}} sunbird_msg_sender={{sunbird_msg_sender}} sunbird_installation_email={{sunbird_installation_email}} -{% if (cassandra_cluster_size | int) > 1 %} +{% if groups['cassandra-2'] is defined %} sunbird_cassandra_host={{groups['cassandra']|join(',')}} sunbird_cassandra_port=9042,9042,9042 sunbird_cassandra_consistency_level=quorum @@ -50,6 +51,7 @@ sunbird_mw_system_host=learner-service sunbird_mw_system_port=8088 background_actor_provider=local api_actor_provider=local +badging_authorization_key={{vault_badging_authorization_key}} sunbird_badger_baseurl=http://badger-service:8004 sunbird_remote_req_router_path=akka.tcp://SunbirdMWSystem@actor-service:8088/user/RequestRouter sunbird_remote_bg_req_router_path=akka.tcp://SunbirdMWSystem@actor-service:8088/user/BackgroundRequestRouter @@ -121,11 +123,5 @@ google_captcha_private_key={{google_captcha_private_key | default("")}} google_captcha_mobile_private_key={{google_captcha_mobile_private_key | default("")}} PORTAL_SERVICE_PORT=http://player.{{namespace}}.svc.cluster.local:3000 form_api_endpoint={{form_api_endpoint | default('/plugin/v1/form/read')}} - - -# Release-3.7.0 -learner_in_memory_cache_ttl={{learner_in_memory_cache_ttl | default(600)}} -user_index_alias={{user_index_alias | default('user_alias')}} -org_index_alias={{org_index_alias | default('org_alias')}} -sunbird_installation_display_name_for_sms=DIKSHA sunbird_sso_lb_ip={{keycloak_url}} +channel_registration_disabled: "true" diff --git a/ansible/roles/stack-sunbird/templates/sunbird_lms-service.env b/ansible/roles/stack-sunbird/templates/sunbird_lms-service.env index 112c702f37..6831d1a4f5 100644 --- a/ansible/roles/stack-sunbird/templates/sunbird_lms-service.env +++ b/ansible/roles/stack-sunbird/templates/sunbird_lms-service.env @@ -33,10 +33,11 @@ sunbird_account_name={{sunbird_public_storage_account_name}} sunbird_account_key={{sunbird_public_storage_account_key}} sunbird_quartz_mode={{sunbird_sunbird_quartz_mode}} sunbird_web_url={{sunbird_web_url}} +sunbird_fcm_account_key={{sunbird_fcm_account_key}} sunbird_msg_91_auth={{sunbird_msg_91_auth}} sunbird_msg_sender={{sunbird_msg_sender}} sunbird_installation_email={{sunbird_installation_email}} -{% if (cassandra_cluster_size | int) > 1 %} +{% if groups['cassandra-2'] is defined %} sunbird_cassandra_host={{groups['cassandra']|join(',')}} sunbird_cassandra_port=9042,9042,9042 sunbird_cassandra_consistency_level=quorum @@ -50,6 +51,7 @@ sunbird_mw_system_host=lms-service sunbird_mw_system_port=8088 background_actor_provider=local api_actor_provider=local +badging_authorization_key={{vault_badging_authorization_key}} sunbird_badger_baseurl=http://badger-service:8004 sunbird_remote_req_router_path=akka.tcp://SunbirdMWSystem@actor-service:8088/user/RequestRouter sunbird_remote_bg_req_router_path=akka.tcp://SunbirdMWSystem@actor-service:8088/user/BackgroundRequestRouter @@ -62,7 +64,7 @@ telemetry_queue_threshold_value=100 sunbird_default_channel={{sunbird_default_channel}} sunbird_api_mgr_base_url=http://knowledge-mw-service:5000 sunbird_cs_base_url=http://knowledge-mw-service:5000 -sunbird_cs_search_path=/v1/search +sunbird_cs_search_path=/v1/content/search sunbird_env_logo_url={{sunbird_env_logo_url}} sunbird_user_bulk_upload_size={{sunbird_user_bulk_upload_size}} @@ -98,20 +100,19 @@ sunbird_cache_enable={{sunbird_cache_enable | default(false)}} # Set below variables if above true sunbird_redis_host={{sunbird_redis_host}} sunbird_redis_port={{sunbird_redis_port|default(6379)}} -sunbird_user_org_api_base_url={{ sunbird_user_service_api_base_url }} +sunbird_user_org_api_base_url=http://learner-service:9000 kafka_topics_instruction={{kafka_topics_instruction}} kafka_urls={{kafka_urls}} kafka_topics_certificate_instruction={{kafka_topics_certificate_instruction}} kafka_assessment_topic={{kafka_assessment_topic}} kafka_topics_contentstate_invalid={{kafka_topics_contentstate_invalid}} -kafka_enrolment_sync_topic={{kafka_enrolment_sync_topic}} # Required by lms service to call cert service sunbird_cert_service_base_url=http://cert-service:9000 learning_service_base_url={{sunbird_content_repo_api_base_url}} sunbird_user_search_cretordetails_fields=id,firstName,lastName -sunbird_user_service_api_base_url={{ sunbird_user_service_api_base_url }} +sunbird_user_service_api_base_url={{sunbird_user_service_api_base_url}} limit_managed_user_creation={{limit_managed_user_creation | default(true)}} managed_user_limit={{managed_user_limit | default(30)}} @@ -125,6 +126,9 @@ group_activity_agg_cache_ttl={{ group_activity_agg_cache_ttl }} group_activity_agg_cache_enable={{ group_activity_agg_cache_enable }} sunbird_env_name={{env_name}} +## HierarchyUpdate ## Allow adding resource to Root Node +hierarchyUpdate.allow.resource.at.root.level=true + ## Redis connection detail ## redis.connection.max={{ lms_redis_connection_max | default(64) }} redis.connection.idle.max={{ lms_redis_connection_idle_max | default(32) }} @@ -140,6 +144,6 @@ user_enrolments_response_cache_ttl={{ user_enrolments_response_cache_ttl | defau druid_proxy_api_host={{groups['raw-broker'][0]}} druid_proxy_api_port=8082 druid_proxy_api_endpoint=/druid/v2/ -collection_summary_agg_data_source={{ summary_agg_data_source | default('audit-rollup-syncts') }} +collection_summary_agg_data_source={{ summary_agg_data_source | default('telemetry-events') }} collection_summary_agg_cache_ttl={{ summary_agg_ttl | default(21600) }} -enrollment_list_size={{ enrollment_list_size | default(1000) }} \ No newline at end of file +enrollment_list_size={{ enrollment_list_size | default(1000) }} diff --git a/ansible/roles/stack-sunbird/templates/sunbird_nodebb.env b/ansible/roles/stack-sunbird/templates/sunbird_nodebb.env index ba09122b9d..9e0b890f9d 100644 --- a/ansible/roles/stack-sunbird/templates/sunbird_nodebb.env +++ b/ansible/roles/stack-sunbird/templates/sunbird_nodebb.env @@ -1,18 +1,10 @@ # Initialization variable for mongo # Ref: https://community.nodebb.org/topic/4325/set-up-nodebb-via-environment-variables -database=redis -# declearing js heap memory size -NODE_OPTIONS={{nodebb_heap_size|default(1024)}} +database=mongo secret={{nodebb_hash_key|default('1d57ba64-86d4-43ff-bd10-f6e9e0782899')}} url=http://0.0.0.0:4567/discussions/ -redis__host={{sunbird_nodebb_redis_host|default(sunbird_lp_redis_host)}} -redis__port=6379 -redis__username={{nodebb_db_username|default('')}} -redis__password={{nodebb_db_password|default('')}} -isCluster={{nodebb_cluster_enable|default('true')}} -# redis database number -redis__database={{nodebb_db_index_name|default(10)}} -redis__secondarydb={{nodebb_db_secondary_index_name|default(11)}} +mongo__host={{mongo_nodebb_host}} +mongo__database=nodebb # password won't get overwritten if you run # 'node app --setup' multiple times # Default username is admin diff --git a/kubernetes/ansible/roles/kong-api/tasks/main.yml b/kubernetes/ansible/roles/kong-api/tasks/main.yml index a83c8a0706..4c5790cdd2 100644 --- a/kubernetes/ansible/roles/kong-api/tasks/main.yml +++ b/kubernetes/ansible/roles/kong-api/tasks/main.yml @@ -1,10 +1,10 @@ --- -- name: Ensure pip is installed - apt: name=python-pip update_cache=yes - when: ansible_os_family == 'Debian' +#- name: Ensure pip is installed +# apt: name=python-pip update_cache=yes +# when: ansible_os_family == 'Debian' -- name: Ensure retry is installed - pip: name=retry +#- name: Ensure retry is installed +# pip: name=retry - name: Save api details to json file copy: dest=/tmp/kong_apis.json content="{{ kong_apis | to_nice_json}}" mode=0644 diff --git a/kubernetes/pipelines/onboard-api/Jenkinsfile b/kubernetes/pipelines/onboard-api/Jenkinsfile index 4f37e268f4..dbcd4e73de 100644 --- a/kubernetes/pipelines/onboard-api/Jenkinsfile +++ b/kubernetes/pipelines/onboard-api/Jenkinsfile @@ -45,7 +45,7 @@ node() { throw err } finally { - slack_notify(currentBuild.result) - email_notify() + // slack_notify(currentBuild.result) + // email_notify() } } diff --git a/pipelines/master-deploy/Jenkinsfile b/pipelines/master-deploy/Jenkinsfile index 9216daeee8..9610738278 100644 --- a/pipelines/master-deploy/Jenkinsfile +++ b/pipelines/master-deploy/Jenkinsfile @@ -1,8 +1,8 @@ def writeBlock(File file, String module, String jobname, String private_branch, String tag){ file.append(" \"Building " + module + jobname + "\": {\n") - file.append(" " + module + jobname + "Result = build(job: '" + module + "/" + jobname + "', parameters: [string(name: 'branch_or_tag', value: '" + tag + "'), string(name: 'private_branch', value: '" + private_branch + "')], propagate: false).result\n") - file.append(" echo \"" + module + jobname + " build status = \"+ " + module + jobname + "Result\n") - file.append(" sh \"echo " + module + jobname + " job status = \$" + module + jobname + "Result >> out.txt\"\n") + file.append(" " + module + jobname.replace('-','') + "Result = build(job: '" + module + "/" + jobname + "', parameters: [string(name: 'branch_or_tag', value: '" + tag + "'), string(name: 'private_branch', value: '" + private_branch + "')], propagate: false).result\n") + file.append(" echo \"" + module + jobname + " build status = \"+ " + module + jobname.replace('-','') + "Result\n") + file.append(" sh \"echo " + module + jobname + " job status = \$" + module + jobname.replace('-','') + "Result >> out.txt\"\n") } def continueBlock(File file){