Application Upload & Registration

Application Upload & Registration

When the development of an App is finished, it can be uploaded and published in the Hub. The same mechanism is employed to update an App with a new version.

First, the Docker Image(s) need to be uploaded to the symmedia Container Registry.

The registry is available at the following URL:

Better Code Block

To get a repository permission token, please get in touch with your contact at symmedia. The permission token that you get will have the permission to pull and push images to a specific scope. The scope is a prefix of the image name that belongs to you / your company, i.e. “symmedia-example-image”. With that mechanism you are allowed to manage all your images. So you need to prefix your images accordingly.

The docker images can then be referenced in the App Definition.


After the upload of the required images to the symmedia registry, the new App or Version can be registered in the Hub via a GraphQL Mutation of the Preview API of the Hub. The registerApplicationVersion mutation is used for uploading the App Definition JSON.

This mutation allows a user with a bearer token to upload an application definition, as long as they have the correct role, which is App Developer. This role is only available to users in a tenant with the Application Provider tenant role.

The mutation accepts a string, which is the app definition and returns an ApplicationVersion object.

Usage:

Better Code Block

This GraphQL mutation returns the attribute "id" which is a UUID of the Application Version that is used by the Hub internally.