This extension is a simple tool for Ibiza developers. It allows developers to seed the ARM data for the mock ARM endpoint, to pull the ARM data, reset the ARM data or pull or reset mock ARM server logs.
Features
The following commands are added to help Ibiza developers with the mock ARM endpoint:
Seed Mock ARM Data
Use this to seed the ARM data from the current JSON (or JSONC file). Only available when a JSON file is open vscode.
Pull Mock ARM Data
Use this to pull the current ARM data from the mock ARM endpoint into a new JSON file. This can be saved or re-seeded at a later date.
Reset Mock ARM Data
Use this reset the current ARM data on the mock ARM endpoint. The next request will then load the default ARM data on the endpoint.
Get Mock ARM Server Log
Use this to pull the current ARM server log from the mock ARM endpoint. This is useful to see what happened on the ARM endpoint after a set of actions in the portal.
Reset Mock ARM Server Log
Use this to clear the current ARM server log. Useful to clear the log, perform some actions, then get the server log for just the log of actions.
NOTE: When seeding the ARM data, the data is not validated against a schema. It is always a good idea to validate against the mock ARM data schema for new JSON or edits.
Requirements
This requires that the mock ARM localhost endpoint is located in the default location:
http://localhost:55555/portal
Known Issues
When seeding the ARM data, the data is not validated against a schema. It is always a good idea to validate against the mock ARM data schema for new JSON or edits.