Permana
2018-10-02 2429c55948869951cf10ffea42e8b79054e93068
update price
41 files modified
8 files added
1472 ■■■■ changed files
application.properties 34 ●●●●● patch | view | raw | blame | history
pom.xml 9 ●●●● patch | view | raw | blame | history
processcount.sh 3 ●●●●● patch | view | raw | blame | history
unipin.iml 59 ●●●● patch | view | raw | blame | history
unipin_api_service/src/main/resources/application-dev.properties 2 ●●● patch | view | raw | blame | history
unipin_api_service/unipin-api-service.iml 116 ●●●●● patch | view | raw | blame | history
unipin_bgw_service/unipin-bgw-service.iml 114 ●●●●● patch | view | raw | blame | history
unipin_bot_telegram_service/unipin_bot_telegram_service.iml 98 ●●●●● patch | view | raw | blame | history
unipin_charge_service/pom.xml 2 ●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java 1 ●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargeWorker.java 31 ●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/properties/HutchBillResponse.java 1 ●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/properties/ILineData.java 4 ●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientWapChargingService.java 58 ●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/resources/application.properties 3 ●●●● patch | view | raw | blame | history
unipin_charge_service/unipin-charge-service.iml 30 ●●●● patch | view | raw | blame | history
unipin_cms_service/pom.xml 15 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java 39 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/BBDOController.java 74 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/MainController.java 20 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java 2 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/security/WebSecurityConfig.java 4 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java 22 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java 71 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/application-dev.properties 14 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/application-prod.properties 28 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/application.properties 7 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/logback-spring.xml 21 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml 9 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/static/images/Logo Tri 2017-01 - Copy.png patch | view | raw | blame | history
unipin_cms_service/unipin-cms-service.iml 135 ●●●●● patch | view | raw | blame | history
unipin_database_service/unipin-database-service.iml 109 ●●●●● patch | view | raw | blame | history
unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/Application.java 3 ●●●● patch | view | raw | blame | history
unipin_mo_service/src/main/resources/application-dev.properties 2 ●●● patch | view | raw | blame | history
unipin_mo_service/src/main/resources/logback-spring.xml 8 ●●●● patch | view | raw | blame | history
unipin_mo_service/unipin-mo-service.iml 65 ●●●●● patch | view | raw | blame | history
unipin_model/unipin-model.iml 59 ●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/Application.java 3 ●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java 22 ●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/resources/application-dev.properties 2 ●●● patch | view | raw | blame | history
unipin_notification_service/src/main/resources/logback.xml 26 ●●●● patch | view | raw | blame | history
unipin_notification_service/unipin-notification-service.iml 52 ●●●●● patch | view | raw | blame | history
unipin_request_service/src/main/java/id/co/accessmobile/carrier/billing/requestservice/controller/PaymentRequestController.java 9 ●●●● patch | view | raw | blame | history
unipin_request_service/src/main/java/id/co/accessmobile/carrier/billing/requestservice/properties/Price.java 10 ●●●●● patch | view | raw | blame | history
unipin_request_service/src/main/resources/application-dev.properties 2 ●●● patch | view | raw | blame | history
unipin_request_service/src/main/resources/application-prod.properties 2 ●●● patch | view | raw | blame | history
unipin_request_service/src/main/resources/logback.xml 4 ●●●● patch | view | raw | blame | history
unipin_request_service/unipin-request-service.iml 41 ●●●● patch | view | raw | blame | history
unipin_result_service/unipin-result-service.iml 27 ●●●● patch | view | raw | blame | history
application.properties
....@@ -0,0 +1,34 @@
1
+server-port=9100
2
+#JPA CONFIGURATION
3
+spring.datasource.url=jdbc:mysql://52.74.234.11:3306/line_bgw
4
+spring.datasource.username=line
5
+spring.datasource.password=am9999
6
+
7
+#APPLICATION LEVEL CONFIGURATION
8
+app.line.whitelist.ip=202.158.94.131,202.43.73.235,202.43.73.237
9
+#202.137.31.125-Office IP
10
+#211.43.222.86-Monitoring
11
+#202.159.28.20-Jay Home
12
+
13
+#app.apiurl.auth=http://localhost:8031/%s/billing/authkey?country_code=ID&op_code=%s
14
+#app.apiurl.purchase=http://localhost:8031/%s/billing/purchase?op_code=%s&country_code=ID&trx_id=%s&price=%s&msisdn=%s&prod_id=%s&auth_key=%s
15
+#app.apiurl.delete=http://localhost:8031/%s/billing/deleteVerificationCode?op_code=%s&country_code=ID&trx_id=%s&auth_key=%s
16
+
17
+app.apiurl.auth=http://localhost:%s/%s/billing/authkey?country_code=ID&op_code=%s
18
+app.apiurl.purchase=http://localhost:%s/%s/billing/purchase?op_code=%s&country_code=ID&trx_id=%s&price=%s&msisdn=%s&prod_id=%s&auth_key=%s
19
+app.apiurl.delete=http://localhost:%s/%s/billing/deleteVerificationCode?op_code=%s&country_code=ID&trx_id=%s&auth_key=%s
20
+app.httprequest.timeout=10
21
+app.httprequest.retry.max=20
22
+
23
+app.carrier.port.telkomsel=8031
24
+app.carrier.port.xl=8031
25
+app.carrier.port.indosat=8031
26
+app.carrier.port.smartfren=8032
27
+app.carrier.port.hutch=8033
28
+
29
+app.carrier.prefix.telkomsel=0811,0812,0813,0851,0852,0853,0821,0822,0823
30
+app.carrier.prefix.xl=0817,0818,0819,0859,0879,0878,0877,0838,0831,0832,0833
31
+app.carrier.prefix.indosat=0814,0815,0816,0855,0856,0857,0858
32
+app.carrier.prefix.smartfren=0881,0882,0883,0884,0885,0886,0887,0888,0889
33
+app.carrier.prefix.hutch=0894,0895,0896,0897,0898,0899
34
+
pom.xml
....@@ -65,8 +65,13 @@
6565
6666 <dependency>
6767 <groupId>id.co.qhodok.tools</groupId>
68
- <artifactId>trigger</artifactId>
69
- <version>2.0</version>
68
+ <artifactId>qhodok-tools-logger</artifactId>
69
+ <version>1.0</version>
70
+ </dependency>
71
+ <dependency>
72
+ <groupId>id.co.qhodok.tools</groupId>
73
+ <artifactId>qhodok-tools-telegram</artifactId>
74
+ <version>1.0</version>
7075 </dependency>
7176
7277 <dependency>
processcount.sh
....@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+
3
+ps -ef | grep $1|grep -v grep |awk '{print $2}'|wc -l
unipin.iml
....@@ -16,21 +16,12 @@
1616 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
1717 <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
1818 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.7.RELEASE" level="project" />
19
- <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
2019 <orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.11.RELEASE" level="project" />
2120 <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.11.RELEASE" level="project" />
2221 <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.11.RELEASE" level="project" />
2322 <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.11.RELEASE" level="project" />
2423 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.7.RELEASE" level="project" />
2524 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
26
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
27
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
28
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
29
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
30
- <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
31
- <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
32
- <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
33
- <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
3425 <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
3526 <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
3627 <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
....@@ -44,13 +35,51 @@
4435 <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
4536 <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
4637 <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
47
- <orderEntry type="library" name="Maven: id.co.qhodok.tools:trigger:2.0" level="project" />
48
- <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
49
- <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
50
- <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
51
- <orderEntry type="library" name="Maven: org.zeromq:jeromq:0.4.2" level="project" />
52
- <orderEntry type="library" name="Maven: org.zeromq:jnacl:0.1.0" level="project" />
38
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
39
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
40
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
41
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
42
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
43
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
44
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
45
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
46
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
47
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
48
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
5349 <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
50
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
51
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
52
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
53
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
54
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
55
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
56
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
57
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
58
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
59
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
60
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
61
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
62
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
63
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
64
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
65
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
66
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
67
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
68
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
69
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
70
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
71
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
72
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
73
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
74
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
75
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
76
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
77
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
78
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
79
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
80
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
81
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
82
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
5483 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
5584 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
5685 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
unipin_api_service/src/main/resources/application-dev.properties
....@@ -19,7 +19,7 @@
1919 mybatis.config-location=classpath:mybatis/mybatis-config.xml
2020 logging.level.sample.mybatis.mapper=TRACE
2121
22
-app.line.whitelist.ip=202.43.73.237,202.43.73.235
22
+app.line.whitelist.ip=202.43.73.237,202.43.73.235,35.201.139.206,35.234.31.113,104.199.242.128,104.199.175.52
2323
2424 app.apiurl.auth=http://localhost:%s/%s/billing/authkey?country_code=ID&op_code=%s
2525 app.apiurl.purchase=http://localhost:%s/%s/billing/purchase?op_code=%s&country_code=ID&trx_id=%s&price=%s&msisdn=%s&prod_id=%s&auth_key=%s
unipin_api_service/unipin-api-service.iml
....@@ -0,0 +1,116 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="Spring" name="Spring">
5
+ <configuration />
6
+ </facet>
7
+ <facet type="web" name="Web">
8
+ <configuration>
9
+ <webroots />
10
+ <sourceRoots>
11
+ <root url="file://$MODULE_DIR$/src/main/java" />
12
+ <root url="file://$MODULE_DIR$/src/main/resources" />
13
+ </sourceRoots>
14
+ </configuration>
15
+ </facet>
16
+ </component>
17
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
18
+ <output url="file://$MODULE_DIR$/target/classes" />
19
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
20
+ <content url="file://$MODULE_DIR$">
21
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
22
+ <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
23
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
24
+ <excludeFolder url="file://$MODULE_DIR$/target" />
25
+ </content>
26
+ <orderEntry type="inheritedJdk" />
27
+ <orderEntry type="sourceFolder" forTests="false" />
28
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.7.RELEASE" level="project" />
29
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
30
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.7.RELEASE" level="project" />
31
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.7.RELEASE" level="project" />
32
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
33
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
34
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
35
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
36
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
37
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
38
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
39
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
40
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.7.RELEASE" level="project" />
41
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:8.5.20" level="project" />
42
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.20" level="project" />
43
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.5.20" level="project" />
44
+ <orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.11.RELEASE" level="project" />
45
+ <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.11.RELEASE" level="project" />
46
+ <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.11.RELEASE" level="project" />
47
+ <orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.11.RELEASE" level="project" />
48
+ <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.3.11.RELEASE" level="project" />
49
+ <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.11.RELEASE" level="project" />
50
+ <orderEntry type="module" module-name="unipin-database-service" />
51
+ <orderEntry type="module" module-name="unipin-model" />
52
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
53
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
54
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
55
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
56
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
57
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
58
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
59
+ <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
60
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
61
+ <orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.44" level="project" />
62
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.16.8" level="project" />
63
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpasyncclient:4.1.1" level="project" />
64
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
65
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore-nio:4.4.4" level="project" />
66
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
67
+ <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
68
+ <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
69
+ <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
70
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
71
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
72
+ <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
73
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
74
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
75
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
76
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
77
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
78
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
79
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
80
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
81
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
82
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
83
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
84
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
85
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
86
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
87
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
88
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
89
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
90
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
91
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
92
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
93
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
94
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
95
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
96
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
97
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
98
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
99
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
100
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
101
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
102
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
103
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
104
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
105
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
106
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
107
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
108
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
109
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0" level="project" />
110
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10" level="project" />
111
+ <orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.2.4.Final" level="project" />
112
+ <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
113
+ <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.1.Final" level="project" />
114
+ <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.3.4" level="project" />
115
+ </component>
116
+</module>
unipin_bgw_service/unipin-bgw-service.iml
....@@ -0,0 +1,114 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="Spring" name="Spring">
5
+ <configuration />
6
+ </facet>
7
+ <facet type="web" name="Web">
8
+ <configuration>
9
+ <webroots />
10
+ <sourceRoots>
11
+ <root url="file://$MODULE_DIR$/src/main/java" />
12
+ <root url="file://$MODULE_DIR$/src/main/resources" />
13
+ </sourceRoots>
14
+ </configuration>
15
+ </facet>
16
+ </component>
17
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
18
+ <output url="file://$MODULE_DIR$/target/classes" />
19
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
20
+ <content url="file://$MODULE_DIR$">
21
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
22
+ <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
23
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
24
+ <excludeFolder url="file://$MODULE_DIR$/target" />
25
+ </content>
26
+ <orderEntry type="inheritedJdk" />
27
+ <orderEntry type="sourceFolder" forTests="false" />
28
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.7.RELEASE" level="project" />
29
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
30
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.7.RELEASE" level="project" />
31
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.7.RELEASE" level="project" />
32
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
33
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
34
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
35
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
36
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
37
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
38
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
39
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
40
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.7.RELEASE" level="project" />
41
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:8.5.20" level="project" />
42
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.20" level="project" />
43
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.5.20" level="project" />
44
+ <orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.11.RELEASE" level="project" />
45
+ <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.11.RELEASE" level="project" />
46
+ <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.11.RELEASE" level="project" />
47
+ <orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.11.RELEASE" level="project" />
48
+ <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.3.11.RELEASE" level="project" />
49
+ <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.11.RELEASE" level="project" />
50
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
51
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
52
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
53
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
54
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
55
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
56
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
57
+ <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
58
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
59
+ <orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.44" level="project" />
60
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.16.8" level="project" />
61
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpasyncclient:4.1.1" level="project" />
62
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
63
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore-nio:4.4.4" level="project" />
64
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
65
+ <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
66
+ <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
67
+ <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
68
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
69
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
70
+ <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
71
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
72
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
73
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
74
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
75
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
76
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
77
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
78
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
79
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
80
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
81
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
82
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
83
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
84
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
85
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
86
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
87
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
88
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
89
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
90
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
91
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
92
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
93
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
94
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
95
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
96
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
97
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
98
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
99
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
100
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
101
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
102
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
103
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
104
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
105
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
106
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
107
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0" level="project" />
108
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10" level="project" />
109
+ <orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.2.4.Final" level="project" />
110
+ <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
111
+ <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.1.Final" level="project" />
112
+ <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.3.4" level="project" />
113
+ </component>
114
+</module>
unipin_bot_telegram_service/unipin_bot_telegram_service.iml
....@@ -0,0 +1,98 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="Spring" name="Spring">
5
+ <configuration />
6
+ </facet>
7
+ </component>
8
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
9
+ <output url="file://$MODULE_DIR$/target/classes" />
10
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
11
+ <content url="file://$MODULE_DIR$">
12
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
13
+ <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
14
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
15
+ <excludeFolder url="file://$MODULE_DIR$/target" />
16
+ </content>
17
+ <orderEntry type="inheritedJdk" />
18
+ <orderEntry type="sourceFolder" forTests="false" />
19
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
20
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
21
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
22
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
23
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
24
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
25
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0" level="project" />
26
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
27
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
28
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
29
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
30
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
31
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
32
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
33
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
34
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
35
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
36
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
37
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
38
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
39
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
40
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
41
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
42
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
43
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
44
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
45
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
46
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
47
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
48
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
49
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
50
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
51
+ <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
52
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
53
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
54
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
55
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
56
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
57
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
58
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.7.RELEASE" level="project" />
59
+ <orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.11.RELEASE" level="project" />
60
+ <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.11.RELEASE" level="project" />
61
+ <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.11.RELEASE" level="project" />
62
+ <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.11.RELEASE" level="project" />
63
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.7.RELEASE" level="project" />
64
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
65
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
66
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
67
+ <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
68
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
69
+ <orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.44" level="project" />
70
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.16.8" level="project" />
71
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpasyncclient:4.1.1" level="project" />
72
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
73
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore-nio:4.4.4" level="project" />
74
+ <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
75
+ <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
76
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
77
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
78
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
79
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
80
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
81
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
82
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
83
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
84
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
85
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
86
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
87
+ <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
88
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
89
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
90
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
91
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
92
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10" level="project" />
93
+ <orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.2.4.Final" level="project" />
94
+ <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
95
+ <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.1.Final" level="project" />
96
+ <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.3.4" level="project" />
97
+ </component>
98
+</module>
unipin_charge_service/pom.xml
....@@ -19,7 +19,7 @@
1919 </dependency>
2020 <dependency>
2121 <groupId>com.hcpt.client</groupId>
22
- <artifactId>charginggatewayclient</artifactId>
22
+ <artifactId>chargingGatewayClient</artifactId>
2323 <version>1.0</version>
2424 </dependency>
2525
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java
....@@ -83,7 +83,6 @@
8383 }
8484
8585 public static void main(String[] args) {
86
- //System.out.println("6289690835978".matches(".*89690835978"));
8786 SpringApplication.run(Application.class, args);
8887 }
8988 }
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargeWorker.java
....@@ -82,7 +82,9 @@
8282 if (HutchBillResponse.SUCCESS == response) {
8383 rslt = ILineData.STATUS_SUCCESS;
8484 insertChargeSuccessNotiQueue(request.getFromMsisdn(), billParams.getPrice());
85
-
85
+ } else if (HutchBillResponse.BLOCK_REQUEST == response) {
86
+ rslt = ILineData.STATUS_ERROR_BLOCK;
87
+ insertBlockRequest(request.getFromMsisdn(), billParams.getPrice());
8688 } else {
8789 rslt = ILineData.STATUS_FAILURE;
8890 insertChargeFailureNotiQueue(request.getFromMsisdn(), billParams.getPrice());
....@@ -136,16 +138,18 @@
136138 private int chargeUser(BillParams billParams) {
137139 String logTitle = "chargeUser/Msisdn[" + billParams.getMsisdn() + "], BillCd[" + billParams.getBillId() + "], TrxId[" + billParams.getLineTrxId() + "], ";
138140 int billResponse;
139
- log.info(this.whitelist + " " + billParams.getMsisdn().matches(this.whitelist) + " " + billParams.getMsisdn());
140141 if (billParams.getMsisdn().matches(this.whitelist)) {
141142 RequestOneStepPaymentModel paymentModel = new RequestOneStepPaymentModel();
142143 paymentModel.setMSISDN(billParams.getMsisdn());
143144 paymentModel.setPrice(billParams.getPrice());
144145 paymentModel.setSessionID(this.simpleDateFormat.format(new Date()) + this.generateSessionID() + System.currentTimeMillis() / 1000);
145146 paymentModel.setContentID(this.providerCode + this.contentType + "-0000");
147
+ log.info("sessionID/"+paymentModel.getSessionID());
146148 ResponseOneStepPaymentModel responseOneStepPaymentModel = this.clientWapChargingService.requestCharging(paymentModel);
147149 if (responseOneStepPaymentModel.getResult() == 1) {
148150 billResponse = HutchBillResponse.SUCCESS;
151
+ } else if (responseOneStepPaymentModel.getReasonCode().equals("5031")) {
152
+ billResponse = HutchBillResponse.BLOCK_REQUEST;
149153 } else {
150154 log.info(logTitle + "BillResponse error [{}]", this.gson.toJson(responseOneStepPaymentModel));
151155 billResponse = HutchBillResponse.GENERAL_ERROR;
....@@ -159,8 +163,15 @@
159163 }
160164
161165 private void insertResultQueue(Queue request, BillParams billParams) {
162
- String result = ILineData.STATUS_SUCCESS.endsWith(request.getRslt()) ?
163
- ILineData.RESULT_SUCCESS + ":" + ILineData.STR_SUCCESS : ILineData.RESULT_BILLING_INSUFFBALANCE + ":" + ILineData.STR_BILLING_INSUFFBALANCE;
166
+
167
+ String result = "";
168
+ if(ILineData.STATUS_SUCCESS.endsWith(request.getRslt())){
169
+ result = ILineData.RESULT_SUCCESS + ":" + ILineData.STR_SUCCESS;
170
+ }else if(ILineData.STATUS_ERROR_BLOCK.endsWith(request.getRslt())){
171
+ result = ILineData.RESULT_BLOCK_POSTPAID + ":" + ILineData.STR_BLOCK_POSTPAID;
172
+ }else{
173
+ result = ILineData.RESULT_BILLING_INSUFFBALANCE + ":" + ILineData.STR_BILLING_INSUFFBALANCE;
174
+ }
164175
165176 Queue queueRslt = new Queue();
166177 queueRslt.setFromMsisdn(request.getFromMsisdn());
....@@ -200,6 +211,18 @@
200211 queueNotiMapper.insert(notiRequest);
201212 }
202213
214
+ private void insertBlockRequest(String msisdn, int price) {
215
+ SmsMessage smsMsg = smsMessageMapper.findOne(ILineData.MSG_CD_BLOCK_REQUEST);
216
+ Queue notiRequest = new Queue();
217
+ notiRequest.setFromMsisdn("997780");
218
+ notiRequest.setToMsisdn(msisdn);
219
+ notiRequest.setMsg(smsMsg.getMsg());
220
+ notiRequest.setTrxId("");
221
+ notiRequest.setTrxDt("");
222
+ notiRequest.setReqUrl("");
223
+ queueNotiMapper.insert(notiRequest);
224
+ }
225
+
203226 protected String generateSessionID() {
204227 if (System.currentTimeMillis() / 1000 == sessionID) {
205228 sessionID++;
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/properties/HutchBillResponse.java
....@@ -13,5 +13,6 @@
1313 public static final int DATA_NOT_FOUND = 25;
1414 public static final int DATABASE_ERROR = 95;
1515 public static final int TIMEOUT = 97;
16
+ public static final int BLOCK_REQUEST = 98;
1617
1718 }
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/properties/ILineData.java
....@@ -41,6 +41,7 @@
4141 public static final int RESULT_BILLING_INSUFFBALANCE = 46;
4242
4343 public static final int RESULT_TIMEOUT = 51;
44
+ public static final int RESULT_BLOCK_POSTPAID = 52; // postpaid
4445 public static final int RESULT_INTERNAL_ERROR = 91;
4546
4647 //Error String
....@@ -68,6 +69,7 @@
6869
6970 public static final String STR_TIMEOUT = "Network timeout.";
7071 public static final String STR_INTERNAL_ERROR = "Internal error.";
72
+ public static final String STR_BLOCK_POSTPAID = "block msisdn.";
7173
7274 //History table
7375 //CBG_HIS_TB.STATUS
....@@ -83,6 +85,7 @@
8385 public static String STATUS_INSUFFICIENT_BALANCE = "I";
8486 public static String STATUS_NO_CONFIRM = "C";
8587 public static String STATUS_ERROR = "E";
88
+ public static String STATUS_ERROR_BLOCK = "B"; // for postpaid error
8689
8790 //CBG_HIS_TB.ERR_CD
8891 public static int ERR_CD_SUCCESS = 0;
....@@ -135,6 +138,7 @@
135138 public static final String MSG_CD_SEND_VERIFICATION_CODE = "NOTI_VERIFICATION_CODE";
136139 public static final String MSG_CD_CHARGING_FAILURE = "NOTI_CHARGING_FAILURE";
137140 public static final String MSG_CD_CHARGING_SUCCESS = "NOTI_CHARGING_SUCCESS";
141
+ public static final String MSG_CD_BLOCK_REQUEST = "NOTI_BLOCK_REQUEST";
138142
139143
140144 //API Type
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientWapChargingService.java
....@@ -3,7 +3,6 @@
33 import com.google.gson.Gson;
44 import id.co.accessmobile.carrier.billling.unipin.chargingservice.Application;
55 import id.co.accessmobile.carrier.billling.unipin.chargingservice.Monitoring;
6
-import id.co.accessmobile.carrier.billling.unipin.chargingservice.common.util.MsisdnUtil;
76 import id.co.accessmobile.carrier.billling.unipin.chargingservice.model.RefreshToken;
87 import id.co.accessmobile.carrier.billling.unipin.chargingservice.model.RequestOneStepPaymentModel;
98 import id.co.accessmobile.carrier.billling.unipin.chargingservice.model.ResponseOneStepPaymentModel;
....@@ -18,11 +17,14 @@
1817 import org.springframework.util.LinkedMultiValueMap;
1918 import org.springframework.util.MultiValueMap;
2019 import org.springframework.web.client.RestTemplate;
20
+import org.telegram.telegrambots.exceptions.TelegramApiException;
2121
2222 import javax.annotation.PostConstruct;
2323 import java.sql.Timestamp;
24
+import java.util.ArrayList;
2425 import java.util.Base64;
2526 import java.util.Calendar;
27
+import java.util.List;
2628
2729 /**
2830 * Created by Permana on 2/22/2018.
....@@ -41,6 +43,9 @@
4143 @Value("${app.wap.charging.password}")
4244 protected String password;
4345
46
+ @Value("${app.whitelist.block.test}")
47
+ protected String msisdnBlockTest;
48
+
4449 protected long nextRefreshToken;
4550
4651 protected String accessToken;
....@@ -54,6 +59,8 @@
5459 protected Calendar calendar = Calendar.getInstance();
5560
5661 protected Object accessTokenGeneratedKey = new Object();
62
+
63
+ protected List<String> error4012;
5764
5865 @Autowired
5966 protected Monitoring monitoring;
....@@ -69,6 +76,20 @@
6976 protected void scheduleRefreshToken() {
7077 if (this.nextRefreshToken - System.currentTimeMillis() < 10 * 1000) {
7178 this.refreshToken();
79
+ }
80
+ }
81
+
82
+ @Scheduled(cron = "0 0 9 * * *")
83
+ public void reportError() throws TelegramApiException {
84
+ String message = "WARN\n" +
85
+ "4012 error payment\n";
86
+ for(String msisdn:this.error4012){
87
+ message+= msisdn+"\n";
88
+ }
89
+
90
+ if(!this.error4012.isEmpty()){
91
+ this.monitoring.sendMessageForTechnical(message);
92
+ this.error4012 = new ArrayList<>();
7293 }
7394 }
7495
....@@ -112,6 +133,7 @@
112133 @PostConstruct
113134 public void init() {
114135 this.logger = LoggerFactory.getLogger(ClientWapChargingService.class);
136
+ this.error4012 = new ArrayList<>();
115137 RestTemplate restTemplate = new RestTemplate();
116138 HttpHeaders headers = new HttpHeaders();
117139 headers.set("Authorization", "Basic " + Base64.getEncoder().encodeToString((this.username + ":" + this.password).getBytes()));
....@@ -146,25 +168,35 @@
146168 }
147169
148170 public ResponseOneStepPaymentModel requestCharging(RequestOneStepPaymentModel requestPayment) {
149
- requestPayment.setPrice((long) ((long)(requestPayment.getPrice()*100)/(long)110));
171
+ requestPayment.setPrice(Math.round( requestPayment.getPrice() / 1.1 ));
150172 this.logger.info("request " + this.gson.toJson(requestPayment));
151173 ResponseOneStepPaymentModel result = null;
152174 try {
153
- RestTemplate restTemplate = new RestTemplate();
154
- HttpHeaders headers = new HttpHeaders();
155
- synchronized (this.accessTokenGeneratedKey) {
156
- headers.set("Authorization", "Bearer " + this.accessToken);
175
+ if(requestPayment.getMSISDN().matches(this.msisdnBlockTest)){
176
+ result = new ResponseOneStepPaymentModel();
177
+ result.setReasonCode("5031");
178
+ result.setResult(0);
179
+ result.setSessionID(requestPayment.getSessionID());
180
+ result.setUserSpecificReserved("");
181
+ }else {
182
+ RestTemplate restTemplate = new RestTemplate();
183
+ HttpHeaders headers = new HttpHeaders();
184
+ synchronized (this.accessTokenGeneratedKey) {
185
+ headers.set("Authorization", "Bearer " + this.accessToken);
186
+ }
187
+ headers.setContentType(MediaType.APPLICATION_JSON);
188
+ HttpEntity<String> request = new HttpEntity<>(this.gson.toJson(requestPayment), headers);
189
+ ResponseEntity<String> response = restTemplate.postForEntity(this.ip + "/payment/", request, String.class);
190
+ this.logger.info("response " + response.getBody().trim());
191
+ result = this.gson.fromJson(response.getBody().trim(), ResponseOneStepPaymentModel.class);
157192 }
158
- headers.setContentType(MediaType.APPLICATION_JSON);
159
- HttpEntity<String> request = new HttpEntity<>(this.gson.toJson(requestPayment), headers);
160
- ResponseEntity<String> response = restTemplate.postForEntity(this.ip + "/payment/", request, String.class);
161
- this.logger.info("response " + response.getBody().trim());
162
- result = this.gson.fromJson(response.getBody().trim(), ResponseOneStepPaymentModel.class);
163
- if(result.getResult()!= 1){
193
+ if(result.getReasonCode().matches("4012")){
194
+ this.error4012.add(requestPayment.getMSISDN());
195
+ }else if(result.getResult()!= 1 ){
164196 this.monitoring.sendMessageForTechnical("" +
165197 "ERROR\n" +
166198 "CHARGE Service [ClientWapChargingService]\n" +
167
- response.getBody().trim());
199
+ gson.toJson(result));
168200 }
169201 } catch (Exception ex) {
170202 try {
unipin_charge_service/src/main/resources/application.properties
....@@ -1,4 +1,5 @@
11 spring.profiles.active=prod
22
3
-app.whitelist=.*89690835978
3
+app.whitelist=.*
4
+app.whitelist.block.test=.*895412930520
45 app.environtment="production"
unipin_charge_service/unipin-charge-service.iml
....@@ -16,10 +16,11 @@
1616 </content>
1717 <orderEntry type="inheritedJdk" />
1818 <orderEntry type="sourceFolder" forTests="false" />
19
+ <orderEntry type="library" name="Maven: com.hcpt.client:charginggatewayclient:1.0" level="project" />
1920 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-devtools:1.5.7.RELEASE" level="project" />
2021 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.7.RELEASE" level="project" />
2122 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.7.RELEASE" level="project" />
22
- <orderEntry type="library" name="Maven: com.hcpt.client:charginggatewayclient:1.0" level="project" />
23
+ <orderEntry type="library" name="Maven: com.hcpt.client:chargingGatewayClient:1.0" level="project" />
2324 <orderEntry type="library" name="Maven: javax.xml:jaxrpc-api:1.1" level="project" />
2425 <orderEntry type="library" name="Maven: com.sun.xml.rpc:jaxrpc-impl:1.1.3_01" level="project" />
2526 <orderEntry type="library" name="Maven: com.sun.xml.fastinfoset:FastInfoset:1.0.2" level="project" />
....@@ -43,6 +44,7 @@
4344 <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
4445 <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
4546 <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
47
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
4648 <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
4749 <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
4850 <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
....@@ -65,6 +67,7 @@
6567 <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
6668 <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
6769 <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
70
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
6871 <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
6972 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
7073 <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
....@@ -79,14 +82,6 @@
7982 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
8083 <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
8184 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
82
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
83
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
84
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
85
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
86
- <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
87
- <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
88
- <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
89
- <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
9085 <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
9186 <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
9287 <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
....@@ -100,13 +95,18 @@
10095 <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
10196 <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
10297 <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
103
- <orderEntry type="library" name="Maven: id.co.qhodok.tools:trigger:2.0" level="project" />
104
- <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
105
- <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
106
- <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
107
- <orderEntry type="library" name="Maven: org.zeromq:jeromq:0.4.2" level="project" />
108
- <orderEntry type="library" name="Maven: org.zeromq:jnacl:0.1.0" level="project" />
98
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
99
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
100
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
101
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
102
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
103
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
104
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
105
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
106
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
107
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
109108 <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
109
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
110110 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
111111 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
112112 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
unipin_cms_service/pom.xml
....@@ -35,18 +35,21 @@
3535 <artifactId>unipin-database-service</artifactId>
3636 <version>1.0</version>
3737 </dependency>
38
-
3938 <dependency>
40
- <groupId>id.co.accessmobile.carrier.billing.unipin</groupId>
41
- <artifactId>unipin-bot-telegram-service</artifactId>
39
+ <groupId>id.co.accessmobile.adzanreminder</groupId>
40
+ <artifactId>adzan-hutch-model-service</artifactId>
4241 <version>1.0</version>
4342 </dependency>
43
+ <dependency>
44
+ <groupId>javax.xml.bind</groupId>
45
+ <artifactId>jaxb-api</artifactId>
46
+ <version>2.3.0</version>
47
+ </dependency>
48
+
4449 </dependencies>
45
-
46
-
47
-
4850 <build>
4951 <plugins>
52
+ <!-- Package as an executable jar/war -->
5053 <plugin>
5154 <groupId>org.springframework.boot</groupId>
5255 <artifactId>spring-boot-maven-plugin</artifactId>
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java
....@@ -1,13 +1,22 @@
11 package id.co.accessmobile.carrier.billing.unipin.cstools;
22
3
-import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.TransactionStateRepository;
4
-import org.springframework.beans.factory.annotation.Autowired;
3
+import id.co.accessmobile.carrier.billing.unipin.cstools.service.Monitoring;
4
+import id.co.qhodok.tools.telegram.Bot;
5
+import id.co.qhodok.tools.telegram.MessageListener;
6
+import id.co.qhodok.tools.trigger.TriggerApplication;
7
+import org.omg.CORBA.PUBLIC_MEMBER;
8
+import org.omg.Messaging.SYNC_WITH_TRANSPORT;
9
+import org.springframework.beans.factory.annotation.Value;
510 import org.springframework.boot.SpringApplication;
611 import org.springframework.boot.autoconfigure.SpringBootApplication;
712 import org.springframework.scheduling.annotation.EnableAsync;
813 import org.springframework.scheduling.annotation.EnableScheduling;
14
+import org.telegram.telegrambots.ApiContextInitializer;
15
+import org.telegram.telegrambots.TelegramBotsApi;
16
+import org.telegram.telegrambots.api.objects.Update;
917
1018 import javax.annotation.PostConstruct;
19
+
1120
1221 /**
1322 * Created by Permana on 1/12/2018.
....@@ -19,16 +28,32 @@
1928 @EnableAsync
2029 @EnableScheduling
2130 public class Application {
31
+ @Value("${bot.telegram.token}")
32
+ protected String token;
33
+
34
+ @Value("${bot.telegram.username}")
35
+ protected String username;
36
+ public static TriggerApplication triggerApplication;
37
+
38
+ @Value("${app.trigger.address}")
39
+ protected String address;
2240
2341 public static void main(String[] args) {
42
+ System.out.println("trace main 1");
2443 SpringApplication.run(Application.class, args);
44
+ System.out.println("trace main end");
2545 }
2646
27
- @Autowired
28
- protected TransactionStateRepository transactionStateRepository;
29
-
3047 @PostConstruct
31
- public void init(){
32
- transactionStateRepository.findByID(164);
48
+ public void init() throws Exception {
49
+ System.out.println("trace init 1");
50
+ ApiContextInitializer.init();
51
+ System.out.println("trace init 2");
52
+ Monitoring.bot = new Bot(username, token);
53
+ System.out.println("trace init 3");
54
+ new TelegramBotsApi().registerBot(Monitoring.bot);
55
+ System.out.println("trace init 4");
56
+ triggerApplication = new TriggerApplication(3, address);
57
+ System.out.println("trace init 5");
3358 }
3459 }
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/BBDOController.java
....@@ -1,4 +1,78 @@
11 package id.co.accessmobile.carrier.billing.unipin.cstools.controller;
22
3
+import id.co.accessmobile.adzanreminder.hutch.model.transaction.SMPPRequestMO;
4
+import id.co.accessmobile.adzanreminder.hutch.model.transaction.SMPPRequestMT;
5
+import id.co.accessmobile.carrier.billing.unipin.cstools.Application;
6
+import id.co.qhodok.tools.logger.Logger;
7
+import id.co.qhodok.tools.trigger.annotations.Listener;
8
+import id.co.qhodok.tools.trigger.annotations.Subscribe;
9
+import id.co.qhodok.tools.trigger.attributes.State;
10
+import id.co.qhodok.tools.trigger.processor.Publisher;
11
+import org.springframework.beans.factory.annotation.Value;
12
+import org.springframework.http.HttpStatus;
13
+import org.springframework.http.ResponseEntity;
14
+import org.springframework.stereotype.Controller;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.client.RestTemplate;
18
+
19
+import javax.annotation.PostConstruct;
20
+import java.util.HashMap;
21
+import java.util.Map;
22
+
23
+
24
25
[email protected](topic = "SMPP_MO_BBDO")
326 public class BBDOController {
27
+
28
+ protected RestTemplate restTemplate;
29
+
30
+ @Value("${app.trigger.address}")
31
+ protected String address;
32
+
33
+ @Value("${app.bbdo.address}")
34
+ protected String addressBBDO;
35
+
36
+ @Value("${bot.telegram.token}")
37
+ protected String token;
38
+
39
+ @Value("${bot.telegram.username}")
40
+ protected String username;
41
+ @Value("${bot.telegram.chatid}")
42
+ protected String chatid;
43
+
44
+ protected Publisher producer;
45
+
46
+ protected Logger logger;
47
+
48
+ @PostConstruct
49
+ public void init() {
50
+ Application.triggerApplication.addSubscriber(this);
51
+ this.producer = new Publisher(this.address);
52
+ restTemplate = new RestTemplate();
53
+ this.logger = new Logger(BBDOController.class, this.username, this.token, this.chatid);
54
+ }
55
+
56
+ @Subscribe(method = State.CREATE, target = SMPPRequestMO.class)
57
+ public void onMoReceive(SMPPRequestMO smppRequestMO) {
58
+ this.logger.info("onMoReceive", smppRequestMO);
59
+ String s = restTemplate.postForObject(this.addressBBDO, smppRequestMO, String.class);
60
+ this.logger.info("result", s);
61
+ }
62
+
63
+ @RequestMapping(value = "/bbdo/mt")
64
+ public ResponseEntity<Map> sendMT(@RequestBody SMPPRequestMT smppRequestMT) {
65
+ this.logger.info("sendMT", smppRequestMT);
66
+ boolean smpp_mt = producer.publish("SMPP_MT", smppRequestMT, State.CREATE);
67
+ Map result = new HashMap<>();
68
+ result.put("result", smpp_mt);
69
+ return new ResponseEntity<>(result, HttpStatus.OK);
70
+ }
71
+
72
+ @RequestMapping(value = "/bbdo/test/mo")
73
+ public ResponseEntity<String> testMO(@RequestBody SMPPRequestMO smppRequestMO) {
74
+ this.onMoReceive(smppRequestMO);
75
+ return new ResponseEntity<>("true", HttpStatus.OK);
76
+ }
77
+
478 }
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/MainController.java
....@@ -4,6 +4,10 @@
44 import org.springframework.ui.ModelMap;
55 import org.springframework.web.bind.annotation.RequestMapping;
66
7
+import java.text.SimpleDateFormat;
8
+import java.util.Calendar;
9
+import java.util.Date;
10
+
711 /**
812 * Created by Permana on 1/12/2018.
913 * Software Enginer
....@@ -13,13 +17,21 @@
1317 @Controller
1418 public class MainController {
1519 @RequestMapping(value = "/login")
16
- public String login(){
20
+ public String login() {
1721 return "login";
1822 }
23
+
24
+ protected SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
25
+
1926 @RequestMapping(value = "/")
20
- public String index(ModelMap map){
21
- map.put("period_start","2018-01-01");
22
- map.put("period_end","2019-12-31");
27
+ public String index(ModelMap map) {
28
+ Date today = new Date();
29
+ Calendar calendar = Calendar.getInstance();
30
+ calendar.setTime(today);
31
+ calendar.add(Calendar.DATE,-1);
32
+ Date yesterday = calendar.getTime();
33
+ map.put("period_start", simpleDateFormat.format(yesterday));
34
+ map.put("period_end", simpleDateFormat.format(today));
2335 return "index";
2436 }
2537 }
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java
....@@ -20,6 +20,8 @@
2020
2121 public MonitoringUser isAdmin(@Param(value = "id") String id);
2222
23
+ public MonitoringUser isTechnical(@Param(value = "id") String id);
24
+
2325 public void insertNewUser(@Param(value = "chatID") String chatID, @Param(value = "username") String username);
2426
2527 public void insertUserRule(@Param(value = "chatID") String id, @Param(value = "rule") String rule);
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/security/WebSecurityConfig.java
....@@ -18,7 +18,7 @@
1818 protected void configure(HttpSecurity http) throws Exception {
1919 http
2020 .authorizeRequests()
21
- .antMatchers("/registration","/login").permitAll()
21
+ .antMatchers("/registration","/login","/bbdo/mt","/bbdo/test/mo").permitAll()
2222 .anyRequest().authenticated()
2323 .and()
2424 .formLogin()
....@@ -30,7 +30,7 @@
3030 }
3131 @Override
3232 public void configure(WebSecurity web) throws Exception {
33
- web.ignoring().antMatchers("/css/**","/documentation/**","/images/**","/js/**","/model/**","/plugins/**","/scss/**");
33
+ web.ignoring().antMatchers("/css/**","/documentation/**","/images/**","/js/**","/model/**","/plugins/**","/scss/**","/bbdo/mt","/bbdo/test/mo");
3434 }
3535
3636 @Autowired
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java
....@@ -1,14 +1,19 @@
11 package id.co.accessmobile.carrier.billing.unipin.cstools.service;
22
3
-import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.BotManager;
4
-import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.MessageListener;
3
+import id.co.accessmobile.carrier.billing.unipin.cstools.Application;
54 import id.co.accessmobile.carrier.billing.unipin.cstools.database.model.MonitoringUser;
65 import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.MonitoringUserMapper;
6
+import id.co.qhodok.tools.telegram.Bot;
7
+import id.co.qhodok.tools.telegram.MessageListener;
78 import org.springframework.beans.factory.annotation.Autowired;
89 import org.springframework.beans.factory.annotation.Value;
910 import org.springframework.stereotype.Service;
11
+import org.telegram.telegrambots.ApiContextInitializer;
12
+import org.telegram.telegrambots.TelegramBotsApi;
1013 import org.telegram.telegrambots.exceptions.TelegramApiException;
1114 import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
15
+
16
+import javax.annotation.PostConstruct;
1217
1318 /**
1419 * Created by Permana on 1/30/2018.
....@@ -24,28 +29,31 @@
2429 @Value("${bot.telegram.username}")
2530 protected String username;
2631
32
+ public static Bot bot;
33
+
34
+ protected MessageListener messageListener;
35
+
2736 @Autowired
2837 protected MonitoringUserMapper monitoringUserMapper;
2938
3039 public void init(MessageListener listener) throws TelegramApiRequestException {
31
- BotManager.init(this.token, this.username, listener);
32
-// BotManager.init(this.token, this.username);
40
+ bot.setListener(listener);
3341 }
3442
3543 public void sendMessageForTechnical(String message) throws TelegramApiException {
3644 for (MonitoringUser monitoringUser : monitoringUserMapper.selectForTechnicalUser()) {
37
- BotManager.sendMessage(monitoringUser.getId(), message);
45
+ bot.sendMessage(monitoringUser.getId(), message);
3846 }
3947 }
4048
4149 public void sendMessageForAdmin(String message) throws TelegramApiException {
4250 for (MonitoringUser monitoringUser : monitoringUserMapper.selectForAdminUser()) {
43
- BotManager.sendMessage(monitoringUser.getId(), message);
51
+ bot.sendMessage(monitoringUser.getId(), message);
4452 }
4553 }
4654
4755 public void sendMessage(String chatID, String message) throws TelegramApiException {
48
- BotManager.sendMessage(chatID, message);
56
+ bot.sendMessage(chatID, message);
4957 }
5058
5159 }
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java
....@@ -1,16 +1,19 @@
11 package id.co.accessmobile.carrier.billing.unipin.cstools.service;
22
33 import com.google.gson.Gson;
4
-import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.MessageListener;
54 import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.MonitoringUserMapper;
65 import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.TransactionStateRepository;
76 import id.co.accessmobile.carrier.billing.unipin.database.entity.TblTransactionStates;
7
+import id.co.qhodok.tools.telegram.Bot;
8
+import id.co.qhodok.tools.telegram.MessageListener;
89 import org.slf4j.Logger;
910 import org.slf4j.LoggerFactory;
1011 import org.springframework.beans.factory.annotation.Autowired;
1112 import org.springframework.beans.factory.annotation.Value;
1213 import org.springframework.scheduling.annotation.Scheduled;
1314 import org.springframework.stereotype.Service;
15
+import org.telegram.telegrambots.ApiContextInitializer;
16
+import org.telegram.telegrambots.TelegramBotsApi;
1417 import org.telegram.telegrambots.api.objects.Update;
1518 import org.telegram.telegrambots.exceptions.TelegramApiException;
1619 import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
....@@ -24,6 +27,7 @@
2427 import java.util.Calendar;
2528 import java.util.Date;
2629 import java.util.List;
30
+import java.util.concurrent.TimeUnit;
2731
2832 /**
2933 * Created by Permana on 2/1/2018.
....@@ -35,6 +39,12 @@
3539 public class MonitoringService implements MessageListener {
3640 @Autowired
3741 protected Monitoring monitoring;
42
+
43
+ @Value("${bot.telegram.token}")
44
+ protected String token;
45
+
46
+ @Value("${bot.telegram.username}")
47
+ protected String username;
3848
3949 @Autowired
4050 protected TransactionStateRepository transactionStateRepository;
....@@ -86,22 +96,24 @@
8696
8797 @Override
8898 public void onMessageReceive(Update message) {
99
+ String chatID = String.valueOf(message.getMessage().getChat().getId());
100
+ String sender = String.valueOf(message.getMessage().getFrom().getId());
89101 this.logger.info(this.gson.toJson(message));
90102 try {
91103 String text = message.getMessage().getText() != null ? message.getMessage().getText().trim().toLowerCase() : "";
92104 try {
93
- if (text.startsWith("reg")) {
94
- if (this.monitoringUserMapper.findByID(String.valueOf(message.getMessage().getChatId())) != null) {
95
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "Anda telah menjadi user unipin monitoring");
105
+ if (text.startsWith("/reg")) {
106
+ if (this.monitoringUserMapper.findByID(sender) != null) {
107
+ this.monitoring.sendMessage(sender, "Anda telah menjadi user unipin monitoring");
96108 } else {
97109 this.monitoring.sendMessageForAdmin(
98110 "REQUEST MEMBER \n" +
99111 message.getMessage().getChatId() + " \n" +
100112 message.getMessage().getChat().getFirstName() + " " + message.getMessage().getChat().getLastName());
101
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "Permintaan anda telah diteruskan kepada admin kami dan akan diprocess oleh admin kami");
113
+ this.monitoring.sendMessage(sender, "Permintaan anda telah diteruskan kepada admin kami dan akan diprocess oleh admin kami");
102114 }
103115 } else if (text.startsWith("accept")) {
104
- if (this.monitoringUserMapper.isAdmin(String.valueOf(message.getMessage().getChatId())) != null) {
116
+ if (this.monitoringUserMapper.isAdmin(sender) != null) {
105117 String[] split = text.split("\\s+");
106118 if (split.length > 3) {
107119 this.monitoringUserMapper.insertNewUser(split[1], split[2]);
....@@ -111,21 +123,21 @@
111123 "type user " + split[3]);
112124 }
113125 } else {
114
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "WHO ARE YOU?");
126
+ this.monitoring.sendMessage(chatID, "WHO ARE YOU?");
115127 }
116128 } else if (text.matches("(reset|ignore|abaikan|biarkan|processed).*")) {
117
- if (this.monitoringUserMapper.isAdmin(String.valueOf(message.getMessage().getChatId())) != null) {
129
+ if (this.monitoringUserMapper.isAdmin(sender) != null) {
118130 this.starting = new Timestamp(System.currentTimeMillis());
119
- this.monitoring.sendMessageForTechnical("error has been " + text + " by " + monitoringUserMapper.findByID(String.valueOf(message.getMessage().getChatId())).getUsername());
131
+ this.monitoring.sendMessage(chatID, "error has been " + text + " by " + monitoringUserMapper.findByID(String.valueOf(message.getMessage().getChatId())).getUsername());
120132 } else {
121
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "WHO ARE YOU?");
133
+ this.monitoring.sendMessage(chatID, "WHO ARE YOU?");
122134 }
123135 } else if (text.startsWith("trace")) {
124136 String[] split = text.split("\\s+");
125137 if (split[1].trim().matches("\\d+")) {
126138 List<TblTransactionStates> tblTransactionStates = this.transactionStateRepository.findByID(Integer.valueOf(split[1].trim()));
127139 for (TblTransactionStates state : tblTransactionStates) {
128
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()),
140
+ this.monitoring.sendMessage(chatID,
129141 "state : " + state.getState() + "\n" +
130142 "service : " + state.getService() + "\n" +
131143 "message : " + state.getMessage() + "\n" +
....@@ -134,23 +146,18 @@
134146 );
135147 }
136148 } else {
137
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "cannot find transaction with id " + split[1]);
149
+ this.monitoring.sendMessage(chatID, "cannot find transaction with id " + split[1]);
138150 }
139
- } else if (text.startsWith("restart")) {
140
- String[] orders = text.split("\\s+");
141
- String result = this.restartService(orders[1]);
142
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()),result);
143
- } else if (text.startsWith("start")) {
144
- String[] orders = text.split("\\s+");
145
- String result = this.startService(orders[1]);
146
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()),result);
147
- } else if (text.startsWith("stop")) {
148
- String[] orders = text.split("\\s+");
149
- String result = this.stopService(orders[1]);
150
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()),result);
151
- } else if (text.startsWith("check")) {
152
- String[] orders = text.split("\\s+");
153
- this.checkProcess(orders[1], String.valueOf(message.getMessage().getChatId()));
151
+ } else if (text.startsWith("/restart")) {
152
+ if (this.monitoringUserMapper.isAdmin(sender) != null) {
153
+ String result = this.restartService(text.replaceAll("@.*", "").replaceFirst(".*_", ""));
154
+ this.monitoring.sendMessage(chatID, result);
155
+ } else {
156
+ this.monitoring.sendMessage(chatID, "WHO ARE YOU");
157
+ }
158
+ } else if (text.startsWith("/check")) {
159
+ this.logger.info("{\"check\":\"" + text.replaceFirst(".*_", "").replaceAll("@.*", "") + "\"}");
160
+ this.checkProcess(text.replaceAll("@.*", "").replaceFirst(".*_", ""), chatID);
154161 }
155162 } catch (TelegramApiException e) {
156163 this.logger.error(e.getMessage(), e);
....@@ -232,8 +239,10 @@
232239 }
233240
234241 protected String restartService(String service) throws Exception {
242
+ this.logger.info("{\"restart\":\"" + service + "\"}");
235243 String result = "";
236244 result = this.stopService(service);
245
+ Thread.sleep(3 * 1000);
237246 result += "\n" + this.startService(service);
238247 return result;
239248 }
....@@ -265,8 +274,8 @@
265274 while ((line = br.readLine()) != null) {
266275 result += line + "\n";
267276 }
268
- int i = process.waitFor();
269
- return result + "\n" + " process finish " + i;
277
+ process.waitFor(51000l, TimeUnit.MILLISECONDS);
278
+ return result + "\n" + " process finish ";
270279
271280 }
272281
....@@ -297,8 +306,8 @@
297306 while ((line = br.readLine()) != null) {
298307 result += line + "\n";
299308 }
300
- int i = process.waitFor();
301
- return result + "\n" + " process finish " + i;
309
+ process.waitFor(51000l, TimeUnit.MILLISECONDS);
310
+ return result + "\n" + " process finish ";
302311 }
303312
304313 protected void checkProcess(String service, String chatID) throws IOException, TelegramApiException {
unipin_cms_service/src/main/resources/application-dev.properties
....@@ -2,15 +2,8 @@
22 server.display-name=CS-Unipin
33 server.port = 9200
44 server.tomcat.max-threads=50
5
-#server.tomcat.accesslog.directory=/home/line_api/app/line-api-service/log
6
-#server.tomcat.accesslog.directory=/app1/am/app/unipin/log
7
-#server.tomcat.accesslog.enabled=true
8
-#server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %Ts
9
-#server.tomcat.accesslog.prefix=access_log
10
-#server.tomcat.accesslog.suffix=.log
11
-
125 #JPA CONFIGURATION
13
-spring.datasource.url=jdbc:mysql://52.221.46.30:3310/db_unipin_cs_tools
6
+spring.datasource.url=jdbc:mysql://127.0.0.1:53310/db_unipin_cs_tools
147 spring.datasource.username=adzan_hutch
158 spring.datasource.password=am9999
169 spring.datasource.driver-class-name=com.mysql.jdbc.Driver
....@@ -22,4 +15,7 @@
2215 spring.datasource.validationQuery=SELECT 1
2316
2417 mybatis.config-location=classpath:mybatis/mybatis-config.xml
25
-logging.level.sample.mybatis.mapper=TRACE
18
+logging.level.sample.mybatis.mapper=TRACE
19
+
20
+
21
+app.trigger.address=tcp://localhost:59696
unipin_cms_service/src/main/resources/application-prod.properties
....@@ -25,7 +25,33 @@
2525 logging.level.sample.mybatis.mapper=TRACE
2626
2727
28
+app.trigger.address=tcp://172.31.0.73:9696
29
+
2830 #APPLICATION LEVEL CONFIGURATION
2931 app.line.whitelist.ip=202.43.73.237,202.43.73.235
3032 #202.137.31.125-Office IP
31
-#211.43.222.86-Monitoring
33
+#211.43.222.86-Monitoring
34
+
35
+bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
36
+bot.telegram.username=ami_unipin_bot
37
+bot.telegram.chatid=-244211424
38
+
39
+app.bbdo.address = "http://192.168.7.24:9010/hutch/mo-request";
40
+
41
+app.file.shell.start.api=/app1/am/app/unipin/shell/starting-unipin-hutch-api-service.sh
42
+app.file.shell.start.request=/app1/am/app/unipin/shell/starting-unipin-hutch-request-service.sh
43
+app.file.shell.start.notification=/app1/am/app/unipin/shell/starting-unipin-hutch-notification-service.sh
44
+app.file.shell.start.mo=/app1/am/app/unipin/shell/starting-unipin-hutch-mo-service.sh
45
+app.file.shell.start.charge=/app1/am/app/unipin/shell/starting-unipin-hutch-charge-service.sh
46
+app.file.shell.start.result=/app1/am/app/unipin/shell/starting-unipin-hutch-result-service.sh
47
+app.file.shell.start.bgw=/app1/am/app/unipin/shell/starting-unipin-hutch-bgw-service.sh
48
+app.file.shell.start.all=/app1/am/app/unipin/shell/starting-unipin-hutch-all-service-without-cms.sh
49
+
50
+app.file.shell.stop.api=/app1/am/app/unipin/shell/stoping-unipin-hutch-api-service.sh
51
+app.file.shell.stop.request=/app1/am/app/unipin/shell/stoping-unipin-hutch-request-service.sh
52
+app.file.shell.stop.notification=/app1/am/app/unipin/shell/stoping-unipin-hutch-notification-service.sh
53
+app.file.shell.stop.mo=/app1/am/app/unipin/shell/stoping-unipin-hutch-mo-service.sh
54
+app.file.shell.stop.charge=/app1/am/app/unipin/shell/stoping-unipin-hutch-charge-service.sh
55
+app.file.shell.stop.result=/app1/am/app/unipin/shell/stoping-unipin-hutch-result-service.sh
56
+app.file.shell.stop.bgw=/app1/am/app/unipin/shell/stoping-unipin-hutch-bgw-service.sh
57
+app.file.shell.stop.all=/app1/am/app/unipin/shell/stoping-unipin-hutch-all-service-without-cms.sh
unipin_cms_service/src/main/resources/application.properties
....@@ -1,10 +1,13 @@
11 spring.profiles.active=prod
22 bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
33 bot.telegram.username=ami_unipin_bot
4
+bot.telegram.chatid=-244211424
5
+
6
+app.bbdo.address = "http://192.168.7.24:9010/hutch/mo-request";
47
58 app.file.shell.start.api=/app1/am/app/unipin/shell/starting-unipin-hutch-api-service.sh
69 app.file.shell.start.request=/app1/am/app/unipin/shell/starting-unipin-hutch-request-service.sh
7
-app.file.shell.start.notification=/app1/am/app/unipin/shell/starting-unipin-hutch-notifivation-service.sh
10
+app.file.shell.start.notification=/app1/am/app/unipin/shell/starting-unipin-hutch-notification-service.sh
811 app.file.shell.start.mo=/app1/am/app/unipin/shell/starting-unipin-hutch-mo-service.sh
912 app.file.shell.start.charge=/app1/am/app/unipin/shell/starting-unipin-hutch-charge-service.sh
1013 app.file.shell.start.result=/app1/am/app/unipin/shell/starting-unipin-hutch-result-service.sh
....@@ -13,7 +16,7 @@
1316
1417 app.file.shell.stop.api=/app1/am/app/unipin/shell/stoping-unipin-hutch-api-service.sh
1518 app.file.shell.stop.request=/app1/am/app/unipin/shell/stoping-unipin-hutch-request-service.sh
16
-app.file.shell.stop.notification=/app1/am/app/unipin/shell/stoping-unipin-hutch-notifivation-service.sh
19
+app.file.shell.stop.notification=/app1/am/app/unipin/shell/stoping-unipin-hutch-notification-service.sh
1720 app.file.shell.stop.mo=/app1/am/app/unipin/shell/stoping-unipin-hutch-mo-service.sh
1821 app.file.shell.stop.charge=/app1/am/app/unipin/shell/stoping-unipin-hutch-charge-service.sh
1922 app.file.shell.stop.result=/app1/am/app/unipin/shell/stoping-unipin-hutch-result-service.sh
unipin_cms_service/src/main/resources/logback-spring.xml
....@@ -19,14 +19,14 @@
1919
2020 <!-- Send debug message to file -->
2121 <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
22
- <file>${LOG_PATH}/cms.log</file>
22
+ <file>${LOG_PATH}/unipin-cms-service-unipin.log</file>
2323
2424 <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
2525 <pattern>${LOG_PATTERN}</pattern>
2626 </encoder>
2727
2828 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
29
- <fileNamePattern>${LOG_PATH}/cms/axespay-%i-%d{yyyyMMdd}.log</fileNamePattern>
29
+ <fileNamePattern>${LOG_PATH}/cms/unipin-cms-service-unipin-%i-%d{yyyyMMdd}.log</fileNamePattern>
3030
3131 <!-- each file should be at most 10MB, keep 90 days worth of history -->
3232 <maxHistory>90</maxHistory>
....@@ -34,23 +34,6 @@
3434 <maxFileSize>10MB</maxFileSize>
3535 </timeBasedFileNamingAndTriggeringPolicy>
3636 </rollingPolicy>
37
- </appender>
38
-
39
- <appender name="DB" class="ch.qos.logback.classic.db.DBAppender">
40
- <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
41
- <level>ERROR</level>
42
- </filter>
43
- <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource">
44
- <driverClass>com.mysql.jdbc.Driver</driverClass>
45
- <springProfile name="dev">
46
- <url>jdbc:mysql://52.74.234.11:3307/db_payment_gateway</url>
47
- </springProfile>
48
- <springProfile name="prod">
49
- <url>jdbc:mysql://172.31.4.96:3307/db_payment_gateway</url>
50
- </springProfile>
51
- <user>mcoupon</user>
52
- <password>mcoupon</password>
53
- </connectionSource>
5437 </appender>
5538
5639 <root level="INFO">
unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml
....@@ -53,6 +53,15 @@
5353 id=#{id} AND
5454 rule='ADMIN'
5555 </select>
56
+ <select id="isTechnical" parameterType="String" resultMap="user">
57
+ SELECT
58
+ id
59
+ FROM
60
+ tbl_monitoring_user_rules
61
+ WHERE
62
+ id=#{id} AND
63
+ rule='TECHNICAL'
64
+ </select>
5665
5766 <select id="findByID" parameterType="String" resultMap="user">
5867 SELECT * from tbl_monitoring_user where id=#{id}
Binary files differ
unipin_cms_service/unipin-cms-service.iml
....@@ -0,0 +1,135 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="Spring" name="Spring">
5
+ <configuration />
6
+ </facet>
7
+ <facet type="web" name="Web">
8
+ <configuration>
9
+ <webroots />
10
+ <sourceRoots>
11
+ <root url="file://$MODULE_DIR$/src/main/java" />
12
+ <root url="file://$MODULE_DIR$/src/main/resources" />
13
+ </sourceRoots>
14
+ </configuration>
15
+ </facet>
16
+ </component>
17
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
18
+ <output url="file://$MODULE_DIR$/target/classes" />
19
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
20
+ <content url="file://$MODULE_DIR$">
21
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
22
+ <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
23
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
24
+ <excludeFolder url="file://$MODULE_DIR$/target" />
25
+ </content>
26
+ <orderEntry type="inheritedJdk" />
27
+ <orderEntry type="sourceFolder" forTests="false" />
28
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-thymeleaf:1.5.7.RELEASE" level="project" />
29
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
30
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
31
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
32
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
33
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
34
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
35
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
36
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
37
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
38
+ <orderEntry type="library" name="Maven: org.thymeleaf:thymeleaf-spring4:2.1.5.RELEASE" level="project" />
39
+ <orderEntry type="library" name="Maven: org.thymeleaf:thymeleaf:2.1.5.RELEASE" level="project" />
40
+ <orderEntry type="library" name="Maven: ognl:ognl:3.0.8" level="project" />
41
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
42
+ <orderEntry type="library" name="Maven: org.unbescape:unbescape:1.1.0.RELEASE" level="project" />
43
+ <orderEntry type="library" name="Maven: nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:1.4.0" level="project" />
44
+ <orderEntry type="library" name="Maven: org.codehaus.groovy:groovy:2.4.12" level="project" />
45
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.7.RELEASE" level="project" />
46
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.7.RELEASE" level="project" />
47
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:8.5.20" level="project" />
48
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.20" level="project" />
49
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.5.20" level="project" />
50
+ <orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.11.RELEASE" level="project" />
51
+ <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.11.RELEASE" level="project" />
52
+ <orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.11.RELEASE" level="project" />
53
+ <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.3.11.RELEASE" level="project" />
54
+ <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.11.RELEASE" level="project" />
55
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-devtools:1.5.7.RELEASE" level="project" />
56
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.7.RELEASE" level="project" />
57
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.7.RELEASE" level="project" />
58
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-security:1.5.7.RELEASE" level="project" />
59
+ <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.11.RELEASE" level="project" />
60
+ <orderEntry type="library" name="Maven: org.springframework.security:spring-security-config:4.2.3.RELEASE" level="project" />
61
+ <orderEntry type="library" name="Maven: org.springframework.security:spring-security-core:4.2.3.RELEASE" level="project" />
62
+ <orderEntry type="library" name="Maven: org.springframework.security:spring-security-web:4.2.3.RELEASE" level="project" />
63
+ <orderEntry type="module" module-name="unipin-database-service" />
64
+ <orderEntry type="library" name="Maven: id.co.accessmobile.adzanreminder:adzan-hutch-model-service:1.0" level="project" />
65
+ <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
66
+ <orderEntry type="library" name="Maven: org.opensmpp:opensmpp-core:3.0.0" level="project" />
67
+ <orderEntry type="library" name="Maven: org.opensmpp:opensmpp-charset:3.0.0" level="project" />
68
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10" level="project" />
69
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
70
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
71
+ <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
72
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
73
+ <orderEntry type="library" name="Maven: org.zeromq:jeromq:0.4.2" level="project" />
74
+ <orderEntry type="library" name="Maven: org.zeromq:jnacl:0.1.0" level="project" />
75
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-trigger:1.0" level="project" />
76
+ <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
77
+ <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
78
+ <orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.3.0" level="project" />
79
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
80
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
81
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
82
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
83
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
84
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
85
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
86
+ <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
87
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
88
+ <orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.44" level="project" />
89
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.16.8" level="project" />
90
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpasyncclient:4.1.1" level="project" />
91
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore-nio:4.4.4" level="project" />
92
+ <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
93
+ <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
94
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
95
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
96
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
97
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
98
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
99
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
100
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
101
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
102
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
103
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
104
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
105
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
106
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
107
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
108
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
109
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
110
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
111
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
112
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
113
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
114
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
115
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
116
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
117
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
118
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
119
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
120
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
121
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
122
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
123
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
124
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
125
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
126
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
127
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
128
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
129
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0" level="project" />
130
+ <orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.2.4.Final" level="project" />
131
+ <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
132
+ <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.1.Final" level="project" />
133
+ <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.3.4" level="project" />
134
+ </component>
135
+</module>
unipin_database_service/unipin-database-service.iml
....@@ -0,0 +1,109 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="Spring" name="Spring">
5
+ <configuration />
6
+ </facet>
7
+ <facet type="web" name="Web">
8
+ <configuration>
9
+ <webroots />
10
+ </configuration>
11
+ </facet>
12
+ </component>
13
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
14
+ <output url="file://$MODULE_DIR$/target/classes" />
15
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
16
+ <content url="file://$MODULE_DIR$">
17
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
18
+ <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
19
+ <excludeFolder url="file://$MODULE_DIR$/target" />
20
+ </content>
21
+ <orderEntry type="inheritedJdk" />
22
+ <orderEntry type="sourceFolder" forTests="false" />
23
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.7.RELEASE" level="project" />
24
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
25
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.7.RELEASE" level="project" />
26
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.7.RELEASE" level="project" />
27
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
28
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
29
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
30
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
31
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
32
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
33
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
34
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
35
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.7.RELEASE" level="project" />
36
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:8.5.20" level="project" />
37
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.20" level="project" />
38
+ <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.5.20" level="project" />
39
+ <orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.11.RELEASE" level="project" />
40
+ <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.11.RELEASE" level="project" />
41
+ <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.11.RELEASE" level="project" />
42
+ <orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.11.RELEASE" level="project" />
43
+ <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.3.11.RELEASE" level="project" />
44
+ <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.11.RELEASE" level="project" />
45
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
46
+ <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
47
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
48
+ <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
49
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
50
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
51
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
52
+ <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
53
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
54
+ <orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.44" level="project" />
55
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.16.8" level="project" />
56
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpasyncclient:4.1.1" level="project" />
57
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
58
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore-nio:4.4.4" level="project" />
59
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
60
+ <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
61
+ <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
62
+ <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
63
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
64
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
65
+ <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
66
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
67
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
68
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
69
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
70
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
71
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
72
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
73
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
74
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
75
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
76
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
77
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
78
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
79
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
80
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
81
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
82
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
83
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
84
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
85
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
86
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
87
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
88
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
89
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
90
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
91
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
92
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
93
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
94
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
95
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
96
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
97
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
98
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
99
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
100
+ <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
101
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
102
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0" level="project" />
103
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10" level="project" />
104
+ <orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.2.4.Final" level="project" />
105
+ <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
106
+ <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.1.Final" level="project" />
107
+ <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.3.4" level="project" />
108
+ </component>
109
+</module>
unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/Application.java
....@@ -46,8 +46,7 @@
4646 moPullJob.run();
4747 }
4848
49
- public static void main(String[] args)
50
- {
49
+ public static void main(String[] args){
5150 SpringApplication.run(Application.class, args);
5251 }
5352
unipin_mo_service/src/main/resources/application-dev.properties
....@@ -27,4 +27,4 @@
2727
2828 bgw.request.insert.url=http://localhost:10090/bgw
2929
30
-app.trigger.address=tcp://localhost:59696
30
+app.trigger.address=tcp://localhost:9696
unipin_mo_service/src/main/resources/logback-spring.xml
....@@ -33,7 +33,11 @@
3333
3434
3535 <root level="info">
36
- <appender-ref ref="STDOUT" />
37
- <appender-ref ref="FILE"/>
36
+ <springProfile name="dev">
37
+ <appender-ref ref="STDOUT"/>
38
+ </springProfile>
39
+ <springProfile name="prod">
40
+ <appender-ref ref="FILE"/>
41
+ </springProfile>
3842 </root>
3943 </configuration>
unipin_mo_service/unipin-mo-service.iml
....@@ -53,47 +53,64 @@
5353 <orderEntry type="library" name="Maven: org.opensmpp:opensmpp-core:3.0.0" level="project" />
5454 <orderEntry type="library" name="Maven: org.opensmpp:opensmpp-charset:3.0.0" level="project" />
5555 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10" level="project" />
56
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-data-jpa:1.5.7.RELEASE" level="project" />
57
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:1.5.7.RELEASE" level="project" />
58
- <orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.10" level="project" />
59
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
60
- <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
61
- <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
62
- <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
63
- <orderEntry type="library" name="Maven: org.hibernate:hibernate-core:5.0.12.Final" level="project" />
64
- <orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final" level="project" />
65
- <orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
66
- <orderEntry type="library" name="Maven: org.jboss:jandex:2.0.0.Final" level="project" />
67
- <orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
68
- <orderEntry type="library" name="Maven: org.hibernate.common:hibernate-commons-annotations:5.0.1.Final" level="project" />
69
- <orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:5.0.12.Final" level="project" />
70
- <orderEntry type="library" name="Maven: javax.transaction:javax.transaction-api:1.2" level="project" />
71
- <orderEntry type="library" name="Maven: org.springframework.data:spring-data-jpa:1.11.7.RELEASE" level="project" />
72
- <orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:1.13.7.RELEASE" level="project" />
73
- <orderEntry type="library" name="Maven: org.springframework:spring-orm:4.3.11.RELEASE" level="project" />
74
- <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
75
- <orderEntry type="library" name="Maven: org.springframework:spring-aspects:4.3.11.RELEASE" level="project" />
7656 <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
7757 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
7858 <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
7959 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
8060 <orderEntry type="library" name="Maven: org.zeromq:jeromq:0.4.2" level="project" />
8161 <orderEntry type="library" name="Maven: org.zeromq:jnacl:0.1.0" level="project" />
62
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-trigger:1.0" level="project" />
63
+ <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
64
+ <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
65
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
8266 <orderEntry type="module" module-name="unipin-database-service" />
8367 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
8468 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
8569 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
8670 <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
71
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
72
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
73
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
74
+ <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
75
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
8776 <orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.44" level="project" />
8877 <orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.16.8" level="project" />
8978 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpasyncclient:4.1.1" level="project" />
9079 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore-nio:4.4.4" level="project" />
9180 <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
9281 <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
93
- <orderEntry type="library" name="Maven: id.co.qhodok.tools:trigger:2.0" level="project" />
94
- <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
95
- <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
96
- <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
82
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
83
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
84
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
85
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
86
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
87
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
88
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
89
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
90
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
91
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
92
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
93
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
94
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
95
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
96
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
97
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
98
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
99
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
100
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
101
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
102
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
103
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
104
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
105
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
106
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
107
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
108
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
109
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
110
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
111
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
112
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
113
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
97114 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
98115 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
99116 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
unipin_model/unipin-model.iml
....@@ -21,21 +21,12 @@
2121 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
2222 <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
2323 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.7.RELEASE" level="project" />
24
- <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
2524 <orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.11.RELEASE" level="project" />
2625 <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.11.RELEASE" level="project" />
2726 <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.11.RELEASE" level="project" />
2827 <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.11.RELEASE" level="project" />
2928 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.7.RELEASE" level="project" />
3029 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
31
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
32
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
33
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
34
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
35
- <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
36
- <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
37
- <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
38
- <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
3930 <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
4031 <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
4132 <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
....@@ -49,13 +40,51 @@
4940 <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
5041 <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
5142 <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
52
- <orderEntry type="library" name="Maven: id.co.qhodok.tools:trigger:2.0" level="project" />
53
- <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
54
- <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
55
- <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
56
- <orderEntry type="library" name="Maven: org.zeromq:jeromq:0.4.2" level="project" />
57
- <orderEntry type="library" name="Maven: org.zeromq:jnacl:0.1.0" level="project" />
43
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
44
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
45
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
46
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
47
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
48
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
49
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
50
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
51
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.11.RELEASE" level="project" />
52
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
53
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
5854 <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
55
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
56
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
57
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
58
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
59
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
60
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
61
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
62
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
63
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
64
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
65
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
66
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
67
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
68
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
69
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
70
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
71
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
72
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
73
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
74
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
75
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
76
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
77
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
78
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
79
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
80
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
81
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
82
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
83
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
84
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
85
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
86
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
87
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
5988 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
6089 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
6190 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/Application.java
....@@ -40,8 +40,7 @@
4040 notificationPullJob.run();
4141 }
4242
43
- public static void main(String[] args)
44
- {
43
+ public static void main(String[] args) {
4544 SpringApplication.run(Application.class, args);
4645 }
4746
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java
....@@ -85,7 +85,7 @@
8585 return result;
8686 }
8787
88
- public MTResult sendMTPush(MTData mtData) {
88
+ public MTResult sendMTPush(MTData mtData) throws InterruptedException {
8989 MTResult result = new MTResult();
9090 try {
9191 String id = UUID.randomUUID().toString();
....@@ -94,7 +94,13 @@
9494 MsisdnUtil.addCountryNumber(mtData.getReceiver()),
9595 mtData.getMsg(),
9696 id);
97
- this.subscriber.connect(id);
97
+ while (true) {
98
+ if(this.subscriber.connect(id)){
99
+ break;
100
+ }else{
101
+ this.subscriber.reconnect(10,1000*10);
102
+ }
103
+ }
98104 while (true) {
99105 try {
100106 boolean result2 = this.publisher.publish("SMPP_MT", requestMT, State.CREATE);
....@@ -139,9 +145,17 @@
139145
140146 log.warn("sendMTPush.Exception[" + e.getMessage() + "][" + mtData + "]");
141147 e.printStackTrace();
148
+ }finally {
149
+ if(!this.subscriber.disconnect()){
150
+ while (true){
151
+ if(this.subscriber.reconnect(10,1000*10)){
152
+ break;
153
+ }
154
+ }
155
+ }
156
+ log.info("sendMPush/ErrCode[" + result.getErrCode() + "], ErrMsg[" + result.getErrStr() + "]");
157
+ return result;
142158 }
143
- log.info("sendMPush/ErrCode[" + result.getErrCode() + "], ErrMsg[" + result.getErrStr() + "]");
144
- return result;
145159 }
146160
147161 private static final SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");
unipin_notification_service/src/main/resources/application-dev.properties
....@@ -29,7 +29,7 @@
2929
3030 legacy.http.client.conn.timeout=10
3131
32
-app.trigger.address=tcp://localhost:59696
32
+app.trigger.address=tcp://localhost:9696
3333
3434
3535 bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
unipin_notification_service/src/main/resources/logback.xml
....@@ -1,22 +1,32 @@
11 <?xml version="1.0" encoding="UTF-8"?>
22 <configuration>
33
4
- <property name="LOG_PATTERN" value="%d %-5level [%logger{20}] %msg%n" />
4
+ <property name="LOG_PATTERN" value="%d %-5level [%logger{20}] %msg%n"/>
55
66 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
7
- <encoder>
7
+ <encoder>
88 <pattern>${LOG_PATTERN}</pattern>
99 </encoder>
1010 </appender>
1111
1212 <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
13
- <file>/app1/am/app/unipin/log/unipin-notification-service.log</file>
13
+ <springProfile name="dev">
14
+ <file>~/drive/amcloud/Project/ECOMMERS/payment_gateway/log/unipin-notification-service.log</file>
15
+ </springProfile>
16
+ <springProfile name="prod">
17
+ <file>/app1/am/app/unipin/log/unipin-notification-service.log</file>
18
+ </springProfile>
1419 <encoder>
1520 <pattern>${LOG_PATTERN}</pattern>
1621 </encoder>
1722
1823 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
19
- <fileNamePattern>/app1/am/app/unipin/log/notification/log.log.%d{yyyyMMdd}</fileNamePattern>
24
+ <springProfile name="dev">
25
+ <fileNamePattern>/~/drive/amcloud/Project/ECOMMERS/payment_gateway/log/notification/log.log.%d{yyyyMMdd}</fileNamePattern>
26
+ </springProfile>
27
+ <springProfile name="prod">
28
+ <fileNamePattern>/app1/am/app/unipin/log/notification/log.log.%d{yyyyMMdd}</fileNamePattern>
29
+ </springProfile>
2030 <maxHistory>180</maxHistory>
2131 </rollingPolicy>
2232
....@@ -25,6 +35,12 @@
2535
2636 <root level="info">
2737 <!--<appender-ref ref="STDOUT" />-->
28
- <appender-ref ref="FILE" />
38
+ <springProfile name="dev">
39
+ <appender-ref ref="STDOUT"/>
40
+ </springProfile>
41
+
42
+ <springProfile name="prod">
43
+ <appender-ref ref="FILE"/>
44
+ </springProfile>
2945 </root>
3046 </configuration>
unipin_notification_service/unipin-notification-service.iml
....@@ -38,40 +38,16 @@
3838 <orderEntry type="library" name="Maven: org.opensmpp:opensmpp-core:3.0.0" level="project" />
3939 <orderEntry type="library" name="Maven: org.opensmpp:opensmpp-charset:3.0.0" level="project" />
4040 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10" level="project" />
41
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-data-jpa:1.5.7.RELEASE" level="project" />
42
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
43
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
44
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
45
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
46
- <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
47
- <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
48
- <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
49
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:1.5.7.RELEASE" level="project" />
50
- <orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.10" level="project" />
51
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
52
- <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
53
- <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
54
- <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
55
- <orderEntry type="library" name="Maven: org.hibernate:hibernate-core:5.0.12.Final" level="project" />
56
- <orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final" level="project" />
57
- <orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
58
- <orderEntry type="library" name="Maven: org.jboss:jandex:2.0.0.Final" level="project" />
59
- <orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
60
- <orderEntry type="library" name="Maven: org.hibernate.common:hibernate-commons-annotations:5.0.1.Final" level="project" />
61
- <orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:5.0.12.Final" level="project" />
62
- <orderEntry type="library" name="Maven: javax.transaction:javax.transaction-api:1.2" level="project" />
63
- <orderEntry type="library" name="Maven: org.springframework.data:spring-data-jpa:1.11.7.RELEASE" level="project" />
64
- <orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:1.13.7.RELEASE" level="project" />
65
- <orderEntry type="library" name="Maven: org.springframework:spring-orm:4.3.11.RELEASE" level="project" />
66
- <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
67
- <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
68
- <orderEntry type="library" name="Maven: org.springframework:spring-aspects:4.3.11.RELEASE" level="project" />
6941 <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
7042 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
7143 <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
7244 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
7345 <orderEntry type="library" name="Maven: org.zeromq:jeromq:0.4.2" level="project" />
7446 <orderEntry type="library" name="Maven: org.zeromq:jnacl:0.1.0" level="project" />
47
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-trigger:1.0" level="project" />
48
+ <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
49
+ <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
50
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
7551 <orderEntry type="module" module-name="unipin-database-service" />
7652 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.7.RELEASE" level="project" />
7753 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.7.RELEASE" level="project" />
....@@ -114,16 +90,28 @@
11490 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
11591 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
11692 <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
93
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
94
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
95
+ <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
96
+ <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
97
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.11.RELEASE" level="project" />
11798 <orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.44" level="project" />
11899 <orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.16.8" level="project" />
119100 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpasyncclient:4.1.1" level="project" />
120101 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore-nio:4.4.4" level="project" />
121102 <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
122103 <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
123
- <orderEntry type="library" name="Maven: id.co.qhodok.tools:trigger:2.0" level="project" />
124
- <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
125
- <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
126
- <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
104
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
105
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
106
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
107
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
108
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
109
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
110
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
111
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
112
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
113
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
114
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
127115 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
128116 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
129117 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
unipin_request_service/src/main/java/id/co/accessmobile/carrier/billing/requestservice/controller/PaymentRequestController.java
....@@ -67,10 +67,15 @@
6767
6868 Result requestRslt;
6969
70
- long totPrice = this.bgwHistoryMapper.select(msisdn, this.simpleDateFormat.format(new Date())).getPrice();
70
+ long totPrice = 0;
71
+ try{
72
+ totPrice = this.bgwHistoryMapper.select(msisdn, this.simpleDateFormat.format(new Date())).getPrice();
73
+ }catch (Exception ex){
74
+ log.warn(logTitle+" Error[{}]", ex.getMessage());
75
+ }
7176 try {
7277 if (totPrice > Long.parseLong(this.limitation) && !msisdn.matches(this.limitationException)) {
73
- requestRslt = paymentReqSvc.insertLimit(msisdn, "997780", "Maaf, " + msisdn + " Anda telah mencapai batas maksimal transaksi bulanan. Info lebih lanjut hubungi CS: 021-5761011/ [email protected]");
78
+ requestRslt = paymentReqSvc.insertLimit(msisdn, "997780", "Maaf, " + msisdn + " Anda telah mencapai batas maksimal transaksi harian. Info lebih lanjut hubungi CS: 021-5761011/ [email protected]");
7479 requestRslt.setTrx_id(trxId);
7580 } else {
7681 validator.validateCarrierPrefix(msisdn);
unipin_request_service/src/main/java/id/co/accessmobile/carrier/billing/requestservice/properties/Price.java
....@@ -25,5 +25,15 @@
2525 map.put("3000", 3000);
2626 map.put("75000", 75000);
2727 map.put("250000", 250000);
28
+ //add at 01 10 18
29
+ map.put("15000", 250000);
30
+ map.put("30000", 250000);
31
+ map.put("45000", 250000);
32
+ map.put("75000", 250000);
33
+ map.put("150000", 250000);
34
+ map.put("300000", 250000);
35
+ map.put("750000", 250000);
36
+ //
37
+ map.put("1", 1);
2838 }
2939 }
unipin_request_service/src/main/resources/application-dev.properties
....@@ -16,5 +16,5 @@
1616 logging.level.sample.mybatis.mapper=TRACE
1717
1818 hutch.prefixes=0896,0897,0898,0899,0895
19
-app.reminder.limitation=10000000
19
+app.reminder.limitation=15000000
2020 app.reminder.limitation.exception=abc
unipin_request_service/src/main/resources/application-prod.properties
....@@ -16,5 +16,5 @@
1616 logging.level.sample.mybatis.mapper=TRACE
1717
1818 hutch.prefixes=0896,0897,0898,0899,0895
19
-app.reminder.limitation=10000000
19
+app.reminder.limitation=15000000
2020 app.reminder.limitation.exception=abc
unipin_request_service/src/main/resources/logback.xml
....@@ -16,13 +16,13 @@
1616 </springProfile>
1717
1818 <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
19
- <file>${LOG_PATH}/unipin-charge-service-unipin.log</file>
19
+ <file>${LOG_PATH}/unipin-request-service.log</file>
2020 <encoder>
2121 <pattern>${LOG_PATTERN}</pattern>
2222 </encoder>
2323
2424 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
25
- <fileNamePattern>${LOG_PATH}/charge/log.log.%d{yyyyMMdd}</fileNamePattern>
25
+ <fileNamePattern>${LOG_PATH}/request/unipin-request-service.log.%d{yyyyMMdd}</fileNamePattern>
2626 <maxHistory>180</maxHistory>
2727 </rollingPolicy>
2828
unipin_request_service/unipin-request-service.iml
....@@ -66,13 +66,42 @@
6666 <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
6767 <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
6868 <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
69
- <orderEntry type="library" name="Maven: id.co.qhodok.tools:trigger:2.0" level="project" />
70
- <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
71
- <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
72
- <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
73
- <orderEntry type="library" name="Maven: org.zeromq:jeromq:0.4.2" level="project" />
74
- <orderEntry type="library" name="Maven: org.zeromq:jnacl:0.1.0" level="project" />
69
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
70
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
7571 <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
72
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
73
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
74
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
75
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
76
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
77
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
78
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
79
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
80
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
81
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
82
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1" level="project" />
83
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.25.1" level="project" />
84
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1" level="project" />
85
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
86
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.25.1" level="project" />
87
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
88
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
89
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
90
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
91
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
92
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
93
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.25.1" level="project" />
94
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.25.1" level="project" />
95
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.25.1" level="project" />
96
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
97
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.5.0-b32" level="project" />
98
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
99
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
100
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
101
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
102
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
103
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
104
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
76105 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
77106 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
78107 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
unipin_result_service/unipin-result-service.iml
....@@ -32,6 +32,7 @@
3232 <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
3333 <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
3434 <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
35
+ <orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
3536 <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.10" level="project" />
3637 <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.8.10" level="project" />
3738 <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.8.10" level="project" />
....@@ -54,6 +55,7 @@
5455 <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.5.0-b32" level="project" />
5556 <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b32" level="project" />
5657 <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.5.0-b32" level="project" />
58
+ <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
5759 <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.3" level="project" />
5860 <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
5961 <orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.2.4.Final" level="project" />
....@@ -65,14 +67,6 @@
6567 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
6668 <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
6769 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.7.RELEASE" level="project" />
68
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
69
- <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
70
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
71
- <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
72
- <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
73
- <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
74
- <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
75
- <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
7670 <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.20" level="project" />
7771 <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.20" level="project" />
7872 <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.11.RELEASE" level="project" />
....@@ -86,13 +80,18 @@
8680 <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
8781 <orderEntry type="library" name="Maven: org.jsmpp:jsmpp:2.2.4" level="project" />
8882 <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
89
- <orderEntry type="library" name="Maven: id.co.qhodok.tools:trigger:2.0" level="project" />
90
- <orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
91
- <orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
92
- <orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
93
- <orderEntry type="library" name="Maven: org.zeromq:jeromq:0.4.2" level="project" />
94
- <orderEntry type="library" name="Maven: org.zeromq:jnacl:0.1.0" level="project" />
83
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-logger:1.0" level="project" />
84
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
85
+ <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.7.RELEASE" level="project" />
86
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
87
+ <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
88
+ <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
89
+ <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
90
+ <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
91
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
92
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
9593 <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.1" level="project" />
94
+ <orderEntry type="library" name="Maven: id.co.qhodok.tools:qhodok-tools-telegram:1.0" level="project" />
9695 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-asl:1.9.13" level="project" />
9796 <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-asl:1.9.13" level="project" />
9897 <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />