We abstract environment specific configuration (e.g., dev/qa/prod) in rules that have access to all sources by retrieving key/value data from a CSV source.
What are options for before/after scripts for IQService where there is no access to other sources and environment specific must be implemented in the script?
I want to avoid maintaining a discrete source control repository for each environment.
Hi @josephcasale
A JSON file can be created and uploaded to the IQ server. In the script, this JSON file should be referred to for fetching key values. The same JSON file can be used across different environments, with only the key values differing per environment. This approach ensures that hardcoding in the script is avoided.
Incase for cloud rules you can hardcode those values in source directly under connector attributes and rule can fetch those values directly from source json.