From e9ebef7a09a18ebe95331ab1b2386bae9e713c8f Mon Sep 17 00:00:00 2001 From: divyagovindaiah Date: Thu, 30 Jan 2025 12:33:04 +0530 Subject: [PATCH] fix: Override the environment variable from the global variable --- helmcharts/knowledgebb/charts/flink/values.yaml | 2 +- helmcharts/obsrvbb/charts/analytics/values.yaml | 14 +++++++------- .../charts/dataproducts/configs/common.conf | 4 ++-- ...sy-Installer-7.0-mobile.postman_collection.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/helmcharts/knowledgebb/charts/flink/values.yaml b/helmcharts/knowledgebb/charts/flink/values.yaml index 8605393..d9c1540 100644 --- a/helmcharts/knowledgebb/charts/flink/values.yaml +++ b/helmcharts/knowledgebb/charts/flink/values.yaml @@ -775,7 +775,7 @@ flink_jobs: bundleLocation = "/tmp/contentBundle" isECARExtractionEnabled = true retry_asset_download_count = 1 - keyspace = "dev_content_store" + keyspace = "{{ .Values.global.env }}_content_store" table = "content_data" tmp_file_location = "/tmp" objectType = ["Content", "ContentImage","Collection","CollectionImage"] diff --git a/helmcharts/obsrvbb/charts/analytics/values.yaml b/helmcharts/obsrvbb/charts/analytics/values.yaml index 33526ee..0629915 100644 --- a/helmcharts/obsrvbb/charts/analytics/values.yaml +++ b/helmcharts/obsrvbb/charts/analytics/values.yaml @@ -106,13 +106,13 @@ cassandra_keyspace_prefix: dev_ postgres_db: "analytics" # postgres_user: "postgres" # postgres_pass: "postgres" -postgres_table_name: "dev_consumer_channel_mapping" -postgres_table_geo_location_city_name: "dev_geo_location_city" -postgres_table_geo_location_city_ipv4_name: "dev_geo_location_city_ipv4" -postgres_table_report_config_name: "dev_report_config" -postgres_table_job_request_name: "dev_job_request" -postgres_table_experiment_definition_name: "dev_experiment_definition" -postgres_table_dataset_metadata_name: "dev_dataset_metadata" +postgres_table_name: "{{ .Values.global.env }}_consumer_channel_mapping" +postgres_table_geo_location_city_name: "{{ .Values.global.env }}_geo_location_city" +postgres_table_geo_location_city_ipv4_name: "{{ .Values.global.env }}_geo_location_city_ipv4" +postgres_table_report_config_name: "{{ .Values.global.env }}_report_config" +postgres_table_job_request_name: "{{ .Values.global.env }}_job_request" +postgres_table_experiment_definition_name: "{{ .Values.global.env }}_experiment_definition" +postgres_table_dataset_metadata_name: "{{ .Values.global.env }}_dataset_metadata" user_profile_read_url: "http://userorg-service:9000/v1/user/read/" org_search_url: "http://userorg-service:9000/v1/org/search" dataexhaust_super_admin_channel: "sunbird" diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/common.conf b/helmcharts/obsrvbb/charts/dataproducts/configs/common.conf index 5f3356f..28237d7 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/common.conf +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/common.conf @@ -264,8 +264,8 @@ sunbird.content.cluster.host="{{ .Values.core_cassandra_host | default .Values. sunbird.report.cluster.host="{{ .Values.report_cassandra_host | default .Values.global.cassandra.host }}" sunbird.user.report.keyspace="{{ .Values.report_user_table_keyspace }}" collection.exhaust.store.prefix="" -postgres.table.job_request="dev_job_request" -postgres.table.dataset_metadata="dev.dataset_metadata_table" +postgres.table.job_request="{{ .Values.global.env }}_job_request" +postgres.table.dataset_metadata="{{ .Values.global.env }}.dataset_metadata_table" ## Collection Exhaust Jobs Configuration -- End ## diff --git a/postman-collection/ED-release700/Easy-Installer-7.0-mobile.postman_collection.json b/postman-collection/ED-release700/Easy-Installer-7.0-mobile.postman_collection.json index 06a6720..2241279 100644 --- a/postman-collection/ED-release700/Easy-Installer-7.0-mobile.postman_collection.json +++ b/postman-collection/ED-release700/Easy-Installer-7.0-mobile.postman_collection.json @@ -789,7 +789,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"login_v2\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"login_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"context\": \"register\",\n \"target\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/signup\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"error_callback\",\n \"value\": \"https://staging.sunbirded.org/auth/realms/sunbird/protocol/openid-connect/auth\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"password-reset-success\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"reset\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"state\",\n \"target\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sign-in/sso/select-org\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n },\n {\n \"type\": \"migrate\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"automerge\",\n \"resolveTo\": \"automerge\"\n },\n {\n \"key\": \"payload\",\n \"resolveTo\": \"payload\"\n },\n {\n \"key\": \"state\",\n \"resolveTo\": \"state\"\n },\n {\n \"key\": \"userId\",\n \"resolveTo\": \"userId\"\n },\n {\n \"key\": \"identifierType\",\n \"resolveTo\": \"identifierType\"\n },\n {\n \"key\": \"identifierValue\",\n \"resolveTo\": \"identifierValue\"\n },\n {\n \"key\": \"goBackUrl\",\n \"resolveTo\": \"goBackUrl\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"login\",\n \"target\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"password-reset-success\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"reset\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n },\n {\n \"type\": \"migrate\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"automerge\",\n \"resolveTo\": \"automerge\"\n },\n {\n \"key\": \"payload\",\n \"resolveTo\": \"payload\"\n },\n {\n \"key\": \"state\",\n \"resolveTo\": \"state\"\n },\n {\n \"key\": \"userId\",\n \"resolveTo\": \"userId\"\n },\n {\n \"key\": \"identifierType\",\n \"resolveTo\": \"identifierType\"\n },\n {\n \"key\": \"identifierValue\",\n \"resolveTo\": \"identifierValue\"\n },\n {\n \"key\": \"goBackUrl\",\n \"resolveTo\": \"goBackUrl\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"merge\",\n \"target\": {\n \"host\": \" https://merge.staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"merge_account_process\",\n \"value\": \"1\"\n },\n {\n \"key\": \"mergeaccountprocess\",\n \"value\": \"1\"\n },\n {\n \"key\": \"goBackUrl\",\n \"value\": \"https://merge.staging.sunbirded.org/?exit=1\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"exit\",\n \"when\": {\n \"host\": \"https://merge.staging.sunbirded.org\",\n \"path\": \"/\",\n \"params\": [\n {\n \"key\": \"exit\",\n \"resolveTo\": \"exit\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"migrate\",\n \"target\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"automerge\",\n \"value\": \"1\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n }\n ]\n }\n ]\n }\n }\n}", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"login_v2\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"login_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"context\": \"register\",\n \"target\": {\n \"host\": \"{{host}}\",\n \"path\": \"/signup\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"error_callback\",\n \"value\": \"https://staging.sunbirded.org/auth/realms/sunbird/protocol/openid-connect/auth\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"password-reset-success\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"reset\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"state\",\n \"target\": {\n \"host\": \"{{host}}\",\n \"path\": \"/sign-in/sso/select-org\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n },\n {\n \"type\": \"migrate\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"automerge\",\n \"resolveTo\": \"automerge\"\n },\n {\n \"key\": \"payload\",\n \"resolveTo\": \"payload\"\n },\n {\n \"key\": \"state\",\n \"resolveTo\": \"state\"\n },\n {\n \"key\": \"userId\",\n \"resolveTo\": \"userId\"\n },\n {\n \"key\": \"identifierType\",\n \"resolveTo\": \"identifierType\"\n },\n {\n \"key\": \"identifierValue\",\n \"resolveTo\": \"identifierValue\"\n },\n {\n \"key\": \"goBackUrl\",\n \"resolveTo\": \"goBackUrl\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"login\",\n \"target\": {\n \"host\": \"{{host}}\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"password-reset-success\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"reset\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n },\n {\n \"type\": \"migrate\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"automerge\",\n \"resolveTo\": \"automerge\"\n },\n {\n \"key\": \"payload\",\n \"resolveTo\": \"payload\"\n },\n {\n \"key\": \"state\",\n \"resolveTo\": \"state\"\n },\n {\n \"key\": \"userId\",\n \"resolveTo\": \"userId\"\n },\n {\n \"key\": \"identifierType\",\n \"resolveTo\": \"identifierType\"\n },\n {\n \"key\": \"identifierValue\",\n \"resolveTo\": \"identifierValue\"\n },\n {\n \"key\": \"goBackUrl\",\n \"resolveTo\": \"goBackUrl\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"merge\",\n \"target\": {\n \"host\": \" https://merge.staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"merge_account_process\",\n \"value\": \"1\"\n },\n {\n \"key\": \"mergeaccountprocess\",\n \"value\": \"1\"\n },\n {\n \"key\": \"goBackUrl\",\n \"value\": \"https://merge.staging.sunbirded.org/?exit=1\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"exit\",\n \"when\": {\n \"host\": \"https://merge.staging.sunbirded.org\",\n \"path\": \"/\",\n \"params\": [\n {\n \"key\": \"exit\",\n \"resolveTo\": \"exit\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"migrate\",\n \"target\": {\n \"host\": \"{{host}}\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"automerge\",\n \"value\": \"1\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"{{host}}\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n }\n ]\n }\n ]\n }\n }\n}", "options": { "raw": { "language": "json"