diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-08-22 15:09:50 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-08-22 15:09:50 +0200 |
commit | a9f2a119a941253d2b64c4b4f8724acce08407a2 (patch) | |
tree | aa3a7c97bf422bfa5651d93e13d0ffdca58b65a6 /vespa-maven-plugin/src/test/resources | |
parent | 37cc1486513e3d530c9e6a6534f1297b61f65ba7 (diff) |
Add effective services mojo
Diffstat (limited to 'vespa-maven-plugin/src/test/resources')
5 files changed, 50 insertions, 0 deletions
diff --git a/vespa-maven-plugin/src/test/resources/effective-services/dev.xml b/vespa-maven-plugin/src/test/resources/effective-services/dev.xml new file mode 100644 index 00000000000..d6343e7ace7 --- /dev/null +++ b/vespa-maven-plugin/src/test/resources/effective-services/dev.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<services xmlns:deploy="vespa"> + <container> + <component id="good-service-client"> + <config> + <url>dev.tld</url> + </config> + </component> + </container> +</services> diff --git a/vespa-maven-plugin/src/test/resources/effective-services/prod_us-east-3.xml b/vespa-maven-plugin/src/test/resources/effective-services/prod_us-east-3.xml new file mode 100644 index 00000000000..0bab4b7e74a --- /dev/null +++ b/vespa-maven-plugin/src/test/resources/effective-services/prod_us-east-3.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<services xmlns:deploy="vespa"> + <container> + <component id="good-service-client"> + <config> + <url>us-east-3.prod.tld</url> + </config> + </component> + </container> +</services> diff --git a/vespa-maven-plugin/src/test/resources/effective-services/prod_us-west-1.xml b/vespa-maven-plugin/src/test/resources/effective-services/prod_us-west-1.xml new file mode 100644 index 00000000000..e29ba231092 --- /dev/null +++ b/vespa-maven-plugin/src/test/resources/effective-services/prod_us-west-1.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<services xmlns:deploy="vespa"> + <container> + <component id="good-service-client"> + <config> + </config> + </component> + </container> +</services> diff --git a/vespa-maven-plugin/src/test/resources/effective-services/services.xml b/vespa-maven-plugin/src/test/resources/effective-services/services.xml new file mode 100644 index 00000000000..bf183f474e4 --- /dev/null +++ b/vespa-maven-plugin/src/test/resources/effective-services/services.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<services xmlns:deploy="vespa"> + <container> + <component id="good-service-client"> + <config> + <url deploy:environment="dev">dev.tld</url> + <url deploy:environment="prod" deploy:region="us-east-3">us-east-3.prod.tld</url> + </config> + </component> + </container> +</services>
\ No newline at end of file diff --git a/vespa-maven-plugin/src/test/resources/effective-services/test_us-east-1.xml b/vespa-maven-plugin/src/test/resources/effective-services/test_us-east-1.xml new file mode 100644 index 00000000000..7f9e1bb93b9 --- /dev/null +++ b/vespa-maven-plugin/src/test/resources/effective-services/test_us-east-1.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<services xmlns:deploy="vespa"> + <container> + <component id="good-service-client"> + <config> + <url>us-east-1.tld</url> + </config> + </component> + </container> +</services> |