diff --git a/provider/partition-gcp/README.md b/provider/partition-gcp/README.md index 179dd816b28601ca54c159306fff8de650f1fb07..c8bae54083462d72b6ea65a077b7eabd0d9b03c0 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 55437749d141681567c6c81dd2376f10f2f192a3..38fe26ba433b499fe033a35a602632c6ebd9f941 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>