From b616cb4eec6c9fe9e5dce3f8af590e95bc1299de Mon Sep 17 00:00:00 2001 From: Anastasiia_Gelmut <anastasiia_gelmut@epam.com> Date: Wed, 20 Jan 2021 18:50:23 +0400 Subject: [PATCH] GONRG-1599 Updated pom and fixed readme. --- provider/partition-gcp/README.md | 10 ++-------- provider/partition-gcp/pom.xml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/provider/partition-gcp/README.md b/provider/partition-gcp/README.md index 179dd816b..c8bae5408 100644 --- a/provider/partition-gcp/README.md +++ b/provider/partition-gcp/README.md @@ -59,7 +59,6 @@ $ cat ~/.m2/settings.xml </servers> </settings> ``` - * Update the Google cloud SDK to the latest version: ```bash @@ -79,16 +78,11 @@ gcloud auth application-default login * Navigate to partition service's root folder and run: -```bash -mvn jetty:run -## Testing -* Navigate to partition service's root folder and run: - ```bash mvn clean install ``` -* If you wish to see the coverage report then go to testing/target/site/jacoco-aggregate and open index.html +* If you wish to see the coverage report then go to target/site/jacoco/index.html and open index.html * If you wish to build the project without running tests @@ -139,7 +133,7 @@ $ (cd testing/partition-test-gcp/ && mvn clean test) ``` ## Deployment -Storage Service is compatible with App Engine Flexible Environment and Cloud Run. +Partition Service is compatible with App Engine Flexible Environment and Cloud Run. * To deploy into Cloud run, please, use this documentation: https://cloud.google.com/run/docs/quickstarts/build-and-deploy diff --git a/provider/partition-gcp/pom.xml b/provider/partition-gcp/pom.xml index 55437749d..38fe26ba4 100644 --- a/provider/partition-gcp/pom.xml +++ b/provider/partition-gcp/pom.xml @@ -148,6 +148,25 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.7.7.201606060606</version> + <executions> + <execution> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <phase>prepare-package</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> -- GitLab