A static repo is simply an Iglu registry server structured as a static website.
Setup is simple:
- Choose a hosting partner
- Prepare your files
- Host the files in your schema registry
- Update your Iglu client configuration
We host static Iglu registry using Amazon S3, but you can choose any existing webserver your company is already using, such as Apache, IIS or Nginx.
You need to create a file structure for your JSON Schemas. Please check out the template we provide here:
Make the following changes:
com.myvendorwith your company domain, reverse-ordered
myschemawith the name of your first JSON Schema
jsonschemaas-is (we only support JSON Schemas for now)
1-0-0with the schema specification of your first JSON Schema
Writing JSON Schemas is out of scope for this setup guide – see Self-describing-JSONs-and-JSON-Schemas for details.
Done? Now you are ready to host your files.
To host your static schema registry, follow the AWS guide, Host a Static Website on Amazon Web Services.
To host your static schema on an alternative webserving platform, please consult the appropriate webserver documentation or talk to your Systems team.
Finally, update your Iglu client configuration so that it can resolve your new registry.
For details on how to do this, check out the page on Iglu client configuration.