Set up a development environment
For developers and administrators who want to try a change before customers see it, and for developers who test their product in a CI/CD pipeline. At the end you have a Sandbox or Staging environment next to production, with a copy of your production catalog in it.
Prerequisites
Section titled “Prerequisites”- Administrator access to your production environment in the Provision Portal.
- A plan that includes non-production environments.
- Create the environment. In your production environment, open
Settings → Environments and choose Add environment. Pick Sandbox for
development and CI, or Staging for a rehearsal before a release, and give it a name.
The dialog shows the address it will get, such as
your-name-sandbox. - Sign in to the new environment. The new environment has its own sign-in. An invite email goes to the address you use for production; set a password from it, then sign in at the new environment’s address.
- Export your catalog from production. With catalog transfer, export whole sections or a single item. Everything the item depends on comes along.
- Compare, then import. In the new environment, compare the file first to see, field by field, what the import would change. Then import it.
- Point your test build or CI/CD pipeline at the environment. Their configuration uses the new environment’s address instead of production’s, so automated tests issue and check test licenses without touching your customers.
What is different in a test environment
Section titled “What is different in a test environment”- Separate usage. Each environment counts its own usage; nothing is shared with production.
- A full copy of your catalog. A test environment has your plan’s features and catalog limits, so it can hold everything you have in production.
- Sized for testing. On every plan, a test environment allows at most 50 active licenses, 25,000 API calls a month, 50 entitlements and 3 API clients. Over a cap, what you have keeps working and creating more is refused. When there are more than 50 active licenses, the 50 oldest keep working and newer ones can’t be renewed. Oclavex can lift the caps of one environment on request at info@revenusion.com; there is no extra test capacity to buy.
- Licenses marked for testing. Every license a test environment issues says it is for testing only, and its signing keys rotate every week, so a build that pinned them stops verifying new licenses within two weeks. See Keys in a test environment rotate.
- The same engine as production. Your own Oclavex account is licensed by the same entitlement engine you integrate with, through the same public API. The plan limits and upgrade prompts you see in the portal come from it.
- Developer path — enforce a license in your application.
- Catalog transfer — every option for export, compare and import.