Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

The following article describes how you can create and publish a custom UM plugin that is to be integrated into a cloud-hosted UM at AWS.

1. Create plugin using Kickstarter

Follow Install Kickstarter to prepare your local machine to create and develop Kickstarter-based UM projects.

...

Follow Kickstarter.md to develop your new plugin locally.

2. Provide meaningful artifact names

Edit build.gradle and change the default project name and group id to something meaningful. These settings will make up the name of the artifact that you will publish later on.

Codeblock
languagegroovy
pinuts.projectName = 'RestServices'
pinuts.groupId = 'de.acme.projectx'

3. Prepare publishing the plugin

If Pinuts is hosting your UM installation at AWS, there already is an S3 bucket ready to be used as a maven repository. Ask us for the respective credentials: Pinuts Support

...

Codeblock
gradle publish -Penv=test        # -> de.acme.projectx:RestServices:test-SNAPSHOT
gradle publish -Penv=staging     # -> de.acme.projectx:RestServices:staging-SNAPSHOT
gradle publish -Penv=prod        # -> de.acme.projectx:RestServices:prod-SNAPSHOT

4. Have Pinuts integrate your plugin

After your new plugin has been published to the respective S3 bucket, contact Pinuts Support to have us integrate the new plugin into your UM cloud deployment.

...

We will also give you an HTTP endpoint to trigger a deployment to test, staging or prod.

5. Trigger deployment

You will be able to trigger a deployment of your published plugin into the cloud-hosted UM by sending an HTTP request to our GitLab like this:

...