Skip to main content

Apply Changes in Services through Applications

๐ŸŽฏcontext

If a Service is deployed through an Application, changes made in the design or the implementation of the Service will not automatically be reflected in the deployed Application. Instead, the Application needs to be explicitly adapted to use a newer version of the Service component in order to apply the changes.

Descriptionโ€‹

This How-To will guide you through the process of versioning the project and deploying the changes in the Application. The instructions are working for both Domain Service and Basic Service projects.

Preconditionsโ€‹

  • You have have a working Release Pipeline configured for your Service
  • The Service component is added to the Application
  • You have finished off your changes in the Solution Designer or in the implementation and pushed them successfully

Stepsโ€‹

Create a new version of the Service componentโ€‹

To create a new version of the component the version number needs to be increased and a release needs to be triggered.

To learn how to create a new release, please visit our How-To: Release a Service

Adapt Application to use new version of Serviceโ€‹

  1. Open your Application Composition project in the Solution Designer.

  2. Go to Composition on the left sidebar

  3. Switch to the tab of the desired Deployment Target. When looking at the added components you can recognize the version number of the service that is currently in use in the application.

  4. Open the action menu of the component you want to update and click on "Change version".

  5. Select the new version in the dropdown and save your changes.

  6. After successfully updating the version, press the "Commit" button to trigger the re-deployment of the application.


๐ŸŒŸCongratulations!

After a short period of time, the application will be deployed with the new version of the service and you can explore the new capabilities provided with it.