Data protection proxy updating

This article describes two scenarios:

1) How to upgrade DPP to the latest version

2) How to update the configuration file without upgrading the version of the DPP.

Before you begin make sure that:

1. It is assumed that you already have the working DPP installation. To learn more on how to install it please check this.

2. Please check the article on DPP configuring by this link to be aware about configuration principles.

After that choose one of the following cases.

1. Upgrading the version of the DPP

To update the DPP version you need to follow the steps:

1. Go to Google cloud shell and login with your account which is the owner of your DPP installation.

2. Copy the following commands, paste these to the terminal window, change [PROJECT_ID] to your DPP project ID (to see the available projects press Tab after "set project" and copy the necessary one) and press Enter.

cd ~/; gcloud config set project [PROJECT_ID]

3. Make a backup for the configuration file:

  1. for installations made before 2024: ~/dpp/src/main/webapp/WEB-INF/config.xml
  2. for installations made from 2024: ~/dpp/src/main/resources/config.xml

4. Upgrade the version of the DPP:

git reset --hard origin/master

5. Follow the article starting from the p.3 (using the saved config.xml file from the previous step).
Note: a new field (proxyurl) has been introduced since 2024. Keep this in mind if you are upgrading the pre-2024 version of the app. Otherwise, it would be easier to just replace the entire file rather than copying every value.

2. Applying the changes in config.xml file

To change DPP configuration you need to follow the steps:

1. Go to Google cloud shell and login with your account which is the owner of your DPP installation.

2. Copy the following commands, paste these to the terminal window, change [PROJECT_ID] to your DPP project ID (to see the available projects press Tab after "set project" and copy the necessary one) and press Enter.

cd ~/; gcloud config set project [PROJECT_ID]

3. Open dpp/src/main/resources/config.xml. Change current configuration than click menu "File -> Save" or press "Ctrl+S". To learn more on how to configure it please check this.

4. Copy the following commands, paste these to the terminal window and press Enter.

cd ~/dpp;mvn clean install;gcloud app deploy ~/dpp/target/dpp.jar -v 1-3 -q;gcloud app browse

When the commands execution will finished follow the link displayed in terminal window.

Go to the link. If you see the message

{"info":"DPP is ready for operation"} 

- the deployment is completed successfully, and your DPP configuration file has been updated successfully.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk