PSPCL iFix Adapter Promotion doc v1.0.0
Below steps are required :
Keycloak client: To publish an event to the iFix core system, we need Access_Token. So, Please set up the client for pspcl system by following the instructions of “Creating Clients” https://github.com/misdwss/iFix-Dev/blob/master/core/keycloak/INSTRUCTIONS.md#creating-clients .
'pspcl' is the namespace. Please verify the same in pspcl-<env>.yaml file.
Environment Variables: If these variables are not configured inform the DevOps team to do the same.
DB Credentials : Please verify in pspcl-<env>-secrets.yaml file that 'pg-username', 'pg-password','flywayUsername','flywayPassword' are configured correctly or not.
Keycloak Credentials : Please verify in pspcl-<env>-secrets.yaml file that 'pspcl-keycloak-client-secret' has been configured under 'keycloak-client-secrets'.'pspcl-keycloak-client-secret' or not.
Please verify 'egov-mdms-service' host has been configured under 'egov-service-host' in pspcl-<env>.yaml file.
Please verify 'db-host','db-name','db-url' under 'configmaps' in pspcl-<env>.yaml file.
Please verify 'pspcl-fetch-bill-url','pspcl-fetch-payment-url','keycloak-pspcl-credentials-clientid','fiscal-event-tenantId','demand-coaCode','receipt-coaCode','fiscal-event-receiver','ifix-host','keycloak-host' are configured under 'pspcl-ifix-adapter' in pspcl-<env>.yaml file.
MDMS config: Pspcl Account number to Gram panchayat mapping should be present in MDMS. For reference, Please check https://github.com/misdwss/mdms-mgramseva/blob/QA/data/pb/pspcl-integration/accountNumberGpMapping.json Please restart(re-deploy) the MDMS service, once the mapping is complete in the respective branch.
Druid Ingestion config: Please reimport the https://github.com/misdwss/iFix-Dev/blob/master/domain-services/fiscal-event-post-processor/druid-ingestion-config.json file by following steps mentioned in "Druid Sink” https://github.com/misdwss/iFix-Dev/tree/master/domain-services/fiscal-event-post-processor#druid-sink
Note :
<env> is for environment. e.g : qa, uat etc.
You can find the reference file for the above configuration https://github.com/misdwss/iFix-DevOps/blob/pspcl/deploy-as-code/helm/environments/pspcl-qa-secrets.yaml and https://github.com/misdwss/iFix-DevOps/blob/pspcl/deploy-as-code/helm/environments/pspcl-qa.yaml .
The explanation for the above environment variables could be found here PSPCL iFix Adapter .
Technical Doc :