Permana
2018-02-01 f7bd7f9e768143464be9a09e2e08fc1423379dc8
finishing error monitoring
32 files modified
21 files added
2500 ■■■■ changed files
.idea/compiler.xml 2 ●●●●● patch | view | raw | blame | history
.idea/encodings.xml 1 ●●●● patch | view | raw | blame | history
.idea/modules.xml 1 ●●●● patch | view | raw | blame | history
.idea/workspace.xml 1136 ●●●● patch | view | raw | blame | history
pom.xml 1 ●●●● patch | view | raw | blame | history
unipin_bot_telegram_service/pom.xml 54 ●●●●● patch | view | raw | blame | history
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java 55 ●●●●● patch | view | raw | blame | history
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/BotManager.java 30 ●●●●● patch | view | raw | blame | history
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java 13 ●●●●● patch | view | raw | blame | history
unipin_charge_service/pom.xml 6 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java 16 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Monitoring.java 42 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargePullJob.java 24 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargeWorker.java 14 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/mapper/MonitoringUserMapper.java 17 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/model/MonitoringUser.java 36 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientChargingService.java 30 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/resources/application.properties 3 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/resources/mybatis/mapper/MonitoringUser.xml 22 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/resources/mybatis/mybatis-config.xml 1 ●●●● patch | view | raw | blame | history
unipin_charge_service/unipin-charge-service.iml 31 ●●●●● patch | view | raw | blame | history
unipin_cms_service/pom.xml 6 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java 4 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java 2 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/MonitoringUser.java 36 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java 28 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java 5 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java 50 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java 124 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/application.properties 4 ●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml 60 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml 34 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml 1 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/static/model/UserTrackerModel.js 2 ●●● patch | view | raw | blame | history
unipin_notification_service/pom.xml 6 ●●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/Monitoring.java 42 ●●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/MonitoringUserMapper.java 17 ●●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/model/MonitoringUser.java 36 ●●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java 270 ●●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/resources/application-dev.properties 6 ●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/resources/application-prod.properties 6 ●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/resources/mybatis/mapper/MonitoringUser.xml 22 ●●●●● patch | view | raw | blame | history
unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml 1 ●●●● patch | view | raw | blame | history
unipin_notification_service/unipin-notification-service.iml 31 ●●●●● patch | view | raw | blame | history
unipin_result_service/pom.xml 6 ●●●●● patch | view | raw | blame | history
unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/Monitoring.java 42 ●●●●● patch | view | raw | blame | history
unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/mapper/MonitoringUserMapper.java 17 ●●●●● patch | view | raw | blame | history
unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/model/MonitoringUser.java 36 ●●●●● patch | view | raw | blame | history
unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/service/LineCallbackService.java 14 ●●●●● patch | view | raw | blame | history
unipin_result_service/src/main/resources/application.properties 4 ●●●● patch | view | raw | blame | history
unipin_result_service/src/main/resources/mybatis/mapper/MonitoringUser.xml 22 ●●●●● patch | view | raw | blame | history
unipin_result_service/src/main/resources/mybatis/mybatis-config.xml 1 ●●●● patch | view | raw | blame | history
unipin_result_service/unipin-result-service.iml 30 ●●●●● patch | view | raw | blame | history
.idea/compiler.xml
....@@ -16,6 +16,7 @@
1616 <module name="unipin-notification-service" />
1717 <module name="unipin-request-service" />
1818 <module name="unipin-result-service" />
19
+ <module name="unipin_bot_telegram_service" />
1920 </profile>
2021 </annotationProcessing>
2122 <bytecodeTargetLevel>
....@@ -30,6 +31,7 @@
3031 <module name="unipin-notification-service" target="1.8" />
3132 <module name="unipin-request-service" target="1.8" />
3233 <module name="unipin-result-service" target="1.8" />
34
+ <module name="unipin_bot_telegram_service" target="1.7" />
3335 </bytecodeTargetLevel>
3436 </component>
3537 </project>
.idea/encodings.xml
....@@ -4,6 +4,7 @@
44 <file url="file://$PROJECT_DIR$" charset="UTF-8" />
55 <file url="file://$PROJECT_DIR$/unipin_api_service" charset="UTF-8" />
66 <file url="file://$PROJECT_DIR$/unipin_bgw_service" charset="UTF-8" />
7
+ <file url="file://$PROJECT_DIR$/unipin_bot_telegram_service" charset="UTF-8" />
78 <file url="file://$PROJECT_DIR$/unipin_charge_service" charset="UTF-8" />
89 <file url="file://$PROJECT_DIR$/unipin_cms_service" charset="UTF-8" />
910 <file url="file://$PROJECT_DIR$/unipin_database_service" charset="UTF-8" />
.idea/modules.xml
....@@ -13,6 +13,7 @@
1313 <module fileurl="file://$PROJECT_DIR$/unipin_notification_service/unipin-notification-service.iml" filepath="$PROJECT_DIR$/unipin_notification_service/unipin-notification-service.iml" />
1414 <module fileurl="file://$PROJECT_DIR$/unipin_request_service/unipin-request-service.iml" filepath="$PROJECT_DIR$/unipin_request_service/unipin-request-service.iml" />
1515 <module fileurl="file://$PROJECT_DIR$/unipin_result_service/unipin-result-service.iml" filepath="$PROJECT_DIR$/unipin_result_service/unipin-result-service.iml" />
16
+ <module fileurl="file://$PROJECT_DIR$/unipin_bot_telegram_service/unipin_bot_telegram_service.iml" filepath="$PROJECT_DIR$/unipin_bot_telegram_service/unipin_bot_telegram_service.iml" />
1617 </modules>
1718 </component>
1819 </project>
.idea/workspace.xml
....@@ -2,79 +2,59 @@
22 <project version="4">
33 <component name="ChangeListManager">
44 <list default="true" id="70370646-8d4c-4a2f-aaa5-97ff82c7c590" name="Default" comment="">
5
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/mapper/TransactionRepositoy.java" />
6
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/mapper/TransactionStateRepository.java" />
7
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/resources/application-dev.properties" />
8
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/resources/application-prod.properties" />
9
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/resources/mybatis/mapper/transaction.xml" />
10
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
11
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java" />
12
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/Activity.java" />
13
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/UserTrack.java" />
14
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionRepositoy.java" />
15
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java" />
16
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application-dev.properties" />
17
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application-prod.properties" />
18
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transaction.xml" />
19
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
20
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/UserTrackerModel.js" />
21
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/mapper/TransactionRepositoy.java" />
22
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/mapper/TransactionStateRepository.java" />
23
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/resources/application-dev.properties" />
24
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/resources/application-prod.properties" />
25
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/resources/mybatis/mapper/transaction.xml" />
26
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
27
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/TransactionRepositoy.java" />
28
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/TransactionStateRepository.java" />
29
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties" />
30
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties" />
31
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/transaction.xml" />
32
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
33
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_request_service/src/main/resources/application-dev.properties" />
34
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_request_service/src/main/resources/application-prod.properties" />
35
- <change type="DELETED" beforePath="$PROJECT_DIR$/unipin_charge_service/unipin-charge-service.iml" afterPath="" />
36
- <change type="DELETED" beforePath="$PROJECT_DIR$/unipin_database_service/unipin_database_service.iml" afterPath="" />
37
- <change type="DELETED" beforePath="$PROJECT_DIR$/unipin_mo_service/unipin-mo-service.iml" afterPath="" />
38
- <change type="DELETED" beforePath="$PROJECT_DIR$/unipin_model/unipin-model.iml" afterPath="" />
39
- <change type="DELETED" beforePath="$PROJECT_DIR$/unipin_notification_service/unipin-notification-service.iml" afterPath="" />
40
- <change type="DELETED" beforePath="$PROJECT_DIR$/unipin_request_service/unipin-request-service.iml" afterPath="" />
41
- <change type="DELETED" beforePath="$PROJECT_DIR$/unipin_result_service/unipin-result-service.iml" afterPath="" />
5
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_bot_telegram_service/pom.xml" />
6
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java" />
7
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/BotManager.java" />
8
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java" />
9
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Monitoring.java" />
10
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/mapper/MonitoringUserMapper.java" />
11
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/model/MonitoringUser.java" />
12
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/resources/mybatis/mapper/MonitoringUser.xml" />
13
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/MonitoringUser.java" />
14
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java" />
15
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java" />
16
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java" />
17
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml" />
18
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/Monitoring.java" />
19
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/MonitoringUserMapper.java" />
20
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/model/MonitoringUser.java" />
21
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/MonitoringUser.xml" />
22
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/Monitoring.java" />
23
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/mapper/MonitoringUserMapper.java" />
24
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/model/MonitoringUser.java" />
25
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/unipin_result_service/src/main/resources/mybatis/mapper/MonitoringUser.xml" />
4226 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/compiler.xml" afterPath="$PROJECT_DIR$/.idea/compiler.xml" />
4327 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/encodings.xml" afterPath="$PROJECT_DIR$/.idea/encodings.xml" />
44
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
4528 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/modules.xml" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
4629 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
4730 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/pom.xml" afterPath="$PROJECT_DIR$/pom.xml" />
48
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_api_service/pom.xml" afterPath="$PROJECT_DIR$/unipin_api_service/pom.xml" />
49
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/rest/controller/BillingController.java" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/rest/controller/BillingController.java" />
50
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_api_service/src/main/resources/application.properties" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/resources/application.properties" />
51
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_api_service/src/main/resources/mybatis/mybatis-config.xml" afterPath="$PROJECT_DIR$/unipin_api_service/src/main/resources/mybatis/mybatis-config.xml" />
31
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_charge_service/pom.xml" afterPath="$PROJECT_DIR$/unipin_charge_service/pom.xml" />
32
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java" />
33
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargePullJob.java" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargePullJob.java" />
34
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargeWorker.java" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargeWorker.java" />
35
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientChargingService.java" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientChargingService.java" />
36
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_charge_service/src/main/resources/application.properties" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/resources/application.properties" />
37
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_charge_service/src/main/resources/mybatis/mybatis-config.xml" afterPath="$PROJECT_DIR$/unipin_charge_service/src/main/resources/mybatis/mybatis-config.xml" />
38
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_charge_service/unipin-charge-service.iml" afterPath="$PROJECT_DIR$/unipin_charge_service/unipin-charge-service.iml" />
5239 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/pom.xml" afterPath="$PROJECT_DIR$/unipin_cms_service/pom.xml" />
53
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/ViewPurchase.java" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/ViewPurchase.java" />
54
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/ViewRevenue.java" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/ViewRevenue.java" />
40
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java" />
41
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java" />
42
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java" />
5543 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties" />
56
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/purchase.xml" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/purchase.xml" />
57
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/revenue.xml" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/revenue.xml" />
44
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
5845 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml" />
59
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/PurchaseModel.js" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/PurchaseModel.js" />
60
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/RevenueModel.js" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/RevenueModel.js" />
61
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/plugins/ckeditor/plugins/codesnippet/lib/highlight/CHANGES.md" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/plugins/ckeditor/plugins/codesnippet/lib/highlight/CHANGES.md" />
62
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/templates/index.html" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/templates/index.html" />
63
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_database_service/pom.xml" afterPath="$PROJECT_DIR$/unipin_database_service/pom.xml" />
64
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/Application.java" afterPath="$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/Application.java" />
65
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_mo_service/pom.xml" afterPath="$PROJECT_DIR$/unipin_mo_service/pom.xml" />
66
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/job/MoWorker.java" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/job/MoWorker.java" />
67
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/service/MoTriggerService.java" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/service/MoTriggerService.java" />
68
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_mo_service/src/main/resources/application.properties" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/resources/application.properties" />
69
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_mo_service/src/main/resources/mybatis/mybatis-config.xml" afterPath="$PROJECT_DIR$/unipin_mo_service/src/main/resources/mybatis/mybatis-config.xml" />
46
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/UserTrackerModel.js" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/UserTrackerModel.js" />
7047 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/pom.xml" afterPath="$PROJECT_DIR$/unipin_notification_service/pom.xml" />
71
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/job/NotificationWorker.java" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/job/NotificationWorker.java" />
72
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/ChargeRequestStoreMapper.java" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/ChargeRequestStoreMapper.java" />
7348 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java" />
74
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application.properties" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application.properties" />
75
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/ChargeRequestStoreMapper.xml" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/ChargeRequestStoreMapper.xml" />
49
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties" />
50
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties" />
7651 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml" afterPath="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml" />
77
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_request_service/src/main/resources/application.properties" afterPath="$PROJECT_DIR$/unipin_request_service/src/main/resources/application.properties" />
52
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_notification_service/unipin-notification-service.iml" afterPath="$PROJECT_DIR$/unipin_notification_service/unipin-notification-service.iml" />
53
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_result_service/pom.xml" afterPath="$PROJECT_DIR$/unipin_result_service/pom.xml" />
54
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/service/LineCallbackService.java" afterPath="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/service/LineCallbackService.java" />
55
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_result_service/src/main/resources/application.properties" afterPath="$PROJECT_DIR$/unipin_result_service/src/main/resources/application.properties" />
56
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_result_service/src/main/resources/mybatis/mybatis-config.xml" afterPath="$PROJECT_DIR$/unipin_result_service/src/main/resources/mybatis/mybatis-config.xml" />
57
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_result_service/unipin-result-service.iml" afterPath="$PROJECT_DIR$/unipin_result_service/unipin-result-service.iml" />
7858 </list>
7959 <ignored path="$PROJECT_DIR$/unipin_bgw_service/target/" />
8060 <ignored path="$PROJECT_DIR$/target/" />
....@@ -87,6 +67,7 @@
8767 <ignored path="$PROJECT_DIR$/unipin_mo_service/target/" />
8868 <ignored path="$PROJECT_DIR$/unipin_charge_service/target/" />
8969 <ignored path="$PROJECT_DIR$/unipin_request_service/target/" />
70
+ <ignored path="$PROJECT_DIR$/unipin_bot_telegram_service/target/" />
9071 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9172 <option name="TRACKING_ENABLED" value="true" />
9273 <option name="SHOW_DIALOG" value="false" />
....@@ -102,56 +83,113 @@
10283 <favorites_list name="unipin" />
10384 </component>
10485 <component name="FileEditorManager">
105
- <leaf>
106
- <file leaf-file-name="UserTrack.java" pinned="false" current-in-tab="false">
107
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/UserTrack.java">
86
+ <leaf SIDE_TABS_SIZE_LIMIT_KEY="450">
87
+ <file leaf-file-name="Monitoring.java" pinned="false" current-in-tab="false">
88
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java">
10889 <provider selected="true" editor-type-id="text-editor">
109
- <state relative-caret-position="-381">
110
- <caret line="15" column="51" lean-forward="false" selection-start-line="15" selection-start-column="51" selection-end-line="15" selection-end-column="51" />
90
+ <state relative-caret-position="561">
91
+ <caret line="46" column="48" lean-forward="false" selection-start-line="46" selection-start-column="48" selection-end-line="46" selection-end-column="48" />
11192 <folding>
11293 <element signature="imports" expanded="true" />
113
- <element signature="e#1096#1097#0" expanded="true" />
114
- <element signature="e#1140#1141#0" expanded="true" />
11594 </folding>
11695 </state>
11796 </provider>
11897 </entry>
11998 </file>
120
- <file leaf-file-name="TblTransactionStates.java" pinned="false" current-in-tab="false">
121
- <entry file="file://$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/entity/TblTransactionStates.java">
99
+ <file leaf-file-name="MonitoringUserMapper.java" pinned="false" current-in-tab="false">
100
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java">
122101 <provider selected="true" editor-type-id="text-editor">
123
- <state relative-caret-position="297">
124
- <caret line="14" column="0" lean-forward="false" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
102
+ <state relative-caret-position="480">
103
+ <caret line="24" column="53" lean-forward="false" selection-start-line="24" selection-start-column="53" selection-end-line="24" selection-end-column="53" />
125104 <folding />
126105 </state>
127106 </provider>
128107 </entry>
129108 </file>
130
- <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
131
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties">
109
+ <file leaf-file-name="SMSService.java" pinned="false" current-in-tab="false">
110
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java">
132111 <provider selected="true" editor-type-id="text-editor">
133
- <state relative-caret-position="0">
134
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="22" />
112
+ <state relative-caret-position="234">
113
+ <caret line="164" column="82" lean-forward="false" selection-start-line="164" selection-start-column="81" selection-end-line="164" selection-end-column="82" />
135114 <folding />
115
+ </state>
116
+ </provider>
117
+ </entry>
118
+ </file>
119
+ <file leaf-file-name="MonitoringService.java" pinned="false" current-in-tab="false">
120
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java">
121
+ <provider selected="true" editor-type-id="text-editor">
122
+ <state relative-caret-position="234">
123
+ <caret line="66" column="57" lean-forward="false" selection-start-line="66" selection-start-column="57" selection-end-line="66" selection-end-column="57" />
124
+ <folding>
125
+ <element signature="imports" expanded="true" />
126
+ <element signature="method#checkMTStuck#0;class#MonitoringService#0" expanded="false" />
127
+ <element signature="method#checkMOStuck#0;class#MonitoringService#0" expanded="false" />
128
+ </folding>
136129 </state>
137130 </provider>
138131 </entry>
139132 </file>
140133 <file leaf-file-name="application-prod.properties" pinned="false" current-in-tab="true">
141
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/application-prod.properties">
134
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties">
142135 <provider selected="true" editor-type-id="text-editor">
143
- <state relative-caret-position="0">
144
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
136
+ <state relative-caret-position="1026">
137
+ <caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
145138 <folding />
146139 </state>
147140 </provider>
148141 </entry>
149142 </file>
150
- <file leaf-file-name="Application.java" pinned="false" current-in-tab="false">
151
- <entry file="file://$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/Application.java">
143
+ <file leaf-file-name="monitoringUser.xml" pinned="false" current-in-tab="false">
144
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml">
152145 <provider selected="true" editor-type-id="text-editor">
153
- <state relative-caret-position="402">
154
- <caret line="37" column="106" lean-forward="false" selection-start-line="37" selection-start-column="106" selection-end-line="37" selection-end-column="106" />
146
+ <state relative-caret-position="352">
147
+ <caret line="44" column="25" lean-forward="false" selection-start-line="44" selection-start-column="25" selection-end-line="44" selection-end-column="25" />
148
+ <folding>
149
+ <marker date="1517481986212" expanded="true" signature="570:834" ph="SELECT user.... tbl_monitoring_user" />
150
+ <marker date="1517481986212" expanded="true" signature="912:1160" ph="SELECT user.... tbl_monitoring_user" />
151
+ <marker date="1517481986212" expanded="true" signature="1239:1340" ph="INSERT INTO tbl_monitoring_user" />
152
+ <marker date="1517481986212" expanded="true" signature="1437:1526" ph="INSERT INTO tbl_monitoring_user" />
153
+ <marker date="1517481986212" expanded="true" signature="1615:1743" ph="SELECT id FR... tbl_monitoring_user_rules" />
154
+ <marker date="1517481986212" expanded="true" signature="1834:1882" ph="SELECT * fro... tbl_monitoring_user" />
155
+ </folding>
156
+ </state>
157
+ </provider>
158
+ </entry>
159
+ </file>
160
+ <file leaf-file-name="application-dev.properties" pinned="false" current-in-tab="false">
161
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties">
162
+ <provider selected="true" editor-type-id="text-editor">
163
+ <state relative-caret-position="606">
164
+ <caret line="36" column="0" lean-forward="false" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
165
+ <folding />
166
+ </state>
167
+ </provider>
168
+ </entry>
169
+ </file>
170
+ <file leaf-file-name="transactionStatus.xml" pinned="false" current-in-tab="false">
171
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml">
172
+ <provider selected="true" editor-type-id="text-editor">
173
+ <state relative-caret-position="648">
174
+ <caret line="24" column="8" lean-forward="false" selection-start-line="24" selection-start-column="8" selection-end-line="29" selection-end-column="40" />
175
+ <folding>
176
+ <marker date="1517477417319" expanded="true" signature="798:951" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction_states... " />
177
+ <marker date="1517477417319" expanded="true" signature="1058:1128" ph="SELECT * fro... tbl_transaction_states" />
178
+ <marker date="1517477417319" expanded="true" signature="1236:1583" ph="select tbl_t... tbl_transaction" />
179
+ <marker date="1517477417319" expanded="true" signature="1310:1405" ph="select id fr... tbl_transaction_states" />
180
+ <marker date="1517477417319" expanded="true" signature="1690:2115" ph="SELECT a.id,... tbl_transaction_states" />
181
+ <marker date="1517477417319" expanded="true" signature="1799:1889" ph="select tbl_t... tbl_transaction_states" />
182
+ <marker date="1517477417319" expanded="true" signature="1916:2000" ph="select tbl_t... tbl_transaction_states" />
183
+ </folding>
184
+ </state>
185
+ </provider>
186
+ </entry>
187
+ </file>
188
+ <file leaf-file-name="TransactionStateRepository.java" pinned="false" current-in-tab="false">
189
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java">
190
+ <provider selected="true" editor-type-id="text-editor">
191
+ <state relative-caret-position="432">
192
+ <caret line="22" column="38" lean-forward="false" selection-start-line="22" selection-start-column="38" selection-end-line="22" selection-end-column="38" />
155193 <folding />
156194 </state>
157195 </provider>
....@@ -162,6 +200,7 @@
162200 <component name="FileTemplateManagerImpl">
163201 <option name="RECENT_TEMPLATES">
164202 <list>
203
+ <option value="Interface" />
165204 <option value="Class" />
166205 </list>
167206 </option>
....@@ -175,6 +214,12 @@
175214 <find>insertMOHistory</find>
176215 <find>INSUFFICIENT</find>
177216 <find>app.apiurl.purchase</find>
217
+ <find>catch</find>
218
+ <find>line.callback.test.url</find>
219
+ <find>ineCallbackTestUrl</find>
220
+ <find>monitoring</find>
221
+ <find>user_st</find>
222
+ <find>sendMessageForTechnical</find>
178223 </findStrings>
179224 <replaceStrings>
180225 <replace />
....@@ -183,6 +228,7 @@
183228 <dir>C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_mo_service</dir>
184229 <dir>C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_mo_service\src\main\java\id\co\accessmobile\carrier\billing\unipin\moservice</dir>
185230 <dir>C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_charge_service\src\main\java\id\co\accessmobile\carrier\billling\unipin\chargingservice</dir>
231
+ <dir>C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_result_service\src\main\java\id\co\accessmobile\carrier\biling\resultservice</dir>
186232 </dirStrings>
187233 </component>
188234 <component name="Git.Settings">
....@@ -204,53 +250,57 @@
204250 <component name="IdeDocumentHistory">
205251 <option name="CHANGED_PATHS">
206252 <list>
207
- <option value="$PROJECT_DIR$/unipin_api_service/pom.xml" />
208
- <option value="$PROJECT_DIR$/unipin_api_service/src/main/resources/application-dev.properties" />
209
- <option value="$PROJECT_DIR$/unipin_api_service/src/main/resources/application.properties" />
210
- <option value="$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/Application.java" />
211
- <option value="$PROJECT_DIR$/unipin_api_service/src/main/resources/mybatis/mybatis-config.xml" />
212
- <option value="$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/mapper/TransactionRepositoy.java" />
213
- <option value="$PROJECT_DIR$/unipin_api_service/src/main/resources/mybatis/mapper/transaction.xml" />
214
- <option value="$PROJECT_DIR$/unipin_api_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
215
- <option value="$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/rest/controller/BillingController.java" />
216
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/TransactionRepositoy.java" />
217
- <option value="$PROJECT_DIR$/unipin_notification_service/pom.xml" />
218
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/transaction.xml" />
219
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
220
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/resources/mybatis/mybatis-config.xml" />
221
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/mapper/TransactionRepositoy.java" />
222
- <option value="$PROJECT_DIR$/unipin_mo_service/pom.xml" />
223
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/resources/mybatis/mapper/transaction.xml" />
224
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
225
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/service/MoTriggerService.java" />
226
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/job/MoWorker.java" />
227
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/resources/application-prod.properties" />
228
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/resources/application-dev.properties" />
229
- <option value="$PROJECT_DIR$/unipin_mo_service/src/main/resources/application.properties" />
230
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties" />
231
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties" />
232
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application.properties" />
233
- <option value="$PROJECT_DIR$/unipin_request_service/src/main/resources/application-prod.properties" />
234
- <option value="$PROJECT_DIR$/unipin_request_service/src/main/resources/application-dev.properties" />
235
- <option value="$PROJECT_DIR$/unipin_request_service/src/main/resources/application.properties" />
236
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/ChargeRequestStoreMapper.xml" />
237
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/ChargeRequestStoreMapper.java" />
238
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml" />
239
- <option value="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/job/NotificationWorker.java" />
240
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application-dev.properties" />
241
- <option value="$PROJECT_DIR$/unipin_cms_service/pom.xml" />
242
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml" />
243
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java" />
244
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transaction.xml" />
245
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
246
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties" />
247
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/UserTracker.js" />
248253 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/templates/index.html" />
249254 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/Activity.java" />
250
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java" />
251255 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/UserTrack.java" />
252256 <option value="$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/entity/TblTransactionStates.java" />
257
+ <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java" />
258
+ <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Application.java" />
259
+ <option value="$PROJECT_DIR$/unipin_charge_service/pom.xml" />
260
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/resources/application.properties" />
261
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/model/MonitoringUser.java" />
262
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/resources/mybatis/mapper/MonitoringUser.xml" />
263
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/resources/mybatis/mybatis-config.xml" />
264
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java" />
253265 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/UserTrackerModel.js" />
266
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java" />
267
+ <option value="$PROJECT_DIR$/unipin_result_service/pom.xml" />
268
+ <option value="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/model/MonitoringUser.java" />
269
+ <option value="$PROJECT_DIR$/unipin_result_service/src/main/resources/mybatis/mapper/MonitoringUser.xml" />
270
+ <option value="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/model/MonitoringUser.java" />
271
+ <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/MonitoringUser.xml" />
272
+ <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml" />
273
+ <option value="$PROJECT_DIR$/unipin_result_service/src/main/resources/mybatis/mybatis-config.xml" />
274
+ <option value="$PROJECT_DIR$/unipin_notification_service/pom.xml" />
275
+ <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java" />
276
+ <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties" />
277
+ <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties" />
278
+ <option value="$PROJECT_DIR$/unipin_result_service/src/main/resources/application.properties" />
279
+ <option value="$PROJECT_DIR$/unipin_bot_telegram_service/pom.xml" />
280
+ <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/BotManager.java" />
281
+ <option value="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/Monitoring.java" />
282
+ <option value="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/Monitoring.java" />
283
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Monitoring.java" />
284
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargePullJob.java" />
285
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargeWorker.java" />
286
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientChargingService.java" />
287
+ <option value="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/service/LineCallbackService.java" />
288
+ <option value="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java" />
289
+ <option value="$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/MonitoringUserMapper.java" />
290
+ <option value="$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/mapper/MonitoringUserMapper.java" />
291
+ <option value="$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/mapper/MonitoringUserMapper.java" />
292
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/MonitoringUser.java" />
293
+ <option value="$PROJECT_DIR$/unipin_cms_service/pom.xml" />
294
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Monitoring.java" />
295
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties" />
296
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java" />
297
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
298
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java" />
299
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml" />
300
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java" />
301
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java" />
302
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml" />
303
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java" />
254304 </list>
255305 </option>
256306 </component>
....@@ -320,7 +370,6 @@
320370 <foldersAlwaysOnTop value="true" />
321371 </navigator>
322372 <panes>
323
- <pane id="PackagesPane" />
324373 <pane id="Scope" />
325374 <pane id="Scratches" />
326375 <pane id="ProjectPane">
....@@ -345,7 +394,7 @@
345394 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
346395 </PATH_ELEMENT>
347396 <PATH_ELEMENT>
348
- <option name="myItemId" value="unipin_database_service" />
397
+ <option name="myItemId" value="unipin_notification_service" />
349398 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
350399 </PATH_ELEMENT>
351400 </PATH>
....@@ -359,7 +408,25 @@
359408 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
360409 </PATH_ELEMENT>
361410 <PATH_ELEMENT>
362
- <option name="myItemId" value="unipin_database_service" />
411
+ <option name="myItemId" value="unipin_notification_service" />
412
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
413
+ </PATH_ELEMENT>
414
+ <PATH_ELEMENT>
415
+ <option name="myItemId" value="src" />
416
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
417
+ </PATH_ELEMENT>
418
+ </PATH>
419
+ <PATH>
420
+ <PATH_ELEMENT>
421
+ <option name="myItemId" value="unipin" />
422
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
423
+ </PATH_ELEMENT>
424
+ <PATH_ELEMENT>
425
+ <option name="myItemId" value="unipin" />
426
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
427
+ </PATH_ELEMENT>
428
+ <PATH_ELEMENT>
429
+ <option name="myItemId" value="unipin_notification_service" />
363430 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
364431 </PATH_ELEMENT>
365432 <PATH_ELEMENT>
....@@ -370,6 +437,10 @@
370437 <option name="myItemId" value="main" />
371438 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
372439 </PATH_ELEMENT>
440
+ <PATH_ELEMENT>
441
+ <option name="myItemId" value="resources" />
442
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
443
+ </PATH_ELEMENT>
373444 </PATH>
374445 <PATH>
375446 <PATH_ELEMENT>
....@@ -381,7 +452,7 @@
381452 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
382453 </PATH_ELEMENT>
383454 <PATH_ELEMENT>
384
- <option name="myItemId" value="unipin_database_service" />
455
+ <option name="myItemId" value="unipin_notification_service" />
385456 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
386457 </PATH_ELEMENT>
387458 <PATH_ELEMENT>
....@@ -397,7 +468,7 @@
397468 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
398469 </PATH_ELEMENT>
399470 <PATH_ELEMENT>
400
- <option name="myItemId" value="database" />
471
+ <option name="myItemId" value="notificationservice" />
401472 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
402473 </PATH_ELEMENT>
403474 </PATH>
....@@ -411,7 +482,7 @@
411482 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
412483 </PATH_ELEMENT>
413484 <PATH_ELEMENT>
414
- <option name="myItemId" value="unipin_database_service" />
485
+ <option name="myItemId" value="unipin_notification_service" />
415486 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
416487 </PATH_ELEMENT>
417488 <PATH_ELEMENT>
....@@ -427,11 +498,11 @@
427498 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
428499 </PATH_ELEMENT>
429500 <PATH_ELEMENT>
430
- <option name="myItemId" value="database" />
501
+ <option name="myItemId" value="notificationservice" />
431502 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
432503 </PATH_ELEMENT>
433504 <PATH_ELEMENT>
434
- <option name="myItemId" value="entity" />
505
+ <option name="myItemId" value="service" />
435506 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
436507 </PATH_ELEMENT>
437508 </PATH>
....@@ -519,7 +590,7 @@
519590 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
520591 </PATH_ELEMENT>
521592 <PATH_ELEMENT>
522
- <option name="myItemId" value="templates" />
593
+ <option name="myItemId" value="mybatis" />
523594 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
524595 </PATH_ELEMENT>
525596 </PATH>
....@@ -549,41 +620,11 @@
549620 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
550621 </PATH_ELEMENT>
551622 <PATH_ELEMENT>
552
- <option name="myItemId" value="static" />
553
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
554
- </PATH_ELEMENT>
555
- </PATH>
556
- <PATH>
557
- <PATH_ELEMENT>
558
- <option name="myItemId" value="unipin" />
559
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
560
- </PATH_ELEMENT>
561
- <PATH_ELEMENT>
562
- <option name="myItemId" value="unipin" />
623
+ <option name="myItemId" value="mybatis" />
563624 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
564625 </PATH_ELEMENT>
565626 <PATH_ELEMENT>
566
- <option name="myItemId" value="unipin_cms_service" />
567
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
568
- </PATH_ELEMENT>
569
- <PATH_ELEMENT>
570
- <option name="myItemId" value="src" />
571
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
572
- </PATH_ELEMENT>
573
- <PATH_ELEMENT>
574
- <option name="myItemId" value="main" />
575
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
576
- </PATH_ELEMENT>
577
- <PATH_ELEMENT>
578
- <option name="myItemId" value="resources" />
579
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
580
- </PATH_ELEMENT>
581
- <PATH_ELEMENT>
582
- <option name="myItemId" value="static" />
583
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
584
- </PATH_ELEMENT>
585
- <PATH_ELEMENT>
586
- <option name="myItemId" value="model" />
627
+ <option name="myItemId" value="mapper" />
587628 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
588629 </PATH_ELEMENT>
589630 </PATH>
....@@ -647,7 +688,7 @@
647688 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
648689 </PATH_ELEMENT>
649690 <PATH_ELEMENT>
650
- <option name="myItemId" value="database" />
691
+ <option name="myItemId" value="service" />
651692 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
652693 </PATH_ELEMENT>
653694 </PATH>
....@@ -685,7 +726,7 @@
685726 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
686727 </PATH_ELEMENT>
687728 <PATH_ELEMENT>
688
- <option name="myItemId" value="model" />
729
+ <option name="myItemId" value="repository" />
689730 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
690731 </PATH_ELEMENT>
691732 </PATH>
....@@ -719,12 +760,13 @@
719760 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
720761 </PATH_ELEMENT>
721762 <PATH_ELEMENT>
722
- <option name="myItemId" value="controller" />
763
+ <option name="myItemId" value="database" />
723764 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
724765 </PATH_ELEMENT>
725766 </PATH>
726767 </subPane>
727768 </pane>
769
+ <pane id="PackagesPane" />
728770 </panes>
729771 </component>
730772 <component name="PropertiesComponent">
....@@ -737,17 +779,41 @@
737779 </component>
738780 <component name="RecentsManager">
739781 <key name="CopyClassDialog.RECENTS_KEY">
740
- <recent name="id.co.accessmobile.carrier.billing.unipin.cstools.controller" />
782
+ <recent name="id.co.accessmobile.carrier.billing.unipin.cstools" />
783
+ <recent name="id.co.accessmobile.carrier.billing.unipin.cstools.database.repository" />
784
+ <recent name="id.co.accessmobile.carrier.billing.unipin.cstools.database.model" />
785
+ <recent name="id.co.accessmobile.carrier.billing.notificationservice" />
786
+ <recent name="id.co.accessmobile.carrier.billing.notificationservice.mapper" />
741787 </key>
742788 <key name="CopyFile.RECENT_KEYS">
743
- <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_cms_service\src\main\resources\static\model" />
744
- <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_cms_service\src\main\java\id\co\accessmobile\carrier\billing\unipin\cstools\database\repository" />
745789 <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_cms_service\src\main\resources\mybatis\mapper" />
746
- <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_cms_service\src\main\resources" />
747
- <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_request_service\src\main\resources" />
790
+ <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_notification_service\src\main\resources\mybatis\mapper" />
791
+ <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_result_service\src\main\resources\mybatis\mapper" />
792
+ <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_charge_service\src\main\resources\mybatis\mapper" />
793
+ <recent name="C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_cms_service\src\main\resources\static\model" />
748794 </key>
749795 </component>
750796 <component name="RunManager" selected="Spring Boot.CMS">
797
+ <configuration default="false" name="BotManager" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
798
+ <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
799
+ <pattern>
800
+ <option name="PATTERN" value="id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.*" />
801
+ <option name="ENABLED" value="true" />
802
+ </pattern>
803
+ </extension>
804
+ <option name="MAIN_CLASS_NAME" value="id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.BotManager" />
805
+ <option name="VM_PARAMETERS" />
806
+ <option name="PROGRAM_PARAMETERS" />
807
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
808
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
809
+ <option name="ALTERNATIVE_JRE_PATH" />
810
+ <option name="ENABLE_SWING_INSPECTOR" value="false" />
811
+ <option name="ENV_VARIABLES" />
812
+ <option name="PASS_PARENT_ENVS" value="true" />
813
+ <module name="unipin_bot_telegram_service" />
814
+ <envs />
815
+ <method />
816
+ </configuration>
751817 <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
752818 <module name="" />
753819 <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
....@@ -1005,6 +1071,7 @@
10051071 <setting name="passParentEnv" value="true" />
10061072 <setting name="launchBrowser" value="true" />
10071073 <setting name="launchBrowserUrl" value="" />
1074
+ <setting name="depsClasspath" value="false" />
10081075 <method />
10091076 </configuration>
10101077 <configuration default="true" type="JUnit" factoryName="JUnit">
....@@ -1186,6 +1253,12 @@
11861253 <method />
11871254 </configuration>
11881255 <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
1256
+ <node-interpreter>project</node-interpreter>
1257
+ <node-options />
1258
+ <gulpfile />
1259
+ <tasks />
1260
+ <arguments />
1261
+ <envs />
11891262 <method />
11901263 </configuration>
11911264 <configuration default="true" type="js.build_tools.npm" factoryName="npm">
....@@ -1364,14 +1437,20 @@
13641437 <envs />
13651438 <method />
13661439 </configuration>
1367
- <list size="6">
1440
+ <list size="7">
13681441 <item index="0" class="java.lang.String" itemvalue="Spring Boot.Application" />
13691442 <item index="1" class="java.lang.String" itemvalue="Spring Boot.API" />
13701443 <item index="2" class="java.lang.String" itemvalue="Spring Boot.MO" />
13711444 <item index="3" class="java.lang.String" itemvalue="Spring Boot.CMS" />
13721445 <item index="4" class="java.lang.String" itemvalue="Spring Boot.NOTIFICATION" />
13731446 <item index="5" class="java.lang.String" itemvalue="Spring Boot.REQUEST" />
1447
+ <item index="6" class="java.lang.String" itemvalue="Application.BotManager" />
13741448 </list>
1449
+ <recent_temporary>
1450
+ <list size="1">
1451
+ <item index="0" class="java.lang.String" itemvalue="Application.BotManager" />
1452
+ </list>
1453
+ </recent_temporary>
13751454 </component>
13761455 <component name="ShelveChangesManager" show_recycled="false">
13771456 <option name="remove_strategy" value="false" />
....@@ -1383,48 +1462,61 @@
13831462 <option name="number" value="Default" />
13841463 <option name="presentableId" value="Default" />
13851464 <updated>1517194560602</updated>
1386
- <workItem from="1517194561800" duration="17539000" />
1465
+ <workItem from="1517194561800" duration="18180000" />
1466
+ <workItem from="1517278768615" duration="11183000" />
1467
+ <workItem from="1517365180951" duration="10632000" />
1468
+ <workItem from="1517451540103" duration="13148000" />
1469
+ <workItem from="1517480195602" duration="2865000" />
13871470 </task>
1471
+ <task id="LOCAL-00001" summary="add monitoring user">
1472
+ <created>1517221984248</created>
1473
+ <option name="number" value="00001" />
1474
+ <option name="presentableId" value="LOCAL-00001" />
1475
+ <option name="project" value="LOCAL" />
1476
+ <updated>1517221984248</updated>
1477
+ </task>
1478
+ <option name="localTasksCounter" value="2" />
13881479 <servers />
13891480 </component>
13901481 <component name="TimeTrackingManager">
1391
- <option name="totallyTimeSpent" value="17539000" />
1482
+ <option name="totallyTimeSpent" value="56008000" />
13921483 </component>
13931484 <component name="ToolWindowManager">
13941485 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
13951486 <editor active="false" />
13961487 <layout>
1397
- <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1398
- <window_info id="Nl-Palette" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1399
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
1400
- <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.1681081" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1401
- <window_info id="Properties" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1402
- <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1403
- <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1404
- <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1488
+ <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
1489
+ <window_info id="Nl-Palette" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
1490
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
1491
+ <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.17945945" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
1492
+ <window_info id="Properties" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
1493
+ <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
1494
+ <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
1495
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
14051496 <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
14061497 <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
1407
- <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1498
+ <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
14081499 <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="WINDOWED" visible="false" show_stripe_button="true" weight="0.39975846" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" x="-1920" y="-63" width="1920" height="1017" />
14091500 <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
1410
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32971016" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1411
- <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1412
- <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1413
- <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1414
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="WINDOWED" visible="false" show_stripe_button="true" weight="0.32971016" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" x="0" y="23" width="1920" height="1017" />
1415
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1416
- <window_info id="Spring" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1417
- <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1418
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24972972" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
1419
- <window_info id="Bean Validation" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1420
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32971016" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
1421
- <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
1422
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
1501
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32971016" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
1502
+ <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
1503
+ <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
1504
+ <window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
1505
+ <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
1506
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
1507
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="WINDOWED" visible="false" show_stripe_button="true" weight="0.32971016" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" x="1" y="33" width="1916" height="1006" />
1508
+ <window_info id="Spring" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
1509
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
1510
+ <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.28594595" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
1511
+ <window_info id="Bean Validation" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
1512
+ <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
1513
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
14231514 <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
1424
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
14251515 <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
14261516 <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
1517
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
14271518 <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
1519
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32971016" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
14281520 </layout>
14291521 </component>
14301522 <component name="TypeScriptGeneratedFilesManager">
....@@ -1432,6 +1524,10 @@
14321524 </component>
14331525 <component name="VcsContentAnnotationSettings">
14341526 <option name="myLimit" value="2678400000" />
1527
+ </component>
1528
+ <component name="VcsManagerConfiguration">
1529
+ <MESSAGE value="add monitoring user" />
1530
+ <option name="LAST_COMMIT_MESSAGE" value="add monitoring user" />
14351531 </component>
14361532 <component name="XDebuggerManager">
14371533 <breakpoint-manager>
....@@ -1451,90 +1547,173 @@
14511547 <option name="FILTER_TARGETS" value="false" />
14521548 </component>
14531549 <component name="editorHistoryManager">
1454
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/data/IIndosatData.java">
1550
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientChargingTestService.java">
14551551 <provider selected="true" editor-type-id="text-editor">
1456
- <state relative-caret-position="172">
1457
- <caret line="31" column="59" lean-forward="false" selection-start-line="31" selection-start-column="59" selection-end-line="31" selection-end-column="59" />
1552
+ <state relative-caret-position="2116">
1553
+ <caret line="106" column="10" lean-forward="false" selection-start-line="106" selection-start-column="10" selection-end-line="106" selection-end-column="10" />
1554
+ </state>
1555
+ </provider>
1556
+ </entry>
1557
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/job/ResultPullJob.java">
1558
+ <provider selected="true" editor-type-id="text-editor">
1559
+ <state relative-caret-position="-189">
1560
+ <caret line="21" column="13" lean-forward="false" selection-start-line="21" selection-start-column="13" selection-end-line="21" selection-end-column="13" />
1561
+ </state>
1562
+ </provider>
1563
+ </entry>
1564
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/service/PropertiesService.java">
1565
+ <provider selected="true" editor-type-id="text-editor">
1566
+ <state relative-caret-position="324">
1567
+ <caret line="35" column="38" lean-forward="false" selection-start-line="35" selection-start-column="20" selection-end-line="35" selection-end-column="38" />
1568
+ </state>
1569
+ </provider>
1570
+ </entry>
1571
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/model/MonitoringUser.java">
1572
+ <provider selected="true" editor-type-id="text-editor">
1573
+ <state relative-caret-position="0">
1574
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1575
+ </state>
1576
+ </provider>
1577
+ </entry>
1578
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java">
1579
+ <provider selected="true" editor-type-id="text-editor">
1580
+ <state relative-caret-position="300">
1581
+ <caret line="40" column="0" lean-forward="false" selection-start-line="40" selection-start-column="0" selection-end-line="40" selection-end-column="0" />
14581582 <folding />
1583
+ </state>
1584
+ </provider>
1585
+ </entry>
1586
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml">
1587
+ <provider selected="true" editor-type-id="text-editor">
1588
+ <state relative-caret-position="243">
1589
+ <caret line="18" column="72" lean-forward="false" selection-start-line="18" selection-start-column="72" selection-end-line="19" selection-end-column="62" />
1590
+ </state>
1591
+ </provider>
1592
+ </entry>
1593
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/pom.xml">
1594
+ <provider selected="true" editor-type-id="text-editor">
1595
+ <state relative-caret-position="1377">
1596
+ <caret line="51" column="12" lean-forward="false" selection-start-line="36" selection-start-column="4" selection-end-line="51" selection-end-column="12" />
1597
+ </state>
1598
+ </provider>
1599
+ </entry>
1600
+ <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/pom.xml">
1601
+ <provider selected="true" editor-type-id="text-editor">
1602
+ <state relative-caret-position="1404">
1603
+ <caret line="52" column="12" lean-forward="false" selection-start-line="13" selection-start-column="4" selection-end-line="52" selection-end-column="12" />
1604
+ </state>
1605
+ </provider>
1606
+ </entry>
1607
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/pom.xml">
1608
+ <provider selected="true" editor-type-id="text-editor">
1609
+ <state relative-caret-position="756">
1610
+ <caret line="28" column="0" lean-forward="false" selection-start-line="28" selection-start-column="0" selection-end-line="33" selection-end-column="21" />
1611
+ <folding />
1612
+ </state>
1613
+ </provider>
1614
+ </entry>
1615
+ <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java">
1616
+ <provider selected="true" editor-type-id="text-editor">
1617
+ <state relative-caret-position="297">
1618
+ <caret line="11" column="49" lean-forward="false" selection-start-line="11" selection-start-column="49" selection-end-line="11" selection-end-column="49" />
1619
+ </state>
1620
+ </provider>
1621
+ </entry>
1622
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/model/MonitoringUser.java">
1623
+ <provider selected="true" editor-type-id="text-editor">
1624
+ <state relative-caret-position="216">
1625
+ <caret line="8" column="13" lean-forward="false" selection-start-line="8" selection-start-column="13" selection-end-line="8" selection-end-column="13" />
14591626 </state>
14601627 </provider>
14611628 </entry>
14621629 <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientChargingService.java">
14631630 <provider selected="true" editor-type-id="text-editor">
1464
- <state relative-caret-position="-530">
1465
- <caret line="75" column="27" lean-forward="false" selection-start-line="75" selection-start-column="16" selection-end-line="75" selection-end-column="27" />
1631
+ <state relative-caret-position="-99">
1632
+ <caret line="227" column="31" lean-forward="false" selection-start-line="227" selection-start-column="31" selection-end-line="227" selection-end-column="31" />
1633
+ <folding>
1634
+ <element signature="imports" expanded="true" />
1635
+ </folding>
1636
+ </state>
1637
+ </provider>
1638
+ </entry>
1639
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargeWorker.java">
1640
+ <provider selected="true" editor-type-id="text-editor">
1641
+ <state relative-caret-position="-1367">
1642
+ <caret line="71" column="42" lean-forward="false" selection-start-line="71" selection-start-column="42" selection-end-line="71" selection-end-column="42" />
14661643 <folding />
14671644 </state>
14681645 </provider>
14691646 </entry>
1470
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/data/DeliveryResponseData.java">
1647
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargePullJob.java">
14711648 <provider selected="true" editor-type-id="text-editor">
1472
- <state relative-caret-position="180">
1473
- <caret line="14" column="79" lean-forward="false" selection-start-line="14" selection-start-column="79" selection-end-line="14" selection-end-column="79" />
1649
+ <state relative-caret-position="-2507">
1650
+ <caret line="39" column="24" lean-forward="false" selection-start-line="39" selection-start-column="14" selection-end-line="39" selection-end-column="24" />
14741651 <folding />
14751652 </state>
14761653 </provider>
14771654 </entry>
1478
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/service/MoService.java">
1655
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Monitoring.java">
14791656 <provider selected="true" editor-type-id="text-editor">
1480
- <state relative-caret-position="159">
1481
- <caret line="18" column="16" lean-forward="false" selection-start-line="18" selection-start-column="16" selection-end-line="18" selection-end-column="16" />
1657
+ <state relative-caret-position="-198">
1658
+ <caret line="20" column="21" lean-forward="false" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="23" />
14821659 <folding />
14831660 </state>
14841661 </provider>
14851662 </entry>
1486
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/service/MoTriggerService.java">
1663
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/service/LineCallbackService.java">
14871664 <provider selected="true" editor-type-id="text-editor">
1488
- <state relative-caret-position="128">
1489
- <caret line="52" column="8" lean-forward="false" selection-start-line="52" selection-start-column="8" selection-end-line="52" selection-end-column="8" />
1665
+ <state relative-caret-position="143">
1666
+ <caret line="91" column="31" lean-forward="false" selection-start-line="91" selection-start-column="21" selection-end-line="91" selection-end-column="31" />
14901667 <folding />
14911668 </state>
14921669 </provider>
14931670 </entry>
1494
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/service/DeliveryReportService.java">
1671
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/Monitoring.java">
14951672 <provider selected="true" editor-type-id="text-editor">
1496
- <state relative-caret-position="567">
1497
- <caret line="34" column="8" lean-forward="false" selection-start-line="34" selection-start-column="8" selection-end-line="34" selection-end-column="8" />
1673
+ <state relative-caret-position="-279">
1674
+ <caret line="20" column="18" lean-forward="false" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="23" />
1675
+ <folding>
1676
+ <element signature="imports" expanded="true" />
1677
+ </folding>
1678
+ </state>
1679
+ </provider>
1680
+ </entry>
1681
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/resources/mybatis/mybatis-config.xml">
1682
+ <provider selected="true" editor-type-id="text-editor">
1683
+ <state relative-caret-position="378">
1684
+ <caret line="17" column="55" lean-forward="false" selection-start-line="17" selection-start-column="55" selection-end-line="17" selection-end-column="55" />
14981685 <folding />
14991686 </state>
15001687 </provider>
15011688 </entry>
1502
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/moservice/job/MoWorker.java">
1689
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/resources/mybatis/mybatis-config.xml">
15031690 <provider selected="true" editor-type-id="text-editor">
1504
- <state relative-caret-position="294">
1505
- <caret line="201" column="13" lean-forward="false" selection-start-line="201" selection-start-column="13" selection-end-line="201" selection-end-column="13" />
1506
- <folding />
1691
+ <state relative-caret-position="351">
1692
+ <caret line="13" column="41" lean-forward="false" selection-start-line="13" selection-start-column="41" selection-end-line="13" selection-end-column="41" />
15071693 </state>
15081694 </provider>
15091695 </entry>
1510
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/resources/application-dev.properties">
1696
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/resources/mybatis/mapper/MonitoringUser.xml">
15111697 <provider selected="true" editor-type-id="text-editor">
1512
- <state relative-caret-position="-402">
1513
- <caret line="2" column="47" lean-forward="false" selection-start-line="2" selection-start-column="47" selection-end-line="2" selection-end-column="47" />
1514
- <folding />
1698
+ <state relative-caret-position="-165">
1699
+ <caret line="5" column="89" lean-forward="false" selection-start-line="5" selection-start-column="89" selection-end-line="5" selection-end-column="89" />
1700
+ <folding>
1701
+ <marker date="1517372612941" expanded="true" signature="544:808" ph="SELECT user.... tbl_monitoring_user" />
1702
+ </folding>
15151703 </state>
15161704 </provider>
15171705 </entry>
1518
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties">
1706
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/resources/application.properties">
15191707 <provider selected="true" editor-type-id="text-editor">
1520
- <state relative-caret-position="648">
1521
- <caret line="24" column="0" lean-forward="true" selection-start-line="24" selection-start-column="0" selection-end-line="26" selection-end-column="81" />
1522
- <folding />
1708
+ <state relative-caret-position="330">
1709
+ <caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
15231710 </state>
15241711 </provider>
15251712 </entry>
1526
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/resources/application-prod.properties">
1713
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/Monitoring.java">
15271714 <provider selected="true" editor-type-id="text-editor">
1528
- <state relative-caret-position="783">
1529
- <caret line="29" column="42" lean-forward="false" selection-start-line="29" selection-start-column="42" selection-end-line="29" selection-end-column="42" />
1530
- <folding />
1531
- </state>
1532
- </provider>
1533
- </entry>
1534
- <entry file="file://$PROJECT_DIR$/unipin_request_service/src/main/resources/application-prod.properties">
1535
- <provider selected="true" editor-type-id="text-editor">
1536
- <state relative-caret-position="54">
1537
- <caret line="2" column="0" lean-forward="false" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
1715
+ <state relative-caret-position="-108">
1716
+ <caret line="20" column="16" lean-forward="false" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="23" />
15381717 <folding />
15391718 </state>
15401719 </provider>
....@@ -1542,358 +1721,124 @@
15421721 <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application.properties">
15431722 <provider selected="true" editor-type-id="text-editor">
15441723 <state relative-caret-position="0">
1545
- <caret line="0" column="27" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="27" />
1546
- <folding />
1547
- </state>
1548
- </provider>
1549
- </entry>
1550
- <entry file="file://$PROJECT_DIR$/unipin_request_service/src/main/resources/application.properties">
1551
- <provider selected="true" editor-type-id="text-editor">
1552
- <state relative-caret-position="0">
1553
- <caret line="0" column="13" lean-forward="false" selection-start-line="0" selection-start-column="13" selection-end-line="0" selection-end-column="13" />
1554
- <folding />
1555
- </state>
1556
- </provider>
1557
- </entry>
1558
- <entry file="file://$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/rest/service/InternalLineApiHandlerService.java">
1559
- <provider selected="true" editor-type-id="text-editor">
1560
- <state relative-caret-position="250">
1561
- <caret line="126" column="66" lean-forward="false" selection-start-line="126" selection-start-column="66" selection-end-line="126" selection-end-column="66" />
1562
- <folding />
1563
- </state>
1564
- </provider>
1565
- </entry>
1566
- <entry file="file://$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/rest/service/PropertiesService.java">
1567
- <provider selected="true" editor-type-id="text-editor">
1568
- <state relative-caret-position="236">
1569
- <caret line="14" column="33" lean-forward="false" selection-start-line="14" selection-start-column="14" selection-end-line="14" selection-end-column="33" />
1570
- <folding />
1571
- </state>
1572
- </provider>
1573
- </entry>
1574
- <entry file="file://$PROJECT_DIR$/unipin_api_service/src/main/resources/application-dev.properties">
1575
- <provider selected="true" editor-type-id="text-editor">
1576
- <state relative-caret-position="247">
1577
- <caret line="34" column="19" lean-forward="false" selection-start-line="34" selection-start-column="0" selection-end-line="34" selection-end-column="19" />
1578
- <folding />
1579
- </state>
1580
- </provider>
1581
- </entry>
1582
- <entry file="file://$PROJECT_DIR$/unipin_request_service/src/main/java/id/co/accessmobile/carrier/billing/requestservice/controller/PaymentRequestController.java">
1583
- <provider selected="true" editor-type-id="text-editor">
1584
- <state relative-caret-position="506">
1585
- <caret line="66" column="50" lean-forward="false" selection-start-line="66" selection-start-column="50" selection-end-line="66" selection-end-column="50" />
1586
- <folding />
1587
- </state>
1588
- </provider>
1589
- </entry>
1590
- <entry file="file://$PROJECT_DIR$/unipin_request_service/src/main/java/id/co/accessmobile/carrier/billing/requestservice/mapper/ChargeRequestStoreMapper.java">
1591
- <provider selected="true" editor-type-id="text-editor">
1592
- <state relative-caret-position="243">
1593
- <caret line="11" column="8" lean-forward="false" selection-start-line="11" selection-start-column="8" selection-end-line="11" selection-end-column="8" />
1594
- <folding />
1595
- </state>
1596
- </provider>
1597
- </entry>
1598
- <entry file="file://$PROJECT_DIR$/unipin_request_service/src/main/java/id/co/accessmobile/carrier/billing/requestservice/service/PaymentRequestService.java">
1599
- <provider selected="true" editor-type-id="text-editor">
1600
- <state relative-caret-position="520">
1601
- <caret line="50" column="37" lean-forward="false" selection-start-line="50" selection-start-column="37" selection-end-line="50" selection-end-column="37" />
1602
- <folding />
1603
- </state>
1604
- </provider>
1605
- </entry>
1606
- <entry file="file://$PROJECT_DIR$/unipin_request_service/src/main/resources/application-dev.properties">
1607
- <provider selected="true" editor-type-id="text-editor">
1608
- <state relative-caret-position="81">
1609
- <caret line="3" column="47" lean-forward="false" selection-start-line="3" selection-start-column="47" selection-end-line="3" selection-end-column="47" />
1610
- <folding />
1611
- </state>
1612
- </provider>
1613
- </entry>
1614
- <entry file="file://$PROJECT_DIR$/unipin_api_service/src/main/resources/application.properties">
1615
- <provider selected="true" editor-type-id="text-editor">
1616
- <state relative-caret-position="0">
1617
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="27" />
1618
- <folding />
1619
- </state>
1620
- </provider>
1621
- </entry>
1622
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/resources/application.properties">
1623
- <provider selected="true" editor-type-id="text-editor">
1624
- <state relative-caret-position="0">
1625
- <caret line="0" column="27" lean-forward="false" selection-start-line="0" selection-start-column="27" selection-end-line="0" selection-end-column="27" />
1626
- <folding />
1627
- </state>
1628
- </provider>
1629
- </entry>
1630
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/resources/logback.xml">
1631
- <provider selected="true" editor-type-id="text-editor">
1632
- <state relative-caret-position="0">
16331724 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1634
- <folding />
16351725 </state>
16361726 </provider>
16371727 </entry>
1638
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/ChargeRequestStoreMapper.java">
1728
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/MonitoringUser.xml">
16391729 <provider selected="true" editor-type-id="text-editor">
1640
- <state relative-caret-position="189">
1641
- <caret line="7" column="8" lean-forward="false" selection-start-line="7" selection-start-column="8" selection-end-line="7" selection-end-column="8" />
1730
+ <state relative-caret-position="135">
1731
+ <caret line="5" column="85" lean-forward="false" selection-start-line="5" selection-start-column="85" selection-end-line="5" selection-end-column="85" />
16421732 <folding>
1643
- <element signature="imports" expanded="false" />
1733
+ <marker date="1517372612953" expanded="true" signature="558:822" ph="SELECT user.... tbl_monitoring_user" />
16441734 </folding>
16451735 </state>
16461736 </provider>
16471737 </entry>
1648
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/ChargeRequestStoreMapper.xml">
1738
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/job/NotificationWorker.java">
16491739 <provider selected="true" editor-type-id="text-editor">
1650
- <state relative-caret-position="324">
1651
- <caret line="12" column="0" lean-forward="true" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" />
1652
- <folding>
1653
- <marker date="1517201485121" expanded="true" signature="318:445" ph="UPDATE sf_ch... " />
1654
- </folding>
1655
- </state>
1656
- </provider>
1657
- </entry>
1658
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java">
1659
- <provider selected="true" editor-type-id="text-editor">
1660
- <state relative-caret-position="-216">
1661
- <caret line="58" column="27" lean-forward="false" selection-start-line="58" selection-start-column="20" selection-end-line="58" selection-end-column="29" />
1740
+ <state relative-caret-position="982">
1741
+ <caret line="67" column="45" lean-forward="false" selection-start-line="67" selection-start-column="45" selection-end-line="67" selection-end-column="45" />
16621742 <folding />
16631743 </state>
16641744 </provider>
16651745 </entry>
16661746 <entry file="file://$PROJECT_DIR$/pom.xml">
16671747 <provider selected="true" editor-type-id="text-editor">
1668
- <state relative-caret-position="-621">
1669
- <caret line="34" column="18" lean-forward="false" selection-start-line="34" selection-start-column="18" selection-end-line="44" selection-end-column="0" />
1748
+ <state relative-caret-position="-1377">
1749
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
16701750 <folding />
16711751 </state>
16721752 </provider>
16731753 </entry>
1674
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml">
1675
- <provider selected="true" editor-type-id="text-editor">
1676
- <state relative-caret-position="459">
1677
- <caret line="17" column="65" lean-forward="false" selection-start-line="17" selection-start-column="65" selection-end-line="17" selection-end-column="65" />
1678
- <folding />
1679
- </state>
1680
- </provider>
1681
- </entry>
1682
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mapper/transaction.xml">
1683
- <provider selected="true" editor-type-id="text-editor">
1684
- <state relative-caret-position="81">
1685
- <caret line="3" column="58" lean-forward="false" selection-start-line="3" selection-start-column="58" selection-end-line="3" selection-end-column="58" />
1686
- <folding>
1687
- <marker date="1517198245064" expanded="true" signature="621:745" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction... " />
1688
- <marker date="1517198245064" expanded="true" signature="843:906" ph="SELECT * fro... tbl_transaction" />
1689
- <marker date="1517198245064" expanded="true" signature="1007:1108" ph="SELECT * fro... tbl_transaction" />
1690
- <marker date="1517198245064" expanded="true" signature="1186:1253" ph="SELECT * fro... tbl_transaction" />
1691
- <marker date="1517198245064" expanded="true" signature="1357:1477" ph="SELECT * fro... tbl_transaction" />
1692
- </folding>
1693
- </state>
1694
- </provider>
1695
- </entry>
1696
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/pom.xml">
1697
- <provider selected="true" editor-type-id="text-editor">
1698
- <state relative-caret-position="-81">
1699
- <caret line="22" column="21" lean-forward="false" selection-start-line="22" selection-start-column="21" selection-end-line="27" selection-end-column="21" />
1700
- <folding />
1701
- </state>
1702
- </provider>
1703
- </entry>
1704
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties">
1754
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/MonitoringUserMapper.java">
17051755 <provider selected="true" editor-type-id="text-editor">
17061756 <state relative-caret-position="270">
1707
- <caret line="10" column="0" lean-forward="false" selection-start-line="10" selection-start-column="0" selection-end-line="11" selection-end-column="60" />
1757
+ <caret line="13" column="7" lean-forward="false" selection-start-line="13" selection-start-column="7" selection-end-line="13" selection-end-column="7" />
1758
+ </state>
1759
+ </provider>
1760
+ </entry>
1761
+ <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/mapper/MonitoringUserMapper.java">
1762
+ <provider selected="true" editor-type-id="text-editor">
1763
+ <state relative-caret-position="270">
1764
+ <caret line="13" column="7" lean-forward="false" selection-start-line="13" selection-start-column="7" selection-end-line="13" selection-end-column="7" />
1765
+ </state>
1766
+ </provider>
1767
+ </entry>
1768
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/mapper/MonitoringUserMapper.java">
1769
+ <provider selected="true" editor-type-id="text-editor">
1770
+ <state relative-caret-position="270">
1771
+ <caret line="13" column="7" lean-forward="false" selection-start-line="13" selection-start-column="7" selection-end-line="13" selection-end-column="7" />
17081772 <folding />
17091773 </state>
17101774 </provider>
17111775 </entry>
1712
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/job/NotificationWorker.java">
1776
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/MonitoringUser.java">
17131777 <provider selected="true" editor-type-id="text-editor">
1714
- <state relative-caret-position="388">
1715
- <caret line="71" column="100" lean-forward="false" selection-start-line="71" selection-start-column="100" selection-end-line="71" selection-end-column="100" />
1778
+ <state relative-caret-position="0">
1779
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1780
+ </state>
1781
+ </provider>
1782
+ </entry>
1783
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/pom.xml">
1784
+ <provider selected="true" editor-type-id="text-editor">
1785
+ <state relative-caret-position="138">
1786
+ <caret line="78" column="0" lean-forward="false" selection-start-line="78" selection-start-column="0" selection-end-line="83" selection-end-column="21" />
17161787 <folding />
17171788 </state>
17181789 </provider>
17191790 </entry>
17201791 <entry file="file://$PROJECT_DIR$/unipin_cms_service/pom.xml">
17211792 <provider selected="true" editor-type-id="text-editor">
1722
- <state relative-caret-position="594">
1723
- <caret line="34" column="47" lean-forward="false" selection-start-line="34" selection-start-column="47" selection-end-line="34" selection-end-column="47" />
1793
+ <state relative-caret-position="648">
1794
+ <caret line="42" column="21" lean-forward="false" selection-start-line="42" selection-start-column="21" selection-end-line="42" selection-end-column="21" />
17241795 <folding />
17251796 </state>
17261797 </provider>
17271798 </entry>
1728
- <entry file="file://$PROJECT_DIR$/unipin_mo_service/src/main/resources/mybatis/mybatis-config.xml">
1799
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/resources/application.properties">
17291800 <provider selected="true" editor-type-id="text-editor">
1730
- <state relative-caret-position="243">
1731
- <caret line="9" column="83" lean-forward="true" selection-start-line="9" selection-start-column="8" selection-end-line="9" selection-end-column="83" />
1801
+ <state relative-caret-position="492">
1802
+ <caret line="30" column="0" lean-forward="false" selection-start-line="30" selection-start-column="0" selection-end-line="33" selection-end-column="0" />
1803
+ </state>
1804
+ </provider>
1805
+ </entry>
1806
+ <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java">
1807
+ <provider selected="true" editor-type-id="text-editor">
1808
+ <state relative-caret-position="398">
1809
+ <caret line="24" column="61" lean-forward="false" selection-start-line="24" selection-start-column="46" selection-end-line="24" selection-end-column="61" />
1810
+ </state>
1811
+ </provider>
1812
+ </entry>
1813
+ <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/BotManager.java">
1814
+ <provider selected="true" editor-type-id="text-editor">
1815
+ <state relative-caret-position="250">
1816
+ <caret line="16" column="23" lean-forward="false" selection-start-line="16" selection-start-column="23" selection-end-line="16" selection-end-column="23" />
17321817 <folding />
17331818 </state>
17341819 </provider>
17351820 </entry>
1736
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionRepositoy.java">
1821
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java">
17371822 <provider selected="true" editor-type-id="text-editor">
1738
- <state relative-caret-position="0">
1739
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1823
+ <state relative-caret-position="405">
1824
+ <caret line="15" column="17" lean-forward="false" selection-start-line="15" selection-start-column="17" selection-end-line="15" selection-end-column="17" />
17401825 <folding>
1741
- <element signature="imports" expanded="false" />
1826
+ <element signature="imports" expanded="true" />
17421827 </folding>
17431828 </state>
17441829 </provider>
17451830 </entry>
1746
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java">
1831
+ <entry file="file://$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/repository/TransactionStateRepository.java">
17471832 <provider selected="true" editor-type-id="text-editor">
1748
- <state relative-caret-position="0">
1749
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1750
- <folding />
1751
- </state>
1752
- </provider>
1753
- </entry>
1754
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml">
1755
- <provider selected="true" editor-type-id="text-editor">
1756
- <state relative-caret-position="243">
1757
- <caret line="9" column="83" lean-forward="false" selection-start-line="9" selection-start-column="83" selection-end-line="9" selection-end-column="83" />
1758
- <folding />
1759
- </state>
1760
- </provider>
1761
- </entry>
1762
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transaction.xml">
1763
- <provider selected="true" editor-type-id="text-editor">
1764
- <state relative-caret-position="81">
1765
- <caret line="3" column="19" lean-forward="true" selection-start-line="3" selection-start-column="19" selection-end-line="3" selection-end-column="88" />
1766
- <folding>
1767
- <marker date="1517215399762" expanded="true" signature="629:753" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction... " />
1768
- <marker date="1517215399762" expanded="true" signature="851:914" ph="SELECT * fro... tbl_transaction" />
1769
- <marker date="1517215399762" expanded="true" signature="1015:1116" ph="SELECT * fro... tbl_transaction" />
1770
- <marker date="1517215399762" expanded="true" signature="1194:1261" ph="SELECT * fro... tbl_transaction" />
1771
- <marker date="1517215399762" expanded="true" signature="1365:1485" ph="SELECT * fro... tbl_transaction" />
1772
- </folding>
1773
- </state>
1774
- </provider>
1775
- </entry>
1776
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml">
1777
- <provider selected="true" editor-type-id="text-editor">
1778
- <state relative-caret-position="54">
1779
- <caret line="2" column="0" lean-forward="true" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
1780
- <folding>
1781
- <marker date="1517215399702" expanded="true" signature="815:968" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction_states... " />
1782
- <marker date="1517215399702" expanded="true" signature="1075:1145" ph="SELECT * fro... tbl_transaction_states" />
1783
- </folding>
1833
+ <state relative-caret-position="216">
1834
+ <caret line="13" column="17" lean-forward="false" selection-start-line="13" selection-start-column="17" selection-end-line="13" selection-end-column="17" />
17841835 </state>
17851836 </provider>
17861837 </entry>
17871838 <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/application-dev.properties">
17881839 <provider selected="true" editor-type-id="text-editor">
1789
- <state relative-caret-position="648">
1790
- <caret line="24" column="41" lean-forward="false" selection-start-line="24" selection-start-column="41" selection-end-line="24" selection-end-column="41" />
1791
- <folding />
1792
- </state>
1793
- </provider>
1794
- </entry>
1795
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/PurchaseController.java">
1796
- <provider selected="true" editor-type-id="text-editor">
1797
- <state relative-caret-position="263">
1798
- <caret line="23" column="13" lean-forward="false" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" />
1799
- <folding />
1800
- </state>
1801
- </provider>
1802
- </entry>
1803
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java">
1804
- <provider selected="true" editor-type-id="text-editor">
1805
- <state relative-caret-position="534">
1806
- <caret line="52" column="55" lean-forward="false" selection-start-line="52" selection-start-column="55" selection-end-line="52" selection-end-column="55" />
1807
- <folding />
1808
- </state>
1809
- </provider>
1810
- </entry>
1811
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/SignupModel.js">
1812
- <provider selected="true" editor-type-id="text-editor">
18131840 <state relative-caret-position="0">
18141841 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1815
- <folding>
1816
- <element signature="n#!!doc" expanded="false" />
1817
- </folding>
1818
- </state>
1819
- </provider>
1820
- </entry>
1821
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/templates/index.html">
1822
- <provider selected="true" editor-type-id="text-editor">
1823
- <state relative-caret-position="4914">
1824
- <caret line="279" column="49" lean-forward="true" selection-start-line="279" selection-start-column="49" selection-end-line="279" selection-end-column="49" />
1825
- <folding />
1826
- </state>
1827
- </provider>
1828
- </entry>
1829
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/Activity.java">
1830
- <provider selected="true" editor-type-id="text-editor">
1831
- <state relative-caret-position="648">
1832
- <caret line="26" column="30" lean-forward="false" selection-start-line="26" selection-start-column="30" selection-end-line="26" selection-end-column="30" />
1833
- <folding>
1834
- <element signature="e#703#704#0" expanded="true" />
1835
- <element signature="e#745#746#0" expanded="true" />
1836
- <element signature="e#779#780#0" expanded="true" />
1837
- <element signature="e#813#814#0" expanded="true" />
1838
- <element signature="e#843#844#0" expanded="true" />
1839
- <element signature="e#889#890#0" expanded="true" />
1840
- <element signature="e#927#928#0" expanded="true" />
1841
- <element signature="e#961#962#0" expanded="true" />
1842
- <element signature="e#991#992#0" expanded="true" />
1843
- <element signature="e#1037#1038#0" expanded="true" />
1844
- <element signature="e#1075#1076#0" expanded="true" />
1845
- <element signature="e#1108#1109#0" expanded="true" />
1846
- <element signature="e#1137#1138#0" expanded="true" />
1847
- <element signature="e#1181#1182#0" expanded="true" />
1848
- <element signature="e#1217#1218#0" expanded="true" />
1849
- <element signature="e#1248#1249#0" expanded="true" />
1850
- <element signature="e#1275#1276#0" expanded="true" />
1851
- <element signature="e#1315#1316#0" expanded="true" />
1852
- <element signature="e#1347#1348#0" expanded="true" />
1853
- </folding>
1854
- </state>
1855
- </provider>
1856
- </entry>
1857
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/UserTrack.java">
1858
- <provider selected="true" editor-type-id="text-editor">
1859
- <state relative-caret-position="-381">
1860
- <caret line="15" column="51" lean-forward="false" selection-start-line="15" selection-start-column="51" selection-end-line="15" selection-end-column="51" />
1861
- <folding>
1862
- <element signature="imports" expanded="true" />
1863
- <element signature="e#1096#1097#0" expanded="true" />
1864
- <element signature="e#1140#1141#0" expanded="true" />
1865
- </folding>
1866
- </state>
1867
- </provider>
1868
- </entry>
1869
- <entry file="file://$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/Application.java">
1870
- <provider selected="true" editor-type-id="text-editor">
1871
- <state relative-caret-position="402">
1872
- <caret line="37" column="106" lean-forward="false" selection-start-line="37" selection-start-column="106" selection-end-line="37" selection-end-column="106" />
1873
- <folding />
1874
- </state>
1875
- </provider>
1876
- </entry>
1877
- <entry file="file://$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/entity/TblTransactionStates.java">
1878
- <provider selected="true" editor-type-id="text-editor">
1879
- <state relative-caret-position="297">
1880
- <caret line="14" column="0" lean-forward="false" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
1881
- <folding />
1882
- </state>
1883
- </provider>
1884
- </entry>
1885
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/model/UserTrackerModel.js">
1886
- <provider selected="true" editor-type-id="text-editor">
1887
- <state relative-caret-position="151">
1888
- <caret line="89" column="43" lean-forward="false" selection-start-line="89" selection-start-column="43" selection-end-line="89" selection-end-column="43" />
1889
- <folding />
1890
- </state>
1891
- </provider>
1892
- </entry>
1893
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties">
1894
- <provider selected="true" editor-type-id="text-editor">
1895
- <state relative-caret-position="0">
1896
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="22" />
18971842 <folding />
18981843 </state>
18991844 </provider>
....@@ -1906,5 +1851,124 @@
19061851 </state>
19071852 </provider>
19081853 </entry>
1854
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties">
1855
+ <provider selected="true" editor-type-id="text-editor">
1856
+ <state relative-caret-position="0">
1857
+ <caret line="0" column="27" lean-forward="false" selection-start-line="0" selection-start-column="27" selection-end-line="0" selection-end-column="27" />
1858
+ <folding />
1859
+ </state>
1860
+ </provider>
1861
+ </entry>
1862
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml">
1863
+ <provider selected="true" editor-type-id="text-editor">
1864
+ <state relative-caret-position="480">
1865
+ <caret line="20" column="51" lean-forward="false" selection-start-line="20" selection-start-column="51" selection-end-line="20" selection-end-column="51" />
1866
+ <folding />
1867
+ </state>
1868
+ </provider>
1869
+ </entry>
1870
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java">
1871
+ <provider selected="true" editor-type-id="text-editor">
1872
+ <state relative-caret-position="432">
1873
+ <caret line="22" column="38" lean-forward="false" selection-start-line="22" selection-start-column="38" selection-end-line="22" selection-end-column="38" />
1874
+ <folding />
1875
+ </state>
1876
+ </provider>
1877
+ </entry>
1878
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml">
1879
+ <provider selected="true" editor-type-id="text-editor">
1880
+ <state relative-caret-position="648">
1881
+ <caret line="24" column="8" lean-forward="false" selection-start-line="24" selection-start-column="8" selection-end-line="29" selection-end-column="40" />
1882
+ <folding>
1883
+ <marker date="1517477417319" expanded="true" signature="798:951" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction_states... " />
1884
+ <marker date="1517477417319" expanded="true" signature="1058:1128" ph="SELECT * fro... tbl_transaction_states" />
1885
+ <marker date="1517477417319" expanded="true" signature="1236:1583" ph="select tbl_t... tbl_transaction" />
1886
+ <marker date="1517477417319" expanded="true" signature="1310:1405" ph="select id fr... tbl_transaction_states" />
1887
+ <marker date="1517477417319" expanded="true" signature="1690:2115" ph="SELECT a.id,... tbl_transaction_states" />
1888
+ <marker date="1517477417319" expanded="true" signature="1799:1889" ph="select tbl_t... tbl_transaction_states" />
1889
+ <marker date="1517477417319" expanded="true" signature="1916:2000" ph="select tbl_t... tbl_transaction_states" />
1890
+ </folding>
1891
+ </state>
1892
+ </provider>
1893
+ </entry>
1894
+ <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/resources/mybatis/mapper/MonitoringUser.xml">
1895
+ <provider selected="true" editor-type-id="text-editor">
1896
+ <state relative-caret-position="237">
1897
+ <caret line="9" column="0" lean-forward="false" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
1898
+ <folding>
1899
+ <marker date="1517298900433" expanded="true" signature="566:830" ph="SELECT user.... tbl_monitoring_user" />
1900
+ </folding>
1901
+ </state>
1902
+ </provider>
1903
+ </entry>
1904
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java">
1905
+ <provider selected="true" editor-type-id="text-editor">
1906
+ <state relative-caret-position="480">
1907
+ <caret line="24" column="53" lean-forward="false" selection-start-line="24" selection-start-column="53" selection-end-line="24" selection-end-column="53" />
1908
+ <folding />
1909
+ </state>
1910
+ </provider>
1911
+ </entry>
1912
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml">
1913
+ <provider selected="true" editor-type-id="text-editor">
1914
+ <state relative-caret-position="352">
1915
+ <caret line="44" column="25" lean-forward="false" selection-start-line="44" selection-start-column="25" selection-end-line="44" selection-end-column="25" />
1916
+ <folding>
1917
+ <marker date="1517481986212" expanded="true" signature="570:834" ph="SELECT user.... tbl_monitoring_user" />
1918
+ <marker date="1517481986212" expanded="true" signature="912:1160" ph="SELECT user.... tbl_monitoring_user" />
1919
+ <marker date="1517481986212" expanded="true" signature="1239:1340" ph="INSERT INTO tbl_monitoring_user" />
1920
+ <marker date="1517481986212" expanded="true" signature="1437:1526" ph="INSERT INTO tbl_monitoring_user" />
1921
+ <marker date="1517481986212" expanded="true" signature="1615:1743" ph="SELECT id FR... tbl_monitoring_user_rules" />
1922
+ <marker date="1517481986212" expanded="true" signature="1834:1882" ph="SELECT * fro... tbl_monitoring_user" />
1923
+ </folding>
1924
+ </state>
1925
+ </provider>
1926
+ </entry>
1927
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java">
1928
+ <provider selected="true" editor-type-id="text-editor">
1929
+ <state relative-caret-position="234">
1930
+ <caret line="164" column="82" lean-forward="false" selection-start-line="164" selection-start-column="81" selection-end-line="164" selection-end-column="82" />
1931
+ <folding />
1932
+ </state>
1933
+ </provider>
1934
+ </entry>
1935
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java">
1936
+ <provider selected="true" editor-type-id="text-editor">
1937
+ <state relative-caret-position="561">
1938
+ <caret line="46" column="48" lean-forward="false" selection-start-line="46" selection-start-column="48" selection-end-line="46" selection-end-column="48" />
1939
+ <folding>
1940
+ <element signature="imports" expanded="true" />
1941
+ </folding>
1942
+ </state>
1943
+ </provider>
1944
+ </entry>
1945
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java">
1946
+ <provider selected="true" editor-type-id="text-editor">
1947
+ <state relative-caret-position="234">
1948
+ <caret line="66" column="57" lean-forward="false" selection-start-line="66" selection-start-column="57" selection-end-line="66" selection-end-column="57" />
1949
+ <folding>
1950
+ <element signature="imports" expanded="true" />
1951
+ <element signature="method#checkMTStuck#0;class#MonitoringService#0" expanded="false" />
1952
+ <element signature="method#checkMOStuck#0;class#MonitoringService#0" expanded="false" />
1953
+ </folding>
1954
+ </state>
1955
+ </provider>
1956
+ </entry>
1957
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties">
1958
+ <provider selected="true" editor-type-id="text-editor">
1959
+ <state relative-caret-position="606">
1960
+ <caret line="36" column="0" lean-forward="false" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
1961
+ <folding />
1962
+ </state>
1963
+ </provider>
1964
+ </entry>
1965
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties">
1966
+ <provider selected="true" editor-type-id="text-editor">
1967
+ <state relative-caret-position="1026">
1968
+ <caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
1969
+ <folding />
1970
+ </state>
1971
+ </provider>
1972
+ </entry>
19091973 </component>
19101974 </project>
pom.xml
....@@ -19,6 +19,7 @@
1919 <module>unipin_bgw_service</module>
2020 <module>unipin_cms_service</module>
2121 <module>unipin_database_service</module>
22
+ <module>unipin_bot_telegram_service</module>
2223 </modules>
2324
2425 <parent>
unipin_bot_telegram_service/pom.xml
....@@ -0,0 +1,54 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+ <parent>
6
+ <artifactId>unipin</artifactId>
7
+ <groupId>id.co.accessmobile.carrier.billing.unipin</groupId>
8
+ <version>1.0</version>
9
+ </parent>
10
+ <modelVersion>4.0.0</modelVersion>
11
+
12
+ <artifactId>unipin-bot-telegram-service</artifactId>
13
+
14
+ <dependencies>
15
+ <!-- https://mvnrepository.com/artifact/com.github.pengrad/java-telegram-bot-api -->
16
+ <dependency>
17
+ <groupId>org.telegram</groupId>
18
+ <artifactId>telegrambots</artifactId>
19
+ <version>3.5</version>
20
+ </dependency>
21
+
22
+ </dependencies>
23
+ <build>
24
+ <plugins>
25
+ <plugin>
26
+ <groupId>org.apache.maven.plugins</groupId>
27
+ <artifactId>maven-assembly-plugin</artifactId>
28
+ <version>2.4.1</version>
29
+ <configuration>
30
+ <descriptorRefs>
31
+ <descriptorRef>jar-with-dependencies</descriptorRef>
32
+ </descriptorRefs>
33
+ </configuration>
34
+ <executions>
35
+ <execution>
36
+ <id>make-assembly</id>
37
+ <phase>package</phase>
38
+ <goals>
39
+ <goal>single</goal>
40
+ </goals>
41
+ </execution>
42
+ </executions>
43
+ </plugin>
44
+ <plugin>
45
+ <groupId>org.apache.maven.plugins</groupId>
46
+ <artifactId>maven-compiler-plugin</artifactId>
47
+ <configuration>
48
+ <source>1.7</source>
49
+ <target>1.7</target>
50
+ </configuration>
51
+ </plugin>
52
+ </plugins>
53
+ </build>
54
+</project>
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java
....@@ -0,0 +1,55 @@
1
+package id.co.accessmobile.carrier.billing.unipin.bot.telegram.service;
2
+
3
+
4
+import org.telegram.telegrambots.api.methods.send.SendMessage;
5
+import org.telegram.telegrambots.api.objects.Update;
6
+import org.telegram.telegrambots.bots.TelegramLongPollingBot;
7
+import org.telegram.telegrambots.exceptions.TelegramApiException;
8
+
9
+/**
10
+ * Created by Permana on 1/30/2018.
11
+ * Software Enginer
12
+ * Access Mobile Indonesia
13
14
+ */
15
+public class Bot extends TelegramLongPollingBot {
16
+ protected String username;
17
+ protected String token;
18
+ protected MessageListener listener;
19
+
20
+ public Bot(String username, String token) {
21
+ this.username = username;
22
+ this.token = token;
23
+ }
24
+
25
+ public Bot(String username, String token, MessageListener listener) {
26
+ this.username = username;
27
+ this.token = token;
28
+ this.listener = listener;
29
+ }
30
+
31
+ public void sendMessage(String destination, String message) throws TelegramApiException {
32
+ SendMessage sendMessage = new SendMessage();
33
+ sendMessage.setText(message);
34
+ sendMessage.setChatId(destination);
35
+ sendMessage(sendMessage);
36
+ }
37
+
38
+ @Override
39
+ public void onUpdateReceived(Update update) {
40
+ System.out.println(update.getMessage().getChatId());
41
+ if (this.listener != null) {
42
+ this.listener.onMessageReceive(update);
43
+ }
44
+ }
45
+
46
+ @Override
47
+ public String getBotUsername() {
48
+ return this.username;
49
+ }
50
+
51
+ @Override
52
+ public String getBotToken() {
53
+ return this.token;
54
+ }
55
+}
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/BotManager.java
....@@ -0,0 +1,30 @@
1
+package id.co.accessmobile.carrier.billing.unipin.bot.telegram.service;
2
+
3
+import org.telegram.telegrambots.ApiContextInitializer;
4
+import org.telegram.telegrambots.TelegramBotsApi;
5
+import org.telegram.telegrambots.exceptions.TelegramApiException;
6
+import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
7
+
8
+/**
9
+ * Created by Permana on 1/30/2018.
10
+ * Software Enginer
11
+ * Access Mobile Indonesia
12
13
+ */
14
+public class BotManager {
15
+ protected static Bot bot;
16
+
17
+ public static void init(String token, String username, MessageListener listener) throws TelegramApiRequestException {
18
+ ApiContextInitializer.init();
19
+ bot = new Bot(username, token, listener);
20
+ new TelegramBotsApi().registerBot(bot);
21
+ }
22
+
23
+ public static void init(String token, String username) throws TelegramApiRequestException {
24
+ bot = new Bot(username, token);
25
+ }
26
+
27
+ public static void sendMessage(String destination, String message) throws TelegramApiException {
28
+ bot.sendMessage(destination, message);
29
+ }
30
+}
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java
....@@ -0,0 +1,13 @@
1
+package id.co.accessmobile.carrier.billing.unipin.bot.telegram.service;
2
+
3
+import org.telegram.telegrambots.api.objects.Update;
4
+
5
+/**
6
+ * Created by Permana on 1/30/2018.
7
+ * Software Enginer
8
+ * Access Mobile Indonesia
9
10
+ */
11
+public interface MessageListener {
12
+ public void onMessageReceive(Update message);
13
+}
unipin_charge_service/pom.xml
....@@ -76,6 +76,12 @@
7676 <artifactId>xercesImpl</artifactId>
7777 <version>2.11.0</version>
7878 </dependency>
79
+
80
+ <dependency>
81
+ <groupId>id.co.accessmobile.carrier.billing.unipin</groupId>
82
+ <artifactId>unipin-bot-telegram-service</artifactId>
83
+ <version>1.0</version>
84
+ </dependency>
7985 </dependencies>
8086
8187 <build>
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java
....@@ -4,12 +4,13 @@
44 import org.slf4j.Logger;
55 import org.slf4j.LoggerFactory;
66 import org.springframework.beans.factory.annotation.Autowired;
7
-import org.springframework.boot.CommandLineRunner;
87 import org.springframework.boot.SpringApplication;
98 import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
109 import org.springframework.boot.autoconfigure.SpringBootApplication;
1110 import org.springframework.boot.context.properties.EnableConfigurationProperties;
1211 import org.springframework.context.annotation.Configuration;
12
+
13
+import javax.annotation.PostConstruct;
1314
1415 /**
1516 * Created by Permana on 11/12/2017.
....@@ -22,22 +23,23 @@
2223 @SpringBootApplication
2324 @EnableAutoConfiguration
2425 @EnableConfigurationProperties
25
-public class Application implements CommandLineRunner {
26
+public class Application {
2627
2728 private static final Logger log = LoggerFactory.getLogger(Application.class);
29
+
2830
2931 @Autowired
3032 private ChargePullJob chargePullJob;
3133
32
- @Override
33
- public void run(String... strings) throws Exception
34
- {
34
+
35
+
36
+ @PostConstruct
37
+ public void init() throws Exception {
3538 log.info("Application Start");
3639 chargePullJob.run();
3740 }
3841
39
- public static void main(String[] args)
40
- {
42
+ public static void main(String[] args) {
4143 SpringApplication.run(Application.class, args);
4244 }
4345 }
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Monitoring.java
....@@ -0,0 +1,42 @@
1
+package id.co.accessmobile.carrier.billling.unipin.chargingservice;
2
+
3
+import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.BotManager;
4
+import id.co.accessmobile.carrier.billling.unipin.chargingservice.mapper.MonitoringUserMapper;
5
+import id.co.accessmobile.carrier.billling.unipin.chargingservice.model.MonitoringUser;
6
+import org.springframework.beans.factory.annotation.Autowired;
7
+import org.springframework.beans.factory.annotation.Value;
8
+import org.springframework.stereotype.Service;
9
+import org.telegram.telegrambots.exceptions.TelegramApiException;
10
+import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
11
+
12
+import javax.annotation.PostConstruct;
13
+
14
+/**
15
+ * Created by Permana on 1/30/2018.
16
+ * Software Enginer
17
+ * Access Mobile Indonesia
18
19
+ */
20
21
+public class Monitoring {
22
+ @Value("${bot.telegram.token}")
23
+ protected String token;
24
+
25
+ @Value("${bot.telegram.username}")
26
+ protected String username;
27
+
28
+ @Autowired
29
+ protected MonitoringUserMapper monitoringUserMapper;
30
+
31
+ @PostConstruct
32
+ public void init() throws TelegramApiRequestException {
33
+ BotManager.init(this.token, this.username);
34
+ }
35
+
36
+ public void sendMessageForTechnical(String message) throws TelegramApiException {
37
+ for(MonitoringUser monitoringUser:monitoringUserMapper.selectForTechnicalUser()){
38
+ BotManager.sendMessage(monitoringUser.getId(),message);
39
+ }
40
+ }
41
+
42
+}
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargePullJob.java
....@@ -1,5 +1,6 @@
11 package id.co.accessmobile.carrier.billling.unipin.chargingservice.job;
22
3
+import id.co.accessmobile.carrier.billling.unipin.chargingservice.Monitoring;
34 import id.co.accessmobile.carrier.billling.unipin.chargingservice.common.exception.StackTrace;
45 import id.co.accessmobile.carrier.billling.unipin.chargingservice.mapper.QueueChargeMapper;
56 import id.co.accessmobile.carrier.billling.unipin.chargingservice.model.Queue;
....@@ -12,6 +13,7 @@
1213 import org.springframework.core.task.TaskExecutor;
1314 import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
1415 import org.springframework.stereotype.Component;
16
+import org.telegram.telegrambots.exceptions.TelegramApiException;
1517
1618 import java.util.List;
1719 import java.util.concurrent.Future;
....@@ -33,6 +35,9 @@
3335
3436 private AtomicBoolean bTerminate = new AtomicBoolean(false);
3537 private ThreadPoolTaskExecutor taskExecutor = new ThreadPoolTaskExecutor();
38
+
39
+ @Autowired
40
+ protected Monitoring monitoring;
3641
3742 @Bean(name = "chargeExecutor")
3843 public TaskExecutor taskExecutor()
....@@ -83,6 +88,15 @@
8388
8489 }
8590 catch (Exception e){
91
+ try {
92
+ this.monitoring.sendMessageForTechnical("" +
93
+ "ERROR\n" +
94
+ "CHARGE Service [ChargePullJob]\n"+
95
+ e.getMessage()+"\n" +
96
+ e.getLocalizedMessage());
97
+ } catch (TelegramApiException e1) {
98
+ e1.printStackTrace();
99
+ }
86100 log.warn(StackTrace.getStackTrace(e));
87101 }
88102
....@@ -96,6 +110,16 @@
96110 queueMapper.updateRslt(future.get().getReqId(), future.get().getRslt());
97111 log.info("Update Result, ID[{}], Rslt[{}]", future.get().getReqId(), future.get().getRslt());
98112 } catch (Exception e) {
113
+
114
+ try {
115
+ this.monitoring.sendMessageForTechnical("" +
116
+ "ERROR\n" +
117
+ "CHARGE Service [ChargePullJob]\n" +
118
+ e.getMessage()+"\n" +
119
+ e.getLocalizedMessage());
120
+ } catch (TelegramApiException e1) {
121
+ e1.printStackTrace();
122
+ }
99123 log.warn(StackTrace.getStackTrace(e));
100124 }
101125 }).start();
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/job/ChargeWorker.java
....@@ -1,5 +1,6 @@
11 package id.co.accessmobile.carrier.billling.unipin.chargingservice.job;
22
3
+import id.co.accessmobile.carrier.billling.unipin.chargingservice.Monitoring;
34 import id.co.accessmobile.carrier.billling.unipin.chargingservice.common.exception.StackTrace;
45 import id.co.accessmobile.carrier.billling.unipin.chargingservice.common.util.NumberUtil;
56 import id.co.accessmobile.carrier.billling.unipin.chargingservice.mapper.QueueNotiMapper;
....@@ -17,6 +18,7 @@
1718 import org.springframework.scheduling.annotation.Async;
1819 import org.springframework.scheduling.annotation.AsyncResult;
1920 import org.springframework.stereotype.Component;
21
+import org.telegram.telegrambots.exceptions.TelegramApiException;
2022
2123 import java.util.concurrent.Future;
2224
....@@ -36,6 +38,9 @@
3638
3739 @Autowired
3840 private SmsMessageMapper smsMessageMapper;
41
+
42
+ @Autowired
43
+ protected Monitoring monitoring;
3944
4045 @Async("chargeExecutor")
4146 public Future<Queue> run(Queue request) throws Exception {
....@@ -60,6 +65,15 @@
6065
6166 }
6267 catch (Exception e) {
68
+ try {
69
+ this.monitoring.sendMessageForTechnical("" +
70
+ "ERROR \n" +
71
+ "CHARGE Service [Charge Worker] \n" +
72
+ e.getMessage()+"\n" +
73
+ e.getLocalizedMessage());
74
+ } catch (TelegramApiException e1) {
75
+ e1.printStackTrace();
76
+ }
6377 log.warn(logTitle + StackTrace.getStackTrace(e));
6478 rslt = ILineData.STATUS_ERROR;
6579 } finally {
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/mapper/MonitoringUserMapper.java
....@@ -0,0 +1,17 @@
1
+package id.co.accessmobile.carrier.billling.unipin.chargingservice.mapper;
2
+
3
+import id.co.accessmobile.carrier.billling.unipin.chargingservice.model.MonitoringUser;
4
+import org.apache.ibatis.annotations.Mapper;
5
+
6
+import java.util.List;
7
+
8
+/**
9
+ * Created by Permana on 1/30/2018.
10
+ * Software Enginer
11
+ * Access Mobile Indonesia
12
13
+ */
14
15
+public interface MonitoringUserMapper {
16
+ public List<MonitoringUser> selectForTechnicalUser();
17
+}
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/model/MonitoringUser.java
....@@ -0,0 +1,36 @@
1
+package id.co.accessmobile.carrier.billling.unipin.chargingservice.model;
2
+
3
+/**
4
+ * Created by Permana on 1/30/2018.
5
+ * Software Enginer
6
+ * Access Mobile Indonesia
7
8
+ */
9
+public class MonitoringUser {
10
+ protected String id;
11
+ protected String username;
12
+
13
+ public MonitoringUser() {
14
+ }
15
+
16
+ public MonitoringUser(String id, String username) {
17
+ this.id = id;
18
+ this.username = username;
19
+ }
20
+
21
+ public String getId() {
22
+ return id;
23
+ }
24
+
25
+ public void setId(String id) {
26
+ this.id = id;
27
+ }
28
+
29
+ public String getUsername() {
30
+ return username;
31
+ }
32
+
33
+ public void setUsername(String username) {
34
+ this.username = username;
35
+ }
36
+}
unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientChargingService.java
....@@ -2,6 +2,7 @@
22
33 import com.hcpt.client.ChargingGatewayClient;
44 import com.hcpt.client.ParserUtil;
5
+import id.co.accessmobile.carrier.billling.unipin.chargingservice.Monitoring;
56 import id.co.accessmobile.carrier.billling.unipin.chargingservice.common.util.MsisdnUtil;
67 import id.co.accessmobile.carrier.billling.unipin.chargingservice.model.BillParams;
78 import id.co.accessmobile.carrier.billling.unipin.chargingservice.properties.HutchBillResponse;
....@@ -9,12 +10,16 @@
910 import org.slf4j.LoggerFactory;
1011 import org.springframework.beans.factory.annotation.Autowired;
1112 import org.springframework.stereotype.Service;
13
+import org.telegram.telegrambots.exceptions.TelegramApiException;
1214
1315 @Service
1416 public class ClientChargingService {
1517
1618 @Autowired
1719 private TestTransactionService testTrxSvc;
20
+
21
+ @Autowired
22
+ protected Monitoring monitoring;
1823
1924 private final Logger log = LoggerFactory.getLogger(ClientChargingService.class);
2025
....@@ -89,6 +94,11 @@
8994 retryCount,
9095 providerCode);
9196 } catch (Exception e) {
97
+ this.monitoring.sendMessageForTechnical("" +
98
+ "ERROR\n" +
99
+ "CHARGE Service [ClientChargingService]\n" +
100
+ e.getMessage()+"\n" +
101
+ e.getLocalizedMessage());
92102 log.error( logTitle +"[Call Reserver Charging]"+ e.getMessage() , e);
93103 System.out.println("[Call Reserver Charging] Error when reserving charging. Error message: " + e.getMessage());
94104 }
....@@ -152,6 +162,11 @@
152162 description,
153163 externalRef);
154164 } catch (Exception e) {
165
+ this.monitoring.sendMessageForTechnical("" +
166
+ "ERROR\n" +
167
+ "CHARGE Service [ClientChargingService]\n" +
168
+ e.getMessage()+" " +
169
+ ""+e.getLocalizedMessage());
155170 log.error( logTitle +"[Rollback (if chosen)]"+ e.getMessage() , e);
156171 System.out.println("[Rollback (if chosen)] Error when rolling back charging. Error message: " + e.getMessage());
157172
....@@ -192,6 +207,12 @@
192207 }
193208
194209 } catch (Exception e) {
210
+
211
+ this.monitoring.sendMessageForTechnical("" +
212
+ "ERROR\n" +
213
+ "CHARGE Service [ClientChargingService]\n" +
214
+ e.getMessage()+" " +
215
+ e.getLocalizedMessage());
195216 log.error( logTitle +"[Commit (if chosen)]"+ e.getMessage() , e);
196217 System.out.println("[Commit (if chosen)] Error when commiting reserved charging. Error message: " + e.getMessage() );
197218 }
....@@ -203,6 +224,15 @@
203224 }
204225 }
205226 } catch (Exception e) {
227
+ try {
228
+ this.monitoring.sendMessageForTechnical("" +
229
+ "ERROR\n" +
230
+ "CHARGE Service [ClientChargingService]\n" +
231
+ e.getMessage()+"\n" +
232
+ e.getLocalizedMessage());
233
+ } catch (TelegramApiException e1) {
234
+ e1.printStackTrace();
235
+ }
206236 e.printStackTrace();
207237 }
208238
unipin_charge_service/src/main/resources/application.properties
....@@ -29,4 +29,7 @@
2929 hutch.fc.requesturl=http://10.17.91.160:7002/PMTApplyTariffbyCash
3030 hutch.fc.appid=000000011221
3131
32
+bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
33
+bot.telegram.username=ami_unipin_bot
34
+
3235
unipin_charge_service/src/main/resources/mybatis/mapper/MonitoringUser.xml
....@@ -0,0 +1,22 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+
4
+<mapper namespace="id.co.accessmobile.carrier.billling.unipin.chargingservice.mapper.MonitoringUserMapper">
5
+
6
+ <resultMap id="user" type="id.co.accessmobile.carrier.billling.unipin.chargingservice.model.MonitoringUser">
7
+ <result property="id" column="id"/>
8
+ <result property="username" column="user_name"/>
9
+ </resultMap>
10
+
11
+ <select id="selectForTechnicalUser" resultMap="user">
12
+ SELECT
13
+ user.id,
14
+ user.user_name
15
+ FROM
16
+ db_unipin_cs_tools.tbl_monitoring_user as user ,
17
+ db_unipin_cs_tools.tbl_monitoring_user_rules as rules
18
+ WHERE
19
+ user.id=rules.id AND
20
+ rules.rule='TECHNICAL'
21
+ </select>
22
+</mapper>
unipin_charge_service/src/main/resources/mybatis/mybatis-config.xml
....@@ -15,6 +15,7 @@
1515 <mapper resource="mybatis/mapper/QueueResultMapper.xml"/>
1616 <mapper resource="mybatis/mapper/SmsMessageMapper.xml"/>
1717 <mapper resource="mybatis/mapper/TestMapper.xml"/>
18
+ <mapper resource="mybatis/mapper/MonitoringUser.xml"/>
1819 </mappers>
1920
2021 </configuration>
unipin_charge_service/unipin-charge-service.iml
....@@ -38,6 +38,37 @@
3838 <orderEntry type="library" name="Maven: xalan:serializer:2.7.2" level="project" />
3939 <orderEntry type="library" name="Maven: xerces:xercesImpl:2.11.0" level="project" />
4040 <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.4.01" level="project" />
41
+ <orderEntry type="module" module-name="unipin_bot_telegram_service" />
42
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
43
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
44
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
45
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
46
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.6.6" level="project" />
47
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.6.6" level="project" />
48
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.6.6" level="project" />
49
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.22.2" level="project" />
50
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.22.2" level="project" />
51
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.22.2" level="project" />
52
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
53
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.22.2" level="project" />
54
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
55
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
56
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
57
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
58
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
59
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
60
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.22.2" level="project" />
61
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.22.2" level="project" />
62
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.22.2" level="project" />
63
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
64
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.4.0-b34" level="project" />
65
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.4.0-b34" level="project" />
66
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.4.0-b34" level="project" />
67
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.4.0-b34" level="project" />
68
+ <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
69
+ <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
70
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.2" level="project" />
71
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
4172 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
4273 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
4374 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
unipin_cms_service/pom.xml
....@@ -35,6 +35,12 @@
3535 <artifactId>unipin-database-service</artifactId>
3636 <version>1.0</version>
3737 </dependency>
38
+
39
+ <dependency>
40
+ <groupId>id.co.accessmobile.carrier.billing.unipin</groupId>
41
+ <artifactId>unipin-bot-telegram-service</artifactId>
42
+ <version>1.0</version>
43
+ </dependency>
3844 </dependencies>
3945
4046
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java
....@@ -2,6 +2,8 @@
22
33 import org.springframework.boot.SpringApplication;
44 import org.springframework.boot.autoconfigure.SpringBootApplication;
5
+import org.springframework.scheduling.annotation.EnableAsync;
6
+import org.springframework.scheduling.annotation.EnableScheduling;
57
68 /**
79 * Created by Permana on 1/12/2018.
....@@ -10,6 +12,8 @@
1012 * [email protected]
1113 */
1214 @SpringBootApplication
15
16
1317 public class Application {
1418
1519 public static void main(String[] args) {
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java
....@@ -1,6 +1,5 @@
11 package id.co.accessmobile.carrier.billing.unipin.cstools.controller;
22
3
-import com.google.gson.Gson;
43 import id.co.accessmobile.carrier.billing.unipin.cstools.database.model.UserTrack;
54 import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.PurchaseRepository;
65 import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.TransactionRepositoy;
....@@ -50,7 +49,6 @@
5049 track = new UserTrack(transaction.getMsisdn(), simpleDateFormatDetail.format(transaction.getTime()), transactionStateRepository.findByID(transaction.getId()));
5150 userTracks.add(track);
5251 }
53
- System.out.println(new Gson().toJson(userTracks));
5452 return new ResponseEntity<List<UserTrack>>(userTracks, HttpStatus.OK);
5553 }
5654 }
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/MonitoringUser.java
....@@ -0,0 +1,36 @@
1
+package id.co.accessmobile.carrier.billing.unipin.cstools.database.model;
2
+
3
+/**
4
+ * Created by Permana on 1/30/2018.
5
+ * Software Enginer
6
+ * Access Mobile Indonesia
7
8
+ */
9
+public class MonitoringUser {
10
+ protected String id;
11
+ protected String username;
12
+
13
+ public MonitoringUser() {
14
+ }
15
+
16
+ public MonitoringUser(String id, String username) {
17
+ this.id = id;
18
+ this.username = username;
19
+ }
20
+
21
+ public String getId() {
22
+ return id;
23
+ }
24
+
25
+ public void setId(String id) {
26
+ this.id = id;
27
+ }
28
+
29
+ public String getUsername() {
30
+ return username;
31
+ }
32
+
33
+ public void setUsername(String username) {
34
+ this.username = username;
35
+ }
36
+}
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java
....@@ -0,0 +1,28 @@
1
+package id.co.accessmobile.carrier.billing.unipin.cstools.database.repository;
2
+
3
+import id.co.accessmobile.carrier.billing.unipin.cstools.database.model.MonitoringUser;
4
+import org.apache.ibatis.annotations.Mapper;
5
+import org.apache.ibatis.annotations.Param;
6
+
7
+import java.util.List;
8
+
9
+/**
10
+ * Created by Permana on 1/30/2018.
11
+ * Software Enginer
12
+ * Access Mobile Indonesia
13
14
+ */
15
16
+public interface MonitoringUserMapper {
17
+ public List<MonitoringUser> selectForTechnicalUser();
18
+
19
+ public List<MonitoringUser> selectForAdminUser();
20
+
21
+ public MonitoringUser isAdmin(@Param(value = "id") String id);
22
+
23
+ public void insertNewUser(@Param(value = "chatID") String chatID, @Param(value = "username") String username);
24
+
25
+ public void insertUserRule(@Param(value = "chatID") String id, @Param(value = "rule") String rule);
26
+
27
+ public MonitoringUser findByID(@Param(value = "id") String id);
28
+}
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java
....@@ -5,6 +5,7 @@
55 import org.apache.ibatis.annotations.Param;
66 import org.springframework.transaction.annotation.Transactional;
77
8
+import java.sql.Timestamp;
89 import java.util.List;
910
1011 /**
....@@ -16,4 +17,8 @@
1617 public int save(@Param(value = "state") TblTransactionStates tblTransactionStates);
1718
1819 public List<TblTransactionStates> findByID(@Param(value = "id") int id);
20
+
21
+ public List<TblTransactionStates> findForStuck(@Param(value = "startingPeriod")Timestamp from, @Param(value = "endingPeriod") Timestamp to);
22
+
23
+ public List<TblTransactionStates> findForNoMO(@Param(value = "startingPeriod")Timestamp from,@Param(value = "endingPeriod") Timestamp to);
1924 }
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java
....@@ -0,0 +1,50 @@
1
+package id.co.accessmobile.carrier.billing.unipin.cstools.service;
2
+
3
+import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.BotManager;
4
+import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.MessageListener;
5
+import id.co.accessmobile.carrier.billing.unipin.cstools.database.model.MonitoringUser;
6
+import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.MonitoringUserMapper;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.beans.factory.annotation.Value;
9
+import org.springframework.stereotype.Service;
10
+import org.telegram.telegrambots.exceptions.TelegramApiException;
11
+import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
12
+
13
+/**
14
+ * Created by Permana on 1/30/2018.
15
+ * Software Enginer
16
+ * Access Mobile Indonesia
17
18
+ */
19
20
+public class Monitoring {
21
+ @Value("${bot.telegram.token}")
22
+ protected String token;
23
+
24
+ @Value("${bot.telegram.username}")
25
+ protected String username;
26
+
27
+ @Autowired
28
+ protected MonitoringUserMapper monitoringUserMapper;
29
+
30
+ public void init(MessageListener listener) throws TelegramApiRequestException {
31
+ BotManager.init(this.token, this.username, listener);
32
+ }
33
+
34
+ public void sendMessageForTechnical(String message) throws TelegramApiException {
35
+ for (MonitoringUser monitoringUser : monitoringUserMapper.selectForTechnicalUser()) {
36
+ BotManager.sendMessage(monitoringUser.getId(), message);
37
+ }
38
+ }
39
+
40
+ public void sendMessageForAdmin(String message) throws TelegramApiException {
41
+ for (MonitoringUser monitoringUser : monitoringUserMapper.selectForAdminUser()) {
42
+ BotManager.sendMessage(monitoringUser.getId(), message);
43
+ }
44
+ }
45
+
46
+ public void sendMessage(String chatID, String message) throws TelegramApiException {
47
+ BotManager.sendMessage(chatID, message);
48
+ }
49
+
50
+}
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java
....@@ -0,0 +1,124 @@
1
+package id.co.accessmobile.carrier.billing.unipin.cstools.service;
2
+
3
+import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.MessageListener;
4
+import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.MonitoringUserMapper;
5
+import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.TransactionStateRepository;
6
+import id.co.accessmobile.carrier.billing.unipin.database.entity.TblTransactionStates;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.scheduling.annotation.Scheduled;
9
+import org.springframework.stereotype.Service;
10
+import org.telegram.telegrambots.api.objects.Update;
11
+import org.telegram.telegrambots.exceptions.TelegramApiException;
12
+import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
13
+
14
+import javax.annotation.PostConstruct;
15
+import java.sql.Timestamp;
16
+import java.util.List;
17
+
18
+/**
19
+ * Created by Permana on 2/1/2018.
20
+ * Software Enginer
21
+ * Access Mobile Indonesia
22
23
+ */
24
25
+public class MonitoringService implements MessageListener {
26
+ @Autowired
27
+ protected Monitoring monitoring;
28
+
29
+ @Autowired
30
+ protected TransactionStateRepository transactionStateRepository;
31
+
32
+ @Autowired
33
+ protected MonitoringUserMapper monitoringUserMapper;
34
+
35
+
36
+ protected Timestamp starting;
37
+
38
+ @Override
39
+ public void onMessageReceive(Update message) {
40
+ String text = message.getMessage().getText() != null ? message.getMessage().getText().trim().toLowerCase() : "";
41
+ try {
42
+ if (text.startsWith("reg")) {
43
+ if (this.monitoringUserMapper.findByID(String.valueOf(message.getMessage().getChatId())) != null) {
44
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "Anda telah menjadi user unipin monitoring");
45
+ } else {
46
+ this.monitoring.sendMessageForAdmin(
47
+ "REQUEST MEMBER \n" +
48
+ message.getMessage().getChatId() + " \n" +
49
+ message.getMessage().getChat().getFirstName() + " " + message.getMessage().getChat().getLastName());
50
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "Permintaan anda telah diteruskan kepada admin kami dan akan diprocess oleh admin kami");
51
+ }
52
+ } else if (text.startsWith("accept")) {
53
+ if (this.monitoringUserMapper.isAdmin(String.valueOf(message.getMessage().getChatId())) != null) {
54
+ String[] split = text.split("\\s+");
55
+ if (split.length > 3) {
56
+ this.monitoringUserMapper.insertNewUser(split[1], split[2]);
57
+ this.monitoringUserMapper.insertUserRule(split[1], split[3]);
58
+ this.monitoring.sendMessage(split[1],
59
+ "SELAMAT, Anda telah menjadi user di unipin monitoring dengan " +
60
+ "type user " + split[3]);
61
+ }
62
+ } else {
63
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "WHO ARE YOU?");
64
+ }
65
+ } else if (text.startsWith("reset")) {
66
+ if (this.monitoringUserMapper.isAdmin(String.valueOf(message.getMessage().getChatId())) != null) {
67
+ this.starting = new Timestamp(System.currentTimeMillis());
68
+ } else {
69
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "WHO ARE YOU?");
70
+ }
71
+ }
72
+ } catch (TelegramApiException e) {
73
+ e.printStackTrace();
74
+ }
75
+ }
76
+
77
+ @PostConstruct
78
+ public void init() throws TelegramApiRequestException {
79
+ this.monitoring.init(this);
80
+ this.starting = new Timestamp(System.currentTimeMillis());
81
+ }
82
+
83
+ @Scheduled(fixedRate = 1000 * 60 * 5)
84
+ public void checkMTStuck() {
85
+ List<TblTransactionStates> states = transactionStateRepository.findForStuck(this.starting, new Timestamp(System.currentTimeMillis()));
86
+ boolean clear = true;
87
+ for (TblTransactionStates state : states) {
88
+ try {
89
+ clear = false;
90
+ this.monitoring.sendMessageForTechnical(
91
+ "CRITICAL ERROR \n" +
92
+ "CANNOT RECEIVE RESPONSE WHILE SENDING MT\n" +
93
+ state.getId()
94
+ );
95
+ } catch (TelegramApiException e) {
96
+ e.printStackTrace();
97
+ }
98
+ }
99
+ if (clear) {
100
+ this.starting = new Timestamp(System.currentTimeMillis());
101
+ }
102
+ }
103
+
104
+ @Scheduled(fixedRate = 1000 * 60 * 60)
105
+ public void checkMOStuck() {
106
+ List<TblTransactionStates> states = transactionStateRepository.findForNoMO(this.starting, new Timestamp(System.currentTimeMillis()));
107
+ boolean clear = true;
108
+ for (TblTransactionStates state : states) {
109
+ try {
110
+ clear = false;
111
+ this.monitoring.sendMessageForTechnical(
112
+ "WARN \n" +
113
+ "NOT RECEIVE MO\n" +
114
+ state.getId()
115
+ );
116
+ } catch (TelegramApiException e) {
117
+ e.printStackTrace();
118
+ }
119
+ }
120
+ if (clear) {
121
+ this.starting = new Timestamp(System.currentTimeMillis());
122
+ }
123
+ }
124
+}
unipin_cms_service/src/main/resources/application.properties
....@@ -1 +1,3 @@
1
-spring.profiles.active=prod
1
+spring.profiles.active=prod
2
+bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
3
+bot.telegram.username=ami_unipin_bot
unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml
....@@ -0,0 +1,60 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+
4
+<mapper namespace="id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.MonitoringUserMapper">
5
+
6
+ <resultMap id="user" type="id.co.accessmobile.carrier.billing.unipin.cstools.database.model.MonitoringUser">
7
+ <result property="id" column="id"/>
8
+ <result property="username" column="user_name"/>
9
+ </resultMap>
10
+
11
+ <select id="selectForTechnicalUser" resultMap="user">
12
+ SELECT
13
+ user.id,
14
+ user.user_name
15
+ FROM
16
+ db_unipin_cs_tools.tbl_monitoring_user as user ,
17
+ db_unipin_cs_tools.tbl_monitoring_user_rules as rules
18
+ WHERE
19
+ user.id=rules.id AND
20
+ rules.rule='TECHNICAL'
21
+ </select>
22
+ <select id="selectForAdminUser" resultMap="user">
23
+ SELECT
24
+ user.id,
25
+ user.user_name
26
+ FROM
27
+ db_unipin_cs_tools.tbl_monitoring_user as user ,
28
+ db_unipin_cs_tools.tbl_monitoring_user_rules as rules
29
+ WHERE
30
+ user.id=rules.id AND
31
+ rules.rule='ADMIN'
32
+ </select>
33
+
34
+ <insert id="insertNewUser" parameterType="String">
35
+ INSERT INTO
36
+ tbl_monitoring_user
37
+ values
38
+ (#{chatID},#{username},#{chatID})
39
+ </insert>
40
+
41
+ <select id="insertUserRule" parameterType="String" resultMap="user">
42
+ INSERT INTO
43
+ tbl_monitoring_user_rules
44
+ values
45
+ (#{chatID},#{rule})
46
+ </select>
47
+ <select id="isAdmin" parameterType="String" resultMap="user">
48
+ SELECT
49
+ id
50
+ FROM
51
+ tbl_monitoring_user_rules
52
+ WHERE
53
+ id=#{id} AND
54
+ rule='ADMIN'
55
+ </select>
56
+
57
+ <select id="findByID" parameterType="String" resultMap="user">
58
+ SELECT * from tbl_monitoring_user where id=#{id}
59
+ </select>
60
+</mapper>
unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml
....@@ -5,12 +5,12 @@
55
66 <resultMap id="tblTransactionState"
77 type="id.co.accessmobile.carrier.billing.unipin.database.entity.TblTransactionStates">
8
- <result property="id" column="id"/>
9
- <result property="state" column="state"/>
10
- <result property="service" column="service"/>
11
- <result property="message" column="message"/>
12
- <result property="result" column="result"/>
13
- <result property="time" column="time"/>
8
+ <result property="id" column="id"/>
9
+ <result property="state" column="state"/>
10
+ <result property="service" column="service"/>
11
+ <result property="message" column="message"/>
12
+ <result property="result" column="result"/>
13
+ <result property="time" column="time"/>
1414 </resultMap>
1515
1616 <insert id="save" parameterType="TblTransactionStates">
....@@ -20,4 +20,26 @@
2020 <select id="findByID" parameterType="Integer" resultMap="tblTransactionState">
2121 SELECT * from db_unipin_cs_tools.tbl_transaction_states where id=#{id}
2222 </select>
23
+
24
+ <select id="findForStuck" parameterType="Date" resultMap="tblTransactionState">
25
+ select tbl_transaction.id from tbl_transaction
26
+ LEFT JOIN
27
+ (select id from tbl_transaction_states where tbl_transaction_states.state="PROCESSED_REQUEST_MT") b ON tbl_transaction.id=b.id
28
+ where b.id is null and
29
+ tbl_transaction.time BETWEEN #{startingPeriod} and #{endingPeriod}
30
+ order by tbl_transaction.id desc
31
+ </select>
32
+
33
+ <select id="findForNoMO" parameterType="Date" resultMap="tblTransactionState">
34
+ SELECT a.id, a.time
35
+ from
36
+ tbl_transaction_states a
37
+ where
38
+ a.id not in (select tbl_transaction_states.id from tbl_transaction_states where state = 'DELIVERING_MO') AND
39
+ a.id in (select tbl_transaction_states.id from tbl_transaction_states where state = 'SENT_MT') AND
40
+ a.time BETWEEN #{startingPeriod} and #{endingPeriod}
41
+ GROUP BY id
42
+ order by id DESC
43
+ </select>
44
+
2345 </mapper>
unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml
....@@ -18,6 +18,7 @@
1818 <mapper resource="mybatis/mapper/revenue.xml"/>
1919 <mapper resource="mybatis/mapper/transaction.xml"/>
2020 <mapper resource="mybatis/mapper/transactionStatus.xml"/>
21
+ <mapper resource="mybatis/mapper/monitoringUser.xml"/>
2122 </mappers>
2223
2324 </configuration>
unipin_cms_service/src/main/resources/static/model/UserTrackerModel.js
....@@ -101,7 +101,7 @@
101101 document.getElementById(menu).className = "active";
102102 menuSelected = menu;
103103 document.getElementById("search_type_1").onclick = function () {
104
- renderPurchase(
104
+ renderTrack(
105105 "content",
106106 document.getElementById("period_start").value,
107107 document.getElementById("period_end").value,
unipin_notification_service/pom.xml
....@@ -27,6 +27,12 @@
2727 <version>1.0</version>
2828 </dependency>
2929
30
+ <dependency>
31
+ <groupId>id.co.accessmobile.carrier.billing.unipin</groupId>
32
+ <artifactId>unipin-bot-telegram-service</artifactId>
33
+ <version>1.0</version>
34
+ </dependency>
35
+
3036 </dependencies>
3137 <build>
3238 <plugins>
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/Monitoring.java
....@@ -0,0 +1,42 @@
1
+package id.co.accessmobile.carrier.billing.notificationservice;
2
+
3
+import id.co.accessmobile.carrier.billing.notificationservice.mapper.MonitoringUserMapper;
4
+import id.co.accessmobile.carrier.billing.notificationservice.model.MonitoringUser;
5
+import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.BotManager;
6
+import org.springframework.beans.factory.annotation.Autowired;
7
+import org.springframework.beans.factory.annotation.Value;
8
+import org.springframework.stereotype.Service;
9
+import org.telegram.telegrambots.exceptions.TelegramApiException;
10
+import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
11
+
12
+import javax.annotation.PostConstruct;
13
+
14
+/**
15
+ * Created by Permana on 1/30/2018.
16
+ * Software Enginer
17
+ * Access Mobile Indonesia
18
19
+ */
20
21
+public class Monitoring {
22
+ @Value("${bot.telegram.token}")
23
+ protected String token;
24
+
25
+ @Value("${bot.telegram.username}")
26
+ protected String username;
27
+
28
+ @Autowired
29
+ protected MonitoringUserMapper monitoringUserMapper;
30
+
31
+ @PostConstruct
32
+ public void init() throws TelegramApiRequestException {
33
+ BotManager.init(this.token, this.username);
34
+ }
35
+
36
+ public void sendMessageForTechnical(String message) throws TelegramApiException {
37
+ for(MonitoringUser monitoringUser:monitoringUserMapper.selectForTechnicalUser()){
38
+ BotManager.sendMessage(monitoringUser.getId(),message);
39
+ }
40
+ }
41
+
42
+}
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/mapper/MonitoringUserMapper.java
....@@ -0,0 +1,17 @@
1
+package id.co.accessmobile.carrier.billing.notificationservice.mapper;
2
+
3
+import id.co.accessmobile.carrier.billing.notificationservice.model.MonitoringUser;
4
+import org.apache.ibatis.annotations.Mapper;
5
+
6
+import java.util.List;
7
+
8
+/**
9
+ * Created by Permana on 1/30/2018.
10
+ * Software Enginer
11
+ * Access Mobile Indonesia
12
13
+ */
14
15
+public interface MonitoringUserMapper {
16
+ public List<MonitoringUser> selectForTechnicalUser();
17
+}
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/model/MonitoringUser.java
....@@ -0,0 +1,36 @@
1
+package id.co.accessmobile.carrier.billing.notificationservice.model;
2
+
3
+/**
4
+ * Created by Permana on 1/30/2018.
5
+ * Software Enginer
6
+ * Access Mobile Indonesia
7
8
+ */
9
+public class MonitoringUser {
10
+ protected String id;
11
+ protected String username;
12
+
13
+ public MonitoringUser() {
14
+ }
15
+
16
+ public MonitoringUser(String id, String username) {
17
+ this.id = id;
18
+ this.username = username;
19
+ }
20
+
21
+ public String getId() {
22
+ return id;
23
+ }
24
+
25
+ public void setId(String id) {
26
+ this.id = id;
27
+ }
28
+
29
+ public String getUsername() {
30
+ return username;
31
+ }
32
+
33
+ public void setUsername(String username) {
34
+ this.username = username;
35
+ }
36
+}
unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java
....@@ -3,6 +3,7 @@
33 import com.google.gson.Gson;
44 import id.co.accessmobile.adzanreminder.hutch.model.transaction.SMPPRequestMT;
55 import id.co.accessmobile.adzanreminder.hutch.model.transaction.SMPPResponeMT;
6
+import id.co.accessmobile.carrier.billing.notificationservice.Monitoring;
67 import id.co.accessmobile.carrier.billing.notificationservice.common.util.Http;
78 import id.co.accessmobile.carrier.billing.notificationservice.common.util.MsisdnUtil;
89 import id.co.accessmobile.carrier.billing.notificationservice.mapper.HistoryMtMapper;
....@@ -21,6 +22,7 @@
2122 import org.springframework.beans.factory.annotation.Autowired;
2223 import org.springframework.beans.factory.annotation.Value;
2324 import org.springframework.stereotype.Service;
25
+import org.telegram.telegrambots.exceptions.TelegramApiException;
2426
2527 import javax.annotation.PostConstruct;
2628 import java.net.URLEncoder;
....@@ -32,129 +34,155 @@
3234 @Service
3335 @NoArgsConstructor
3436 public class SMSService {
35
-
36
- private static final String logClass = "SMSService/";
37
- private final Logger log = LoggerFactory.getLogger(SMSService.class);
38
-
39
- @Autowired
40
- Http http;
41
- @Autowired
42
- ServiceProperties serviceProperties;
43
- @Autowired
44
- HistoryMtMapper historyMtMapper;
4537
46
- @Value("${app.trigger.address}")
47
- protected String address;
38
+ private static final String logClass = "SMSService/";
39
+ private final Logger log = LoggerFactory.getLogger(SMSService.class);
4840
49
- protected Publisher publisher;
50
- protected Subscriber subscriber;
51
- protected Gson gson = new Gson();
41
+ @Autowired
42
+ Http http;
43
+ @Autowired
44
+ ServiceProperties serviceProperties;
45
+ @Autowired
46
+ HistoryMtMapper historyMtMapper;
5247
53
- @PostConstruct
54
- public void init(){
55
- this.publisher = new Publisher(this.address);
56
- this.subscriber = new Subscriber(this.address);
57
- }
58
-
59
- public MTResult doSendSMS(MTData mtData) {
60
- String logTitle = logClass+"doSendSMS/"+ mtData.toString() +", ";
61
-
62
- MTResult result = new MTResult();
63
-
64
- try {
65
-
66
- log.info( logTitle + "[Start]");
67
- result = sendMTPush(mtData);
68
-
69
- } catch (Exception e) {
70
- log.warn( "doSendSMS.Exception[" + e.getMessage() + "]["+ mtData +"]");
71
- e.printStackTrace();
72
- result.setErrCode("-99");
73
- result.setErrStr("Error Exception: "+ e.getMessage() );
74
- } finally {
75
-
76
- insertMTHistory(mtData, result);
77
- log.info( logTitle + "[End]");
78
- }
79
-
80
- return result;
81
- }
82
-
83
- public MTResult sendMTPush(MTData mtData) {
84
- MTResult result = new MTResult();
85
- try {
86
- String id = UUID.randomUUID().toString();
87
- SMPPRequestMT requestMT = new SMPPRequestMT(
88
- mtData.getSender(),
89
- MsisdnUtil.addCountryNumber(mtData.getReceiver()),
90
- mtData.getMsg(),
91
- id);
92
- this.subscriber.connect(id);
93
- while (true) {
94
- try {
95
- boolean result2 = this.publisher.publish("SMPP_MT", requestMT, State.CREATE);
96
- } catch (ConnectionDown connectionDown) {
97
- if (this.publisher.reconnect(60, 1000 * 10)) {
98
- this.publisher.publish("SMPP_MT", requestMT, State.CREATE);
99
- } else {
100
- log.warn("sendMTPush.Exception[" + connectionDown + "][" + mtData + "]");
101
- }
102
- }
103
- SMPPResponeMT subscribe = this.subscriber.subscribe(SMPPResponeMT.class);
104
- this.log.info("responseMT=["+this.gson.toJson(subscribe)+"]");
105
- if (!subscribe.isStatus()) {
106
- result.setErrCode("500");
107
- }else{
108
- break;
48
+ @Autowired
49
+ protected Monitoring monitoring;
50
+
51
+ @Value("${app.trigger.address}")
52
+ protected String address;
53
+
54
+ protected Publisher publisher;
55
+ protected Subscriber subscriber;
56
+ protected Gson gson = new Gson();
57
+
58
+ @PostConstruct
59
+ public void init() {
60
+ this.publisher = new Publisher(this.address);
61
+ this.subscriber = new Subscriber(this.address);
62
+ }
63
+
64
+ public MTResult doSendSMS(MTData mtData) {
65
+ String logTitle = logClass + "doSendSMS/" + mtData.toString() + ", ";
66
+
67
+ MTResult result = new MTResult();
68
+
69
+ try {
70
+
71
+ log.info(logTitle + "[Start]");
72
+ result = sendMTPush(mtData);
73
+
74
+ } catch (Exception e) {
75
+ log.warn("doSendSMS.Exception[" + e.getMessage() + "][" + mtData + "]");
76
+ e.printStackTrace();
77
+ result.setErrCode("-99");
78
+ result.setErrStr("Error Exception: " + e.getMessage());
79
+ } finally {
80
+
81
+ insertMTHistory(mtData, result);
82
+ log.info(logTitle + "[End]");
83
+ }
84
+
85
+ return result;
86
+ }
87
+
88
+ public MTResult sendMTPush(MTData mtData) {
89
+ MTResult result = new MTResult();
90
+ try {
91
+ String id = UUID.randomUUID().toString();
92
+ SMPPRequestMT requestMT = new SMPPRequestMT(
93
+ mtData.getSender(),
94
+ MsisdnUtil.addCountryNumber(mtData.getReceiver()),
95
+ mtData.getMsg(),
96
+ id);
97
+ this.subscriber.connect(id);
98
+ while (true) {
99
+ try {
100
+ boolean result2 = this.publisher.publish("SMPP_MT", requestMT, State.CREATE);
101
+ } catch (ConnectionDown connectionDown) {
102
+ monitoring.sendMessageForTechnical(
103
+ "ERROR\n" +
104
+ "NOTIFICATION Service [SMSService] \n" +
105
+ "trigger connection down");
106
+ if (this.publisher.reconnect(60, 1000 * 10)) {
107
+ this.publisher.publish("SMPP_MT", requestMT, State.CREATE);
108
+ } else {
109
+ monitoring.sendMessageForTechnical(
110
+ "ERROR\n" +
111
+ "NOTIFICATION Service [SMSService] \n" +
112
+ "trigger connection down again");
113
+ log.warn("sendMTPush.Exception[" + connectionDown + "][" + mtData + "]");
114
+ }
109115 }
110
- }
111
- } catch (Exception e) {
112
- log.warn( "sendMTPush.Exception[" + e.getMessage() + "]["+ mtData +"]");
113
- e.printStackTrace();
114
- }
115
- log.info( "sendMPush/ErrCode[" + result.getErrCode() + "], ErrMsg[" + result.getErrStr() + "]");
116
- return result;
117
- }
118
-
119
- private static final SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");
120
-
121
- private void insertMTHistory(MTData mtData, MTResult result ) {
122
- // Insert MT History
123
- int rslt = 0;
124
- try {
125
- HistoryMT historyMT = new HistoryMT();
126
-
127
- historyMT.setSender(mtData.getSender());
128
- historyMT.setReceiver(mtData.getReceiver());
129
- historyMT.setType("2"); // Type [1:MO, 2:MT]
130
- historyMT.setMsg(mtData.getMsg());
131
- historyMT.setRslt( isResultSuccess(result) );
132
- historyMT.setTrxId(mtData.getTrxId());
133
- historyMT.setChannel(mtData.getChannel());
134
- historyMT.setAction(mtData.getAction());
135
- historyMT.setSid(mtData.getSid());
136
- historyMT.setResponse( result == null ? "null" : result.getErrStr() );
137
- historyMT.setTrxDt( (new SimpleDateFormat("yyyyMMddHHmmss")).format( System.currentTimeMillis() ) );
138
-
139
- // rslt = historyMtMapper.insertHistory( historyMT.getChannel(), df.format(System.currentTimeMillis()), historyMT.getSender(), historyMT.getReceiver(), historyMT.getSid(), historyMT.getResponse(), historyMT.getMsg(), historyMT.getRslt(), historyMT.getAction()) ;
140
- rslt = historyMtMapper.insertHistory( historyMT );
141
-
142
- } catch (Exception e) {
143
- log.warn( "insertMTHistory.Exception[" + e.getMessage() + "]["+ mtData +"]["+ result +"]");
144
- e.printStackTrace();
145
- }
146
-
147
- log.warn( "insertMTHistory[" + rslt + "]["+ mtData +"]["+ result +"]");
148
- }
149
-
150
- private static final String isResultSuccess (MTResult result) {
151
- try {
152
- if ( result.getErrCode().equals("0") ) return Result.SUCCESS;
153
- } catch (Exception e) {
154
- e.printStackTrace();
155
- }
156
- return Result.FAILURE;
157
- }
158
-
159
-
116
+ SMPPResponeMT subscribe = this.subscriber.subscribe(SMPPResponeMT.class, 1000 * 10);
117
+ this.log.info("responseMT=[" + subscribe == null ? "null" : this.gson.toJson(subscribe) + "]");
118
+ if (subscribe == null || !subscribe.isStatus()) {
119
+ monitoring.sendMessageForTechnical(
120
+ "ERROR\n" +
121
+ "NOTIFICATION Service [SMSService] \n" +
122
+ "response publish mt\n" +
123
+ subscribe == null ? "null" : this.gson.toJson(subscribe));
124
+ result.setErrCode("500");
125
+ }
126
+ break;
127
+
128
+ }
129
+ } catch (Exception e) {
130
+ try {
131
+ monitoring.sendMessageForTechnical(
132
+ "ERROR\n" +
133
+ "NOTIFICATION Service [SMSService]\n" +
134
+ "sendMTPush.Exception[" + e.getMessage() + "][" + mtData + "]");
135
+ } catch (TelegramApiException e1) {
136
+ e1.printStackTrace();
137
+ }
138
+ result.setErrCode("500");
139
+
140
+ log.warn("sendMTPush.Exception[" + e.getMessage() + "][" + mtData + "]");
141
+ e.printStackTrace();
142
+ }
143
+ log.info("sendMPush/ErrCode[" + result.getErrCode() + "], ErrMsg[" + result.getErrStr() + "]");
144
+ return result;
145
+ }
146
+
147
+ private static final SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");
148
+
149
+ private void insertMTHistory(MTData mtData, MTResult result) {
150
+ // Insert MT History
151
+ int rslt = 0;
152
+ try {
153
+ HistoryMT historyMT = new HistoryMT();
154
+
155
+ historyMT.setSender(mtData.getSender());
156
+ historyMT.setReceiver(mtData.getReceiver());
157
+ historyMT.setType("2"); // Type [1:MO, 2:MT]
158
+ historyMT.setMsg(mtData.getMsg());
159
+ historyMT.setRslt(isResultSuccess(result));
160
+ historyMT.setTrxId(mtData.getTrxId());
161
+ historyMT.setChannel(mtData.getChannel());
162
+ historyMT.setAction(mtData.getAction());
163
+ historyMT.setSid(mtData.getSid());
164
+ historyMT.setResponse(result == null ? "null" : result.getErrStr());
165
+ historyMT.setTrxDt((new SimpleDateFormat("yyyyMMddHHmmss")).format(System.currentTimeMillis()));
166
+
167
+ // rslt = historyMtMapper.insertHistory( historyMT.getChannel(), df.format(System.currentTimeMillis()), historyMT.getSender(), historyMT.getReceiver(), historyMT.getSid(), historyMT.getResponse(), historyMT.getMsg(), historyMT.getRslt(), historyMT.getAction()) ;
168
+ rslt = historyMtMapper.insertHistory(historyMT);
169
+
170
+ } catch (Exception e) {
171
+ log.warn("insertMTHistory.Exception[" + e.getMessage() + "][" + mtData + "][" + result + "]");
172
+ e.printStackTrace();
173
+ }
174
+
175
+ log.warn("insertMTHistory[" + rslt + "][" + mtData + "][" + result + "]");
176
+ }
177
+
178
+ private static final String isResultSuccess(MTResult result) {
179
+ try {
180
+ if (result.getErrCode().equals("0")) return Result.SUCCESS;
181
+ } catch (Exception e) {
182
+ e.printStackTrace();
183
+ }
184
+ return Result.FAILURE;
185
+ }
186
+
187
+
160188 }
unipin_notification_service/src/main/resources/application-dev.properties
....@@ -29,4 +29,8 @@
2929
3030 legacy.http.client.conn.timeout=10
3131
32
-app.trigger.address=tcp://localhost:59696
32
+app.trigger.address=tcp://localhost:59696
33
+
34
+
35
+bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
36
+bot.telegram.username=ami_unipin_bot
unipin_notification_service/src/main/resources/application-prod.properties
....@@ -31,4 +31,8 @@
3131
3232
3333 app.trigger.address=tcp://172.31.0.73:9696
34
-#app.trigger.address=tcp://localhost:59696
34
+#app.trigger.address=tcp://localhost:59696
35
+
36
+
37
+bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
38
+bot.telegram.username=ami_unipin_bot
unipin_notification_service/src/main/resources/mybatis/mapper/MonitoringUser.xml
....@@ -0,0 +1,22 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+
4
+<mapper namespace="id.co.accessmobile.carrier.billing.notificationservice.mapper.MonitoringUserMapper">
5
+
6
+ <resultMap id="user" type="id.co.accessmobile.carrier.billing.notificationservice.model.MonitoringUser">
7
+ <result property="id" column="id"/>
8
+ <result property="username" column="user_name"/>
9
+ </resultMap>
10
+
11
+ <select id="selectForTechnicalUser" resultMap="user">
12
+ SELECT
13
+ user.id,
14
+ user.user_name
15
+ FROM
16
+ db_unipin_cs_tools.tbl_monitoring_user as user ,
17
+ db_unipin_cs_tools.tbl_monitoring_user_rules as rules
18
+ WHERE
19
+ user.id=rules.id AND
20
+ rules.rule='TECHNICAL'
21
+ </select>
22
+</mapper>
unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml
....@@ -17,6 +17,7 @@
1717 <mapper resource="mybatis/mapper/transaction.xml"/>
1818 <mapper resource="mybatis/mapper/transactionStatus.xml"/>
1919 <mapper resource="mybatis/mapper/ChargeRequestStoreMapper.xml"/>
20
+ <mapper resource="mybatis/mapper/MonitoringUser.xml"/>
2021 </mappers>
2122
2223 </configuration>
unipin_notification_service/unipin-notification-service.iml
....@@ -71,10 +71,39 @@
7171 <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.0.33" level="project" />
7272 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-validation:1.3.5.RELEASE" level="project" />
7373 <orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.2.4.Final" level="project" />
74
- <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
7574 <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.1.0" level="project" />
7675 <orderEntry type="library" name="Maven: org.springframework:spring-web:4.2.6.RELEASE" level="project" />
7776 <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.2.6.RELEASE" level="project" />
77
+ <orderEntry type="module" module-name="unipin_bot_telegram_service" />
78
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
79
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
80
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
81
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
82
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.6.6" level="project" />
83
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.6.6" level="project" />
84
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.6.6" level="project" />
85
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.22.2" level="project" />
86
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.22.2" level="project" />
87
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.22.2" level="project" />
88
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
89
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.22.2" level="project" />
90
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
91
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
92
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
93
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
94
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
95
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
96
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.22.2" level="project" />
97
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.22.2" level="project" />
98
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.22.2" level="project" />
99
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
100
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.4.0-b34" level="project" />
101
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.4.0-b34" level="project" />
102
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.4.0-b34" level="project" />
103
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.4.0-b34" level="project" />
104
+ <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
105
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.2" level="project" />
106
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
78107 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
79108 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
80109 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
unipin_result_service/pom.xml
....@@ -26,6 +26,12 @@
2626 <artifactId>json</artifactId>
2727 <version>20160810</version>
2828 </dependency>
29
+
30
+ <dependency>
31
+ <groupId>id.co.accessmobile.carrier.billing.unipin</groupId>
32
+ <artifactId>unipin-bot-telegram-service</artifactId>
33
+ <version>1.0</version>
34
+ </dependency>
2935 </dependencies>
3036
3137 <build>
unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/Monitoring.java
....@@ -0,0 +1,42 @@
1
+package id.co.accessmobile.carrier.biling.resultservice;
2
+
3
+import id.co.accessmobile.carrier.biling.resultservice.mapper.MonitoringUserMapper;
4
+import id.co.accessmobile.carrier.biling.resultservice.model.MonitoringUser;
5
+import id.co.accessmobile.carrier.billing.unipin.bot.telegram.service.BotManager;
6
+import org.springframework.beans.factory.annotation.Autowired;
7
+import org.springframework.beans.factory.annotation.Value;
8
+import org.springframework.stereotype.Service;
9
+import org.telegram.telegrambots.exceptions.TelegramApiException;
10
+import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
11
+
12
+import javax.annotation.PostConstruct;
13
+
14
+/**
15
+ * Created by Permana on 1/30/2018.
16
+ * Software Enginer
17
+ * Access Mobile Indonesia
18
19
+ */
20
21
+public class Monitoring {
22
+ @Value("${bot.telegram.token}")
23
+ protected String token;
24
+
25
+ @Value("${bot.telegram.username}")
26
+ protected String username;
27
+
28
+ @Autowired
29
+ protected MonitoringUserMapper monitoringUserMapper;
30
+
31
+ @PostConstruct
32
+ public void init() throws TelegramApiRequestException {
33
+ BotManager.init(this.token, this.username);
34
+ }
35
+
36
+ public void sendMessageForTechnical(String message) throws TelegramApiException {
37
+ for(MonitoringUser monitoringUser:monitoringUserMapper.selectForTechnicalUser()){
38
+ BotManager.sendMessage(monitoringUser.getId(),message);
39
+ }
40
+ }
41
+
42
+}
unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/mapper/MonitoringUserMapper.java
....@@ -0,0 +1,17 @@
1
+package id.co.accessmobile.carrier.biling.resultservice.mapper;
2
+
3
+import id.co.accessmobile.carrier.biling.resultservice.model.MonitoringUser;
4
+import org.apache.ibatis.annotations.Mapper;
5
+
6
+import java.util.List;
7
+
8
+/**
9
+ * Created by Permana on 1/30/2018.
10
+ * Software Enginer
11
+ * Access Mobile Indonesia
12
13
+ */
14
15
+public interface MonitoringUserMapper {
16
+ public List<MonitoringUser> selectForTechnicalUser();
17
+}
unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/model/MonitoringUser.java
....@@ -0,0 +1,36 @@
1
+package id.co.accessmobile.carrier.biling.resultservice.model;
2
+
3
+/**
4
+ * Created by Permana on 1/30/2018.
5
+ * Software Enginer
6
+ * Access Mobile Indonesia
7
8
+ */
9
+public class MonitoringUser {
10
+ protected String id;
11
+ protected String username;
12
+
13
+ public MonitoringUser() {
14
+ }
15
+
16
+ public MonitoringUser(String id, String username) {
17
+ this.id = id;
18
+ this.username = username;
19
+ }
20
+
21
+ public String getId() {
22
+ return id;
23
+ }
24
+
25
+ public void setId(String id) {
26
+ this.id = id;
27
+ }
28
+
29
+ public String getUsername() {
30
+ return username;
31
+ }
32
+
33
+ public void setUsername(String username) {
34
+ this.username = username;
35
+ }
36
+}
unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/service/LineCallbackService.java
....@@ -1,6 +1,7 @@
11 package id.co.accessmobile.carrier.biling.resultservice.service;
22
33 import com.fasterxml.jackson.databind.ObjectMapper;
4
+import id.co.accessmobile.carrier.biling.resultservice.Monitoring;
45 import id.co.accessmobile.carrier.biling.resultservice.common.exception.StackTrace;
56 import id.co.accessmobile.carrier.biling.resultservice.common.util.MsisdnUtil;
67 import id.co.accessmobile.carrier.biling.resultservice.properties.ILineData;
....@@ -13,6 +14,7 @@
1314 import org.slf4j.LoggerFactory;
1415 import org.springframework.beans.factory.annotation.Autowired;
1516 import org.springframework.stereotype.Service;
17
+import org.telegram.telegrambots.exceptions.TelegramApiException;
1618
1719 import java.io.*;
1820 import java.net.HttpURLConnection;
....@@ -34,6 +36,9 @@
3436
3537 @Autowired
3638 private HttpAsyncService httpSvc;
39
+
40
+ @Autowired
41
+ protected Monitoring monitoring;
3742
3843 public int callback(String msisdn, String trxId, int errCode, String errRes) {
3944 String logTitle = "responseCallback/Msisdn[" + msisdn + "], TrxId[" + trxId + "], ErrCode[" + errCode + "], ErrRes[" + errRes + "], ";
....@@ -83,6 +88,15 @@
8388
8489 iResponse = responseMap.get("result").equalsIgnoreCase("SUCCESS") ? 1 : 0;
8590 } catch (Exception e) {
91
+ try {
92
+ this.monitoring.sendMessageForTechnical("" +
93
+ "ERROR\n" +
94
+ "RESULT Service [LineCallBackService]\n"+
95
+ e.getMessage()+"\n" +
96
+ e.getLocalizedMessage());
97
+ } catch (TelegramApiException e1) {
98
+ e1.printStackTrace();
99
+ }
86100 log.warn(logTitle + StackTrace.getStackTrace(e));
87101 iResponse = 0;
88102 }
unipin_result_service/src/main/resources/application.properties
....@@ -34,3 +34,7 @@
3434 line.callback.rc.url=https://payment.unipin.co.id/gam/index/callback
3535 line.callback.product.url=https://payment.unipin.co.id/gam/index/callback
3636
37
+bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
38
+bot.telegram.username=ami_unipin_bot
39
+
40
+
unipin_result_service/src/main/resources/mybatis/mapper/MonitoringUser.xml
....@@ -0,0 +1,22 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+
4
+<mapper namespace="id.co.accessmobile.carrier.biling.resultservice.mapper.MonitoringUserMapper">
5
+
6
+ <resultMap id="user" type="id.co.accessmobile.carrier.biling.resultservice.model.MonitoringUser">
7
+ <result property="id" column="id"/>
8
+ <result property="username" column="user_name"/>
9
+ </resultMap>
10
+
11
+ <select id="selectForTechnicalUser" resultMap="user">
12
+ SELECT
13
+ user.id,
14
+ user.user_name
15
+ FROM
16
+ db_unipin_cs_tools.tbl_monitoring_user as user ,
17
+ db_unipin_cs_tools.tbl_monitoring_user_rules as rules
18
+ WHERE
19
+ user.id=rules.id AND
20
+ rules.rule='TECHNICAL'
21
+ </select>
22
+</mapper>
unipin_result_service/src/main/resources/mybatis/mybatis-config.xml
....@@ -12,6 +12,7 @@
1212 <mappers>
1313 <mapper resource="mybatis/mapper/TestMapper.xml"/>
1414 <mapper resource="mybatis/mapper/QueueResultMapper.xml"/>
15
+ <mapper resource="mybatis/mapper/MonitoringUser.xml"/>
1516 </mappers>
1617
1718 </configuration>
unipin_result_service/unipin-result-service.iml
....@@ -22,6 +22,36 @@
2222 <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.3.5.RELEASE" level="project" />
2323 <orderEntry type="module" module-name="unipin-model" />
2424 <orderEntry type="library" name="Maven: org.json:json:20160810" level="project" />
25
+ <orderEntry type="module" module-name="unipin_bot_telegram_service" />
26
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots:3.5" level="project" />
27
+ <orderEntry type="library" name="Maven: org.telegram:telegrambots-meta:3.5" level="project" />
28
+ <orderEntry type="library" name="Maven: com.google.inject:guice:4.1.0" level="project" />
29
+ <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
30
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.6.6" level="project" />
31
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.6.6" level="project" />
32
+ <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.6.6" level="project" />
33
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-json-jackson:2.22.2" level="project" />
34
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-common:2.22.2" level="project" />
35
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.bundles.repackaged:jersey-guava:2.22.2" level="project" />
36
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:osgi-resource-locator:1.0.1" level="project" />
37
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.ext:jersey-entity-filtering:2.22.2" level="project" />
38
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.25.1" level="project" />
39
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:javax.inject:2.5.0-b32" level="project" />
40
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http-server:2.3.28" level="project" />
41
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-http:2.3.28" level="project" />
42
+ <orderEntry type="library" name="Maven: org.glassfish.grizzly:grizzly-framework:2.3.28" level="project" />
43
+ <orderEntry type="library" name="Maven: javax.ws.rs:javax.ws.rs-api:2.0.1" level="project" />
44
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-server:2.22.2" level="project" />
45
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.core:jersey-client:2.22.2" level="project" />
46
+ <orderEntry type="library" name="Maven: org.glassfish.jersey.media:jersey-media-jaxb:2.22.2" level="project" />
47
+ <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
48
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-api:2.4.0-b34" level="project" />
49
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-utils:2.4.0-b34" level="project" />
50
+ <orderEntry type="library" name="Maven: org.glassfish.hk2.external:aopalliance-repackaged:2.4.0-b34" level="project" />
51
+ <orderEntry type="library" name="Maven: org.glassfish.hk2:hk2-locator:2.4.0-b34" level="project" />
52
+ <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
53
+ <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.2" level="project" />
54
+ <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
2555 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
2656 <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
2757 <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />