Commit 953fa23a by zhangxiaoyan

app tag add

parent 8dcea1a8
......@@ -23,5 +23,283 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:javax.servlet-api:3.0.1" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context-support:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-jpa:1.3.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:1.5.1.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-orm:3.1.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:3.1.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.7.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aspects:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.9" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-redis:1.7.1.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-keyvalue:1.1.1.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-tx:4.2.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-oxm:4.2.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:2.9.1" level="project" />
<orderEntry type="library" name="Maven: com.googlecode.ehcache-spring-annotations:ehcache-spring-annotations:1.1.2" level="project" />
<orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache-core:2.1.0" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-core:4.2.1.Final" level="project" />
<orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
<orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
<orderEntry type="library" name="Maven: org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:1.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:4.2.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.common:hibernate-commons-annotations:4.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.0.0.Final" level="project" />
<orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.1.1.GA" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml:classmate:0.8.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.glassfish.web:javax.el:2.2.4" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: javax.el:javax.el-api:2.2.4" level="project" />
<orderEntry type="library" name="Maven: org.xerial.snappy:snappy-java:1.1.2.6" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.5" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.5" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.3" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.3" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-access:1.1.3" level="project" />
<orderEntry type="library" name="Maven: org.logback-extensions:logback-ext-spring:0.1.2" level="project" />
<orderEntry type="library" name="Maven: org.javassist:javassist:3.20.0-GA" level="project" />
<orderEntry type="module-library">
<library name="Maven: com.dianping.cat:cat-client:2.0.0">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/cat-client-2.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Maven: com.dianping.cat:cat-core:2.0.0">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/cat-core-2.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Maven: org.unidal.framework:foundation-service:4.0.0">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/foundation-service-4.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="Maven: io.netty:netty-all:4.0.23.Final" level="project" />
<orderEntry type="library" name="Maven: com.google.code.gson:gson:1.6" level="project" />
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.25" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.5" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.5" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.5" level="project" />
<orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
<orderEntry type="library" name="Maven: redis.clients:jedis:2.8.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.3" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:druid:1.0.14" level="project" />
<orderEntry type="module-library">
<library name="Maven: com.alibaba:jconsole:1.8.0">
<CLASSES>
<root url="jar://D:/java/jdk1.8.0_91/lib/jconsole.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Maven: com.alibaba:tools:1.8.0">
<CLASSES>
<root url="jar://D:/java/jdk1.8.0_91/lib/tools.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="Maven: net.sf.json-lib:json-lib:jdk15:2.4" level="project" />
<orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.8.0" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
<orderEntry type="library" name="Maven: net.sf.ezmorph:ezmorph:1.0.6" level="project" />
<orderEntry type="library" name="Maven: commons-lang:commons-lang:2.6" level="project" />
<orderEntry type="library" name="Maven: org.json:json:20090211" level="project" />
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.2.2" level="project" />
<orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
<orderEntry type="library" name="Maven: com.belerweb:pinyin4j:2.5.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-email:1.2" level="project" />
<orderEntry type="library" name="Maven: javax.mail:mail:1.4.1" level="project" />
<orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.googlecode.jmockit:jmockit:1.5" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.googlecode.jmockit:jmockit-coverage:0.999.24" level="project" />
<orderEntry type="library" name="Maven: org.jdom:jdom:1.1.3" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:aws-java-sdk-dynamodb:1.11.52" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:aws-java-sdk-s3:1.11.52" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:aws-java-sdk-kms:1.11.52" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:aws-java-sdk-core:1.11.52" level="project" />
<orderEntry type="library" name="Maven: software.amazon.ion:ion-java:1.0.1" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.6" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:jmespath-java:1.0" level="project" />
<orderEntry type="library" name="Maven: org.jsoup:jsoup:1.6.3" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.jettison:jettison:1.3.7" level="project" />
<orderEntry type="library" name="Maven: stax:stax-api:1.0.1" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
<orderEntry type="library" name="Maven: commons-httpclient:commons-httpclient:3.1" level="project" />
<orderEntry type="library" name="Maven: com.sun.jersey:jersey-core:1.8" level="project" />
<orderEntry type="library" name="Maven: org.webjars.npm:isemail:2.1.0" level="project" />
<orderEntry type="library" name="Maven: commons-net:commons-net:3.6" level="project" />
<orderEntry type="library" name="Maven: dnsjava:dnsjava:2.1.8" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi:3.16" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:3.16" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:3.16" level="project" />
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.6.0" level="project" />
<orderEntry type="library" name="Maven: com.github.virtuald:curvesapi:1.04" level="project" />
<orderEntry type="library" name="Maven: org.anarres.lzo:lzo-core:1.0.5" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:annotations:2.0.3" level="project" />
<orderEntry type="library" name="Maven: com.google.api-ads:ads-lib:3.9.0" level="project" />
<orderEntry type="library" name="Maven: com.google.inject:guice:4.0" level="project" />
<orderEntry type="library" name="Maven: com.google.inject.extensions:guice-assistedinject:4.0" level="project" />
<orderEntry type="library" name="Maven: com.google.inject.extensions:guice-multibindings:4.0" level="project" />
<orderEntry type="library" name="Maven: commons-configuration:commons-configuration:1.10" level="project" />
<orderEntry type="library" name="Maven: net.sf.opencsv:opencsv:1.8" level="project" />
<orderEntry type="library" name="Maven: joda-time:joda-time:2.8.2" level="project" />
<orderEntry type="library" name="Maven: com.google.api-client:google-api-client:1.22.0" level="project" />
<orderEntry type="library" name="Maven: com.google.oauth-client:google-oauth-client:1.22.0" level="project" />
<orderEntry type="library" name="Maven: com.google.api-ads:adwords-axis:3.9.0" level="project" />
<orderEntry type="library" name="Maven: com.google.api-ads:ads-lib-axis:3.9.0" level="project" />
<orderEntry type="library" name="Maven: commons-discovery:commons-discovery:0.4" level="project" />
<orderEntry type="library" name="Maven: javax.xml:jaxrpc-api:1.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.axis:axis:1.4" level="project" />
<orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.2" level="project" />
<orderEntry type="library" name="Maven: com.google.http-client:google-http-client-jackson2:1.22.0" level="project" />
<orderEntry type="library" name="Maven: com.google.http-client:google-http-client:1.22.0" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:1.3.9" level="project" />
<orderEntry type="library" name="Maven: com.beust:jcommander:1.48" level="project" />
<orderEntry type="library" name="Maven: com.facebook.presto:presto-jdbc:0.170" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive:hive-jdbc:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive:hive-common:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: commons-cli:commons-cli:1.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.1" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.aggregate:jetty-all:7.6.0.v20120127" level="project" />
<orderEntry type="library" name="Maven: javax.servlet:servlet-api:2.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jaspic_1.0_spec:1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-annotation_1.0_spec:1.1.1" level="project" />
<orderEntry type="library" name="Maven: asm:asm-commons:3.1" level="project" />
<orderEntry type="library" name="Maven: asm:asm-tree:3.1" level="project" />
<orderEntry type="library" name="Maven: com.codahale.metrics:metrics-core:3.0.2" level="project" />
<orderEntry type="library" name="Maven: com.codahale.metrics:metrics-jvm:3.0.2" level="project" />
<orderEntry type="library" name="Maven: com.codahale.metrics:metrics-json:3.0.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive:hive-service:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: net.sf.jpam:jpam:1.1" level="project" />
<orderEntry type="library" name="Maven: tomcat:jasper-compiler:5.5.23" level="project" />
<orderEntry type="library" name="Maven: tomcat:jasper-runtime:5.5.23" level="project" />
<orderEntry type="library" name="Maven: commons-el:commons-el:1.0" level="project" />
<orderEntry type="library" name="Maven: javax.servlet.jsp:jsp-api:2.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.curator:curator-recipes:2.6.0" level="project" />
<orderEntry type="library" name="Maven: org.jamon:jamon-runtime:2.3.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive:hive-serde:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.avro:avro:1.7.6-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: com.thoughtworks.paranamer:paranamer:2.3" level="project" />
<orderEntry type="library" name="Maven: com.twitter:parquet-hadoop-bundle:1.5.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: com.sun.jersey:jersey-servlet:1.14" level="project" />
<orderEntry type="library" name="Maven: com.sun.jersey:jersey-server:1.14" level="project" />
<orderEntry type="library" name="Maven: asm:asm:3.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive:hive-metastore:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: com.jolbox:bonecp:0.8.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.apache.derby:derby:10.11.1.1" level="project" />
<orderEntry type="library" name="Maven: org.datanucleus:datanucleus-api-jdo:3.2.6" level="project" />
<orderEntry type="library" name="Maven: org.datanucleus:datanucleus-rdbms:3.2.9" level="project" />
<orderEntry type="library" name="Maven: commons-pool:commons-pool:1.5.4" level="project" />
<orderEntry type="library" name="Maven: commons-dbcp:commons-dbcp:1.4" level="project" />
<orderEntry type="library" name="Maven: javax.jdo:jdo-api:3.0.1" level="project" />
<orderEntry type="library" name="Maven: javax.transaction:jta:1.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive:hive-shims:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive.shims:hive-shims-common:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.hive.shims:hive-shims-0.23:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.hadoop:hadoop-yarn-server-resourcemanager:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.google.inject.extensions:guice-servlet:3.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey.contribs:jersey-guice:1.9" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.hadoop:hadoop-yarn-common:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.hadoop:hadoop-yarn-api:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.2.2" level="project" />
<orderEntry type="library" name="Maven: javax.xml.stream:stax-api:1.0-2" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey:jersey-client:1.9" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.hadoop:hadoop-yarn-server-common:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.fusesource.leveldbjni:leveldbjni-all:1.8" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.hadoop:hadoop-yarn-server-applicationhistoryservice:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.hadoop:hadoop-yarn-server-web-proxy:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.hive.shims:hive-shims-scheduler:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.mockito:mockito-all:1.9.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.2.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.2.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.thrift:libthrift:0.9.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.zookeeper:zookeeper:3.4.5-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.curator:curator-framework:2.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.curator:curator-client:2.6.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-log4j12:1.7.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive:hive-exec:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hive:hive-ant:1.1.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.velocity:velocity:1.5" level="project" />
<orderEntry type="library" name="Maven: oro:oro:2.0.8" level="project" />
<orderEntry type="library" name="Maven: org.cloudera.logredactor:logredactor:1.0.3" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-jaxrs:1.8.8" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.8.8" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.8.8" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-xc:1.8.8" level="project" />
<orderEntry type="library" name="Maven: log4j:log4j:1.2.16" level="project" />
<orderEntry type="library" name="Maven: log4j:apache-log4j-extras:1.2.17" level="project" />
<orderEntry type="library" name="Maven: org.antlr:antlr-runtime:3.4" level="project" />
<orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2.1" level="project" />
<orderEntry type="library" name="Maven: org.antlr:ST4:4.0.4" level="project" />
<orderEntry type="library" name="Maven: org.apache.ant:ant:1.9.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.ant:ant-launcher:1.9.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-compress:1.4.1" level="project" />
<orderEntry type="library" name="Maven: org.tukaani:xz:1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.thrift:libfb303:0.9.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.ivy:ivy:2.4.0" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.groovy:groovy-all:2.4.4" level="project" />
<orderEntry type="library" name="Maven: org.datanucleus:datanucleus-core:3.2.10" level="project" />
<orderEntry type="library" name="Maven: org.apache.calcite:calcite-core:1.0.0-incubating" level="project" />
<orderEntry type="library" name="Maven: org.apache.calcite:calcite-linq4j:1.0.0-incubating" level="project" />
<orderEntry type="library" name="Maven: org.pentaho:pentaho-aggdesigner-algorithm:5.1.5-jhyde" level="project" />
<orderEntry type="library" name="Maven: eigenbase:eigenbase-properties:1.1.4" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.janino:janino:2.7.6" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.janino:commons-compiler:2.7.6" level="project" />
<orderEntry type="library" name="Maven: org.apache.calcite:calcite-avatica:1.0.0-incubating" level="project" />
<orderEntry type="library" name="Maven: jline:jline:2.12" level="project" />
<orderEntry type="library" name="Maven: org.apache.hbase:hbase-common:1.2.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hbase:hbase-protocol:1.2.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hbase:hbase-annotations:1.2.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: com.google.protobuf:protobuf-java:2.5.0" level="project" />
<orderEntry type="library" name="Maven: org.mortbay.jetty:jetty-util:6.1.26.cloudera.4" level="project" />
<orderEntry type="library" name="Maven: org.apache.htrace:htrace-core:3.2.0-incubating" level="project" />
<orderEntry type="library" name="Maven: org.apache.hadoop:hadoop-annotations:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.hadoop:hadoop-common:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-math3:3.1.1" level="project" />
<orderEntry type="library" name="Maven: xmlenc:xmlenc:0.52" level="project" />
<orderEntry type="library" name="Maven: org.mortbay.jetty:jetty:6.1.26.cloudera.4" level="project" />
<orderEntry type="library" name="Maven: com.sun.jersey:jersey-json:1.9" level="project" />
<orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.2.3-1" level="project" />
<orderEntry type="library" name="Maven: net.java.dev.jets3t:jets3t:0.9.0" level="project" />
<orderEntry type="library" name="Maven: com.jamesmurty.utils:java-xmlbuilder:0.4" level="project" />
<orderEntry type="library" name="Maven: org.apache.hadoop:hadoop-auth:2.6.0-cdh5.12.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.directory.server:apacheds-kerberos-codec:2.0.0-M15" level="project" />
<orderEntry type="library" name="Maven: org.apache.directory.server:apacheds-i18n:2.0.0-M15" level="project" />
<orderEntry type="library" name="Maven: org.apache.directory.api:api-asn1-api:1.0.0-M20" level="project" />
<orderEntry type="library" name="Maven: org.apache.directory.api:api-util:1.0.0-M20" level="project" />
<orderEntry type="library" name="Maven: com.jcraft:jsch:0.1.42" level="project" />
<orderEntry type="library" name="Maven: org.apache.htrace:htrace-core4:4.0.1-incubating" level="project" />
<orderEntry type="library" name="Maven: com.github.stephenc.findbugs:findbugs-annotations:1.3.9-1" level="project" />
<orderEntry type="library" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
</component>
</module>
\ No newline at end of file
package com.reyun.controller;
import com.reyun.service.IDicService;
import com.reyun.util.ResultModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* description:
*
* @author nolan
* @date 25/12/2017
*/
@Controller
@RequestMapping("dic")
public class DicController
{
@Autowired
private IDicService iDicService;
@RequestMapping(value = "findbycampaign", method = RequestMethod.GET)
@ResponseBody
public ResultModel findDicsByCampaign() {
return ResultModel.OK(iDicService.findByCampaign());
}
}
package com.reyun.model;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
@JsonIdentityInfo(generator=ObjectIdGenerators.IntSequenceGenerator.class, property="@id")
@Entity
public class App {
......@@ -21,7 +31,7 @@ public class App {
private String appkey;
private String url;
private Long account;
// private boolean sync;
private boolean sync;
// private boolean isActive;
private Long origiApp;
private String bundleid;
......@@ -35,17 +45,22 @@ public class App {
private String modifyAccount;
private Boolean delFlag;
//是否同步DDB
// private Boolean syncDdb;
private Boolean syncDdb;
private Long installNum;
private Long registerNum;
//是够是debug模式 true 是测试,false不是测试
private Boolean isDebug;
private Boolean ioExhaust;
private Boolean trackAndIoBothExhaust;
private Boolean mainAccountExpire;
private Boolean distributeTask;
private Date distributeTime;
private String tagType;
private List<AppTag> appTagList;
public App() {
super();
......@@ -59,7 +74,7 @@ public class App {
}
public App(String name, String platform, String appGenre, String gameGenre,
Long account) {
Long account) {
this.name = name;
this.platform = platform;
this.appGenre = appGenre;
......@@ -125,6 +140,9 @@ public class App {
return url;
}
public boolean isSync() {
return sync;
}
public void setAccount(Long account) {
this.account = account;
......@@ -154,6 +172,10 @@ public class App {
this.platform = platform;
}
public void setSync(boolean sync) {
this.sync = sync;
}
public void setUrl(String url) {
this.url = url;
}
......@@ -246,16 +268,21 @@ public class App {
this.isDebug = isDebug;
}
public Boolean getSyncDdb() {
return syncDdb;
}
public void setSyncDdb(Boolean syncDdb) {
this.syncDdb = syncDdb;
}
@Transient
public Boolean getIoExhaust()
{
return ioExhaust;
public Boolean getTrackAndIoBothExhaust() {
return trackAndIoBothExhaust;
}
public void setIoExhaust(Boolean ioExhaust)
{
this.ioExhaust = ioExhaust;
public void setTrackAndIoBothExhaust(Boolean trackAndIoBothExhaust) {
this.trackAndIoBothExhaust = trackAndIoBothExhaust;
}
@Transient
......@@ -285,12 +312,54 @@ public class App {
this.registerNum = registerNum;
}
@Override
public Boolean getDebug() {
return isDebug;
}
public void setDebug(Boolean debug) {
isDebug = debug;
}
public Boolean getDistributeTask() {
return distributeTask;
}
public void setDistributeTask(Boolean distributeTask) {
this.distributeTask = distributeTask;
}
public Date getDistributeTime() {
return distributeTime;
}
public void setDistributeTime(Date distributeTime) {
this.distributeTime = distributeTime;
}
@OneToMany(targetEntity = AppTag.class,fetch = FetchType.EAGER, cascade = CascadeType.DETACH)
@JoinColumn(name = "app", referencedColumnName = "id", insertable = false, updatable = false)
public List<AppTag> getAppTagList() {
return appTagList;
}
public void setAppTagList(List<AppTag> appTagList) {
this.appTagList = appTagList;
}
public String getTagType() {
return tagType;
}
public void setTagType(String tagType) {
this.tagType = tagType;
}
@Override
public String toString() {
return "App [id=" + id + ", name=" + name + ", platform=" + platform
+ ", appGenre=" + appGenre + ", gameGenre=" + gameGenre
+ ", appkey=" + appkey + ", url=" + url + ", account="
+ account + ", origiApp=" + origiApp
+ account + ", sync=" + sync + ", origiApp=" + origiApp
+ ", bundleid=" + bundleid + ", token=" + token
+ ", installtoken=" + installtoken + ", regedbutton="
+ regedbutton + ", createTime=" + createTime
......
package com.reyun.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
/**
* description:
*
* @author nolan
* @date 26/12/2017
*/
@Entity
public class AppTag implements java.io.Serializable{
private Long id;
private Long app;
private String tagId;
private String tagName;
private String parentTagId;
private String parentTagName;
@Id
@GeneratedValue
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getApp() {
return app;
}
public void setApp(Long app) {
this.app = app;
}
public String getTagId() {
return tagId;
}
public void setTagId(String tagId) {
this.tagId = tagId;
}
public String getTagName() {
return tagName;
}
public void setTagName(String tagName) {
this.tagName = tagName;
}
public String getParentTagId() {
return parentTagId;
}
public void setParentTagId(String parentTagId) {
this.parentTagId = parentTagId;
}
public String getParentTagName() {
return parentTagName;
}
public void setParentTagName(String parentTagName) {
this.parentTagName = parentTagName;
}
}
package com.reyun.model;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
* description:
*
* @author nolan
* @date 25/12/2017
*/
@Entity
@IdClass(SyDicItemPK.class)
public class SyDicItem
{
@NotNull
@Id
private String itemCode;
@NotNull
private String itemValue;
@NotNull
private Integer itemOrder;
@NotNull
private Integer itemLevel;
private String itemPid;
@NotNull
@Id
private String dicCode;
@Transient
private List<SyDicItem> child;
public String getItemCode() {
return itemCode;
}
public void setItemCode(String itemCode) {
this.itemCode = itemCode;
}
public String getItemValue() {
return itemValue;
}
public void setItemValue(String itemValue) {
this.itemValue = itemValue;
}
public Integer getItemOrder() {
return itemOrder;
}
public void setItemOrder(Integer itemOrder) {
this.itemOrder = itemOrder;
}
public Integer getItemLevel() {
return itemLevel;
}
public void setItemLevel(Integer itemLevel) {
this.itemLevel = itemLevel;
}
public String getItemPid() {
return itemPid;
}
public void setItemPid(String itemPid) {
this.itemPid = itemPid;
}
public String getDicCode() {
return dicCode;
}
public void setDicCode(String dicCode) {
this.dicCode = dicCode;
}
public List<SyDicItem> getChild() {
return child;
}
public void setChild(List<SyDicItem> child) {
this.child = child;
}
}
package com.reyun.repository;
import java.util.List;
import com.reyun.model.App;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import com.reyun.model.App;
import java.util.List;
public interface AppRepository extends JpaRepository<App, Long> {
public interface AppRepository extends JpaRepository<App, Long>
{
@Query(value = "select * from app where account in (select id from account where parent = ?1 or id = ?1) and del_flag is not true", nativeQuery = true)
List<App> listAppByRootAccount(Long account);
......@@ -18,10 +18,13 @@ public interface AppRepository extends JpaRepository<App, Long> {
List<App> findByAccount(Long account);
@Query(value = "select * from app where account =?1 and bundleid = ?2 and del_flag is not true", nativeQuery = true)
App findByBundleidInNotDel(Long account, String bundleid);
App findByBundleidInNotDel(Long account, String bundleid);
@Query(value = "select * from app where account =?1 and name = ?2 and del_flag is not true", nativeQuery = true)
App findByNameNotDel(Long account, String name);
App findByNameNotDel(Long account, String name);
@Query(value = "select * from app where sync_ddb is false and del_flag is not true", nativeQuery = true)
List<App> findNotSyncAppDebug();
@Query(value = "select * from app where token = ?1 limit 1", nativeQuery = true)
App findOneByAppToken(String token);
......@@ -29,6 +32,12 @@ public interface AppRepository extends JpaRepository<App, Long> {
@Query(value = "select * from app where id in ?1", nativeQuery = true)
List<App> findByIds(List<Long> ids);
@Query(value = "SELECT DISTINCT t2.* FROM campaign t0 JOIN channel t1 ON t0.channel = t1.id JOIN app t2 ON t0.app = t2.id WHERE t0.del_flag is not true and (t1.type!='ry_coop' or t1.type is NULL) and t1.category = 'ADVERTISING' and t2.id in ?1 and t2.platform = ?2 and t2.del_flag is not TRUE" , nativeQuery = true)
List<App> findAppsFromOnelink(List<Long> appids, String platform);
@Query(value = "SELECT DISTINCT t2.* FROM campaign t0 JOIN channel t1 ON t0.channel = t1.id JOIN app t2 ON t0.app = t2.id WHERE t0.del_flag is not true and (t1.type!='ry_coop' or t1.type is NULL) and t1.category = 'ADVERTISING' and t2.id = ?1" , nativeQuery = true)
App findAppFromOnelink(Long appid);
@Query(value = "select * from app where appkey in ?1", nativeQuery = true)
List<App> findByAppkeys(List<String> appkeys);
......@@ -53,4 +62,6 @@ public interface AppRepository extends JpaRepository<App, Long> {
@Query(value = "select create_account from app where appkey=?1", nativeQuery = true)
String findCreateAccountByAppkey(String appKey);
@Query(value = "select DISTINCT a.* from app a right join data_auth d on a.id = d.app where d.account = ?1 and d.channel = ?2 and (d.all_campaign is true or d.channel_permit is true)", nativeQuery = true)
List<App> listApps(Long accountId, Long channelId);
}
package com.reyun.repository;
import com.reyun.model.AppTag;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
/**
* description:
*
* @author nolan
* @date 26/12/2017
*/
public interface AppTagRepository extends CrudRepository<AppTag, Long>
{
List<AppTag> findByApp(Long app);
Long deleteByApp(Long app);
}
package com.reyun.repository;
import com.reyun.model.SyDicItem;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
/**
* description:
*
* @author nolan
* @date 25/12/2017
*/
public interface SyDicItemRepository
extends JpaRepository<SyDicItem, String>
{
List<SyDicItem> findByDicCodeIn(List<String> dicCodes);
List<SyDicItem> findByDicCode(String dicCode);
List<SyDicItem> findByItemCodeIn(List<String> itemCodes);
}
\ No newline at end of file
package com.reyun.service;
import com.reyun.model.AppTag;
import java.util.List;
/**
* description:
*
* @author nolan
* @date 26/12/2017
*/
public interface IAppTagService
{
/**
*
* @param app
* @return
*/
List<AppTag> findByApp(Long app);
void saveOrUpdate(Long app, List<AppTag> appTagList);
}
package com.reyun.service;
import com.reyun.model.SyDicItem;
import java.util.List;
import java.util.Map;
/**
* description:
*
* @author nolan
* @date 25/12/2017
*/
public interface IDicService
{
/**
* {
* "game": {
* itemCode: "",
* itemName: "",
* child: {
* {
* itemCode: "",
* ItemName: "",
* child: {
*
* }
* }
* }
* },
* "app": {
* ......
* },
* "test": {
* ......
* }
* }
*/
Map<String,Object> findByCampaign();
List<SyDicItem> find(List<String> tagIds) ;
}
......@@ -12,6 +12,8 @@ import com.reyun.repository.*;
import com.reyun.service.AppService;
import com.reyun.service.AuthService;
import com.reyun.service.ConfigParamService;
import com.reyun.service.IAppTagService;
import com.reyun.service.IDicService;
import com.reyun.util.CipherUtil;
import com.reyun.util.Constant;
import com.reyun.util.DateUtil;
......@@ -27,6 +29,7 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@Service
public class AppServiceImpl implements AppService {
......@@ -49,6 +52,12 @@ public class AppServiceImpl implements AppService {
@Autowired
ConfigParamService configParamService;
@Autowired
private IDicService iDicService;
@Autowired
private IAppTagService iAppTagService;
@Override
public List<App> listAuthAppByAccount(Account account, Long subAccountId) {
......@@ -112,7 +121,10 @@ public class AppServiceImpl implements AppService {
@Override
public App findById(Long id) {
return appRepository.findOne(id);
App one = appRepository.findOne(id);
one.setAppTagList(iAppTagService.findByApp(id));
return one;
}
@Override
......@@ -141,6 +153,30 @@ public class AppServiceImpl implements AppService {
/*//同步DDB,同步APP的测试模式状态
this.syncAppDebugStatus(app);*/
if (app.getAppTagList() != null && app.getAppTagList().size() > 0) {
List<String> tagIdsList = app.getAppTagList().stream().map(AppTag::getTagId).collect(Collectors.toList());
final List<SyDicItem> subNodeList = iDicService.find(tagIdsList);
List<String> parentTagIdsList = subNodeList.stream().map(SyDicItem::getItemPid).collect(Collectors.toList());
final List<SyDicItem> parentNodeList = iDicService.find(parentTagIdsList);
Map<String, SyDicItem> dicMap = Maps.uniqueIndex(subNodeList, SyDicItem::getItemCode);
Map<String, SyDicItem> dicParentMap = Maps.uniqueIndex(parentNodeList, SyDicItem::getItemCode);
app.getAppTagList().forEach(appTag -> {
SyDicItem syDicItem = dicMap.get(appTag.getTagId());
if (syDicItem != null) {
appTag.setTagName(syDicItem.getItemValue());
appTag.setParentTagId(syDicItem.getItemPid());
if (dicParentMap.containsKey(syDicItem.getItemPid())) {
appTag.setParentTagName(dicParentMap.get(syDicItem.getItemPid()).getItemValue());
}
}
});
this.iAppTagService.saveOrUpdate(app.getId(), app.getAppTagList());
}
return app;
}
......@@ -154,6 +190,23 @@ public class AppServiceImpl implements AppService {
app.setName(resource.getName());
app.setBundleid(resource.getBundleid());
app.setUrl(resource.getUrl());
app.setAppTagList(resource.getAppTagList());
app.setTagType(resource.getTagType());
final List<AppTag> appTagList = resource.getAppTagList();
if (appTagList != null && appTagList.size() > 0) {
List<String> tagIdsList = appTagList.stream().map(AppTag::getTagId).collect(Collectors.toList());
Map<String,SyDicItem> dicMap = Maps.uniqueIndex(iDicService.find(tagIdsList), SyDicItem::getItemCode);
appTagList.forEach(appTag -> {
SyDicItem syDicItem = dicMap.get(appTag.getTagId());
if (syDicItem != null) {
appTag.setTagName(syDicItem.getItemValue());
appTag.setParentTagId(syDicItem.getItemPid());
}
});
this.iAppTagService.saveOrUpdate(resource.getId(), appTagList);
}
return appRepository.save(app);
}
......
package com.reyun.service.impl;
import com.reyun.model.AppTag;
import com.reyun.repository.AppTagRepository;
import com.reyun.service.IAppTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* description:
*
* @author nolan
* @date 26/12/2017
*/
@Service
public class AppTagServiceImpl
implements IAppTagService{
@Autowired
private AppTagRepository appTagRepository;
@Override
public List<AppTag> findByApp(Long app) {
return appTagRepository.findByApp(app);
}
@Override
public void saveOrUpdate(Long app, List<AppTag> appTagList) {
appTagRepository.deleteByApp(app);
appTagList.forEach(appTag -> {
appTag.setApp(app);
});
this.appTagRepository.save(appTagList);
}
}
package com.reyun.service.impl;
import com.beust.jcommander.internal.Maps;
import com.google.common.collect.Lists;
import com.reyun.model.SyDicItem;
import com.reyun.repository.SyDicItemRepository;
import com.reyun.service.IDicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* description:
*
* @author nolan
* @date 25/12/2017
*/
@Service
public class DicServiceImpl
implements IDicService
{
private static final String DIC_GAME_CODE = "02";
private static final String DIC_APP_CODE = "04";
@Autowired
private SyDicItemRepository syDicItemRepository;
@Override
public Map<String, Object> findByCampaign() {
Map<String, Object> rtnMap = Maps.newHashMap();
List<SyDicItem> dicItemList = syDicItemRepository.findByDicCode(DIC_GAME_CODE);
rtnMap.put("game", buildTree(null, dicItemList));
dicItemList = syDicItemRepository.findByDicCode(DIC_APP_CODE);
rtnMap.put("app", buildTree(null, dicItemList));
rtnMap.put("test", "");
return rtnMap;
}
@Override
public List<SyDicItem> find(List<String> tagIds) {
return this.syDicItemRepository.findByItemCodeIn(tagIds);
}
private List<SyDicItem> buildTree(String pid, List<SyDicItem> menuList) {
if (pid == null) {
List<SyDicItem> rtnList = Lists.newArrayList();
List subSyDicItemList = menuList.stream().filter(menu -> menu.getItemPid() != null).collect(Collectors.toList());
menuList.stream().filter(menu -> menu.getItemPid() == null).forEach(menu -> {
List<SyDicItem> subList = buildTree(menu.getItemCode(), subSyDicItemList);
menu.setChild(subList);
rtnList.add(menu);
});
return rtnList;
} else {
List<SyDicItem> result = Lists.newArrayList();
for (SyDicItem menuItem : menuList) {
if (menuItem.getItemPid().equals(pid)) {
List<SyDicItem> children = buildTree(menuItem.getItemCode(), menuList);
if (null != children && 0 < children.size()) {
menuItem.setChild(children);
}
result.add(menuItem);
}
}
return result;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment