diff --git a/examples/web/.gitignore b/examples/web/.gitignore new file mode 100644 index 000000000..0ab7f4b8e --- /dev/null +++ b/examples/web/.gitignore @@ -0,0 +1,5 @@ +/target/ +/*.iml +/.settings/ +/.classpath +/.project diff --git a/examples/web/pom.xml b/examples/web/pom.xml new file mode 100644 index 000000000..5208a2dc2 --- /dev/null +++ b/examples/web/pom.xml @@ -0,0 +1,68 @@ + + 4.0.0 + + Naver Corporation + http://www.navercorp.com/ + + com.navercorp.pinpoint + pinpoint-example-web + Pinpoint Web Example + 1.0.4-SNAPSHOT + war + + + UTF-8 + + + + + com.navercorp.pinpoint + pinpoint-web + ${project.version} + war + + + + + + + ${basedir}/src/main/java + + **/*.java + + + + true + ${basedir}/src/main/resources + + + + + org.apache.maven.plugins + maven-war-plugin + + + + com.navercorp.pinpoint + pinpoint-web + + + target/deploy + + + + org.apache.tomcat.maven + tomcat7-maven-plugin + 2.2 + + / + 8080 + utf-8 + ${basedir}/target/deploy + + + + + + \ No newline at end of file diff --git a/examples/web/src/main/resources/batch.properties b/examples/web/src/main/resources/batch.properties new file mode 100644 index 000000000..1da40068a --- /dev/null +++ b/examples/web/src/main/resources/batch.properties @@ -0,0 +1,5 @@ +#batch server ip +#batch.server.ip= + +# local +#pinpoint.url= diff --git a/examples/web/src/main/resources/hbase.properties b/examples/web/src/main/resources/hbase.properties new file mode 100644 index 000000000..614a0727b --- /dev/null +++ b/examples/web/src/main/resources/hbase.properties @@ -0,0 +1,4 @@ +# example +hbase.client.host=localhost +hbase.client.port=2181 +hbase.htable.threads.max=4 \ No newline at end of file diff --git a/examples/web/src/main/resources/jdbc.properties b/examples/web/src/main/resources/jdbc.properties new file mode 100644 index 000000000..8c2bd41c3 --- /dev/null +++ b/examples/web/src/main/resources/jdbc.properties @@ -0,0 +1,4 @@ +jdbc.driverClassName= +jdbc.url= +jdbc.username= +jdbc.password= \ No newline at end of file diff --git a/examples/web/src/main/resources/log4j.xml b/examples/web/src/main/resources/log4j.xml new file mode 100644 index 000000000..3c91ed409 --- /dev/null +++ b/examples/web/src/main/resources/log4j.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/web/src/main/resources/pinpoint-web.properties b/examples/web/src/main/resources/pinpoint-web.properties new file mode 100644 index 000000000..382bb005c --- /dev/null +++ b/examples/web/src/main/resources/pinpoint-web.properties @@ -0,0 +1,9 @@ +# local +cluster.enable=false +cluster.web.tcp.port= +cluster.zookeeper.address= +cluster.zookeeper.sessiontimeout= +cluster.zookeeper.retry.interval= + +# FIXME - should be removed for proper authentication +admin.password=admin \ No newline at end of file