diff options
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> |