diff --git a/config/dev/jolokia-access.xml b/config/dev/jolokia-access.xml new file mode 100644 index 00000000000..9b4acde8794 --- /dev/null +++ b/config/dev/jolokia-access.xml @@ -0,0 +1,30 @@ + + + + + post + get + + + + read + list + + + + + + java.lang:type=Memory + gc + + + + + + + com.mchange.v2.c3p0:type=PooledDataSource,* + properties + + + + diff --git a/node/src/test/resources/jolokia-access.xml b/config/test/jolokia-access.xml similarity index 100% rename from node/src/test/resources/jolokia-access.xml rename to config/test/jolokia-access.xml diff --git a/samples/attachment-demo/build.gradle b/samples/attachment-demo/build.gradle index 8a32701ee86..0e813bfbeb9 100644 --- a/samples/attachment-demo/build.gradle +++ b/samples/attachment-demo/build.gradle @@ -35,12 +35,12 @@ repositories { sourceSets { main { resources { - srcDir "config/dev" + srcDir "../../config/dev" } } test { resources { - srcDir "config/test" + srcDir "../../config/test" } } integrationTest { diff --git a/samples/attachment-demo/config/dev/log4j2.xml b/samples/attachment-demo/config/dev/log4j2.xml deleted file mode 100644 index 6bdd95c1414..00000000000 --- a/samples/attachment-demo/config/dev/log4j2.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - logs - node-${hostName} - ${log-path}/archive - - - - - - - - - %highlight{%level{length=1} %d{HH:mm:ss} %T %c{1}.%M - %msg%n}{INFO=white,WARN=red,FATAL=bright red blink} - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/attachment-demo/config/test/log4j2.xml b/samples/attachment-demo/config/test/log4j2.xml deleted file mode 100644 index 9abf5313bb3..00000000000 --- a/samples/attachment-demo/config/test/log4j2.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - [%-5level] %d{HH:mm:ss.SSS} [%t] %c{1}.%M - %msg%n - > - - - - - - - - - - - - diff --git a/samples/irs-demo/build.gradle b/samples/irs-demo/build.gradle index 4e3f9d12747..3fd0ee57f8f 100644 --- a/samples/irs-demo/build.gradle +++ b/samples/irs-demo/build.gradle @@ -33,12 +33,12 @@ repositories { sourceSets { main { resources { - srcDir "config/dev" + srcDir "../../config/dev" } } test { resources { - srcDir "config/test" + srcDir "../../config/test" } } integrationTest { diff --git a/samples/irs-demo/config/dev/log4j2.xml b/samples/irs-demo/config/dev/log4j2.xml deleted file mode 100644 index 34ba4d45a8d..00000000000 --- a/samples/irs-demo/config/dev/log4j2.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - logs - node-${hostName} - ${log-path}/archive - - - - - - - - - %highlight{%level{length=1} %d{HH:mm:ss} %T %c{1}.%M - %msg%n}{INFO=white,WARN=red,FATAL=bright red blink} - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/irs-demo/config/test/log4j2.xml b/samples/irs-demo/config/test/log4j2.xml deleted file mode 100644 index cd9926ca8c8..00000000000 --- a/samples/irs-demo/config/test/log4j2.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - [%-5level] %d{HH:mm:ss.SSS} [%t] %c{1}.%M - %msg%n - > - - - - - - - - - - - - diff --git a/samples/simm-valuation-demo/src/main/resources/jolokia-access.xml b/samples/simm-valuation-demo/src/main/resources/jolokia-access.xml new file mode 100644 index 00000000000..9b4acde8794 --- /dev/null +++ b/samples/simm-valuation-demo/src/main/resources/jolokia-access.xml @@ -0,0 +1,30 @@ + + + + + post + get + + + + read + list + + + + + + java.lang:type=Memory + gc + + + + + + + com.mchange.v2.c3p0:type=PooledDataSource,* + properties + + + + diff --git a/samples/trader-demo/build.gradle b/samples/trader-demo/build.gradle index 3658fdb2004..12202510622 100644 --- a/samples/trader-demo/build.gradle +++ b/samples/trader-demo/build.gradle @@ -33,12 +33,12 @@ repositories { sourceSets { main { resources { - srcDir "config/dev" + srcDir "../../config/dev" } } test { resources { - srcDir "config/test" + srcDir "../../config/test" } } integrationTest { diff --git a/samples/trader-demo/config/dev/log4j2.xml b/samples/trader-demo/config/dev/log4j2.xml deleted file mode 100644 index 6bdd95c1414..00000000000 --- a/samples/trader-demo/config/dev/log4j2.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - logs - node-${hostName} - ${log-path}/archive - - - - - - - - - %highlight{%level{length=1} %d{HH:mm:ss} %T %c{1}.%M - %msg%n}{INFO=white,WARN=red,FATAL=bright red blink} - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/trader-demo/config/test/log4j2.xml b/samples/trader-demo/config/test/log4j2.xml deleted file mode 100644 index 9abf5313bb3..00000000000 --- a/samples/trader-demo/config/test/log4j2.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - [%-5level] %d{HH:mm:ss.SSS} [%t] %c{1}.%M - %msg%n - > - - - - - - - - - - - -