Automate adjusting IronBank schema files
Problem
Whenever adjustments need to be made to custom fields in Zuora, currently there is a significant amount of effort involved to prepare CustomersDot. Since CustomersDot uses IronBank, schema files (both for sandbox and production) are used to construct resource queries in Zuora. CustomersDot also uses VCR in its test suite to replay third-party requests, like with Zuora. This means that when adjustments are made to the IronBank schema files, any tests that use VCR and include Zuora resource queries will be affected. The VCR cassettes for these files must be re-recorded.
Proposal
@jameslopez raised the idea of automating this process if possible:
@tyleramos any chance this could be automated - and should we create an issue to explore that?
🤔 The way I see it, this could be migration helpers that create/rename/remove fields in Zuora as well as in CustomersDot via the API (if possible?).
For this issue, we should look into ways of making the process of updating the schema files easier.