Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.9 kB
1
Indexable
Never
in the above code check the releaseType value and that value is the key for json file which is there in /app/scripts/PPM_Release_Management/Product_Catalog_ETL/config/ppm_reply.json and in there json find the releaseType value and search in that json DB_PORT value should be assigned in the code port number


this is the json

{"PPM_PC": {"DB_PASSWORD": "dGlidGNhcmVfcHBt", "DB_TYPE": "MYSQL", "DB_PORT": "3306", "DB_SCHEMA": "tibtcare_ppm", "DB_USER": "tibtcare_ppm", "DB_HOST": "10.8.25.196", "ENCRYPT": "Y"}, "TESTING": {"DB_PASSWORD": "tibtcare_ppm_st2", "DB_TYPE": "MYSQL", "DB_PORT": "3308", "DB_SCHEMA": "tibtcare_ppm_st2", "DB_USER": "tibtcare_ppm_st2", "DB_HOST": "10.16.16.128", "ENCRYPT": "N"},"SOURCE": {"DB_PASSWORD": "dGlidGNhcmVfcHBt", "DB_TYPE": "MYSQL", "DB_PORT": "3306", "DB_SCHEMA": "tibtcare_ppm", "DB_USER": "tibtcare_ppm", "DB_HOST": "10.8.25.196", "ENCRYPT": "Y"}, "SIT": {"DB_PASSWORD": "dGlidGNhcmVfcHBt", "DB_TYPE": "MYSQL", "DB_PORT": "3306", "DB_SCHEMA": "tibtcare_ppm", "DB_USER": "tibtcare_ppm", "DB_HOST": "10.8.25.199", "ENCRYPT": "Y"}, "UAT": {"DB_PASSWORD": "dGlidGNhcmVfcHBt", "DB_TYPE": "MYSQL", "DB_PORT": "3306", "DB_SCHEMA": "tibtcare_ppm", "DB_USER": "tibtcare_ppm", "DB_HOST": "10.8.25.197", "ENCRYPT": "Y"}, "PREPROD": {"DB_PASSWORD": "dGlidGNhcmVfcHBt", "DB_TYPE": "MYSQL", "DB_PORT": "3308", "DB_SCHEMA": "tibtcare_ppm", "DB_USER": "tibtcare_ppm", "DB_HOST": "10.8.25.202", "ENCRYPT": "Y"}, "PROD": {"DB_PASSWORD": "dGlidGNhcmVfcHBt", "DB_TYPE": "MYSQL", "DB_PORT": "3308", "DB_SCHEMA": "tibtcare_ppm", "DB_USER": "tibtcare_ppm", "DB_HOST": "10.8.29.201", "ENCRYPT": "Y"}, "ELASTIC": {"INDEX": "ppm", "DOC_TYPE": "offering", "RECONCILE": "TRUE", "ELASTICDATALOAD": "TRUE", "URL_LOADING": "https://st.hobs.tcs.com/HOBSAnalytics/process/loadPPMElasticData", "URL_STATUS": "https://st.hobs.tcs.com/HOBSAnalytics/process/getProcessStatus?api=loadPPMElasticData"}}