Tips & Tricks

How to configure SEND functionality for Superpack and Snapshot

Requirements: 

- version 1.20.15 or higher

SEND functionality is available for Hyperon Studio. It allows to create and send the Superpack or Snapshot to a different Hyperon Studio instance in one step.

Configuration

Superpack

To enable the functionality add properties to the application.properties file :

hyperon.superpack.environments = test,pro

hyperon.superpack.test.url = http://localhost:8080/hyperon/api/superpack/upload
hyperon.superpack.test.username = admin
hyperon.superpack.test.password = admin

hyperon.superpack.prod.url = http://localhost:8080/hyperon/api/superpack/upload
hyperon.superpack.prod.username = admin
hyperon.superpack.prod.password = admin

In example, two environments are defined: 'test' and 'prod'. With those properties, you can send Superpack to one of those two, defined, environments.

Snapshot

To enable the functionality add properties to the application.properties file : 

hyperon.external.environment.codes = test, prod

hyperon.external.environment.test.url = http://localhost:10080/hyperon_gui_war/api
hyperon.external.environment.test.username = admin
hyperon.external.environment.test.password = admin

hyperon.external.environment.prod.url = http://localhost:10080/hyperon_gui_war/api
hyperon.external.environment.prod.username = admin
hyperon.external.environment.prod.password = admin

In example, two environments are defined: 'test' and 'prod'. With those properties you can send Superpack to one of those two defined environments.

How it works?

Create and configure Superpack/Snapshot file according to your needs. Click "Send". If the destination environments are properly configured you will be able to select an environment by its code:

If no environment is configurated or is configurated incorrectly it will not be available to select:

If Superpack/Snapshot is configured to autocommit, session on the import environment will be automatically published after import. If not it will show as active session for the configurated user.