Permana
2018-02-02 08bfe81e4a32e31a589d56b09d3095ad9c314878
add restart,stop,start api unipin
add check process run
reconfig sql
12 files modified
1290 ■■■■ changed files
.idea/compiler.xml 1 ●●●● patch | view | raw | blame | history
.idea/encodings.xml 1 ●●●● patch | view | raw | blame | history
.idea/misc.xml 5 ●●●●● patch | view | raw | blame | history
.idea/workspace.xml 919 ●●●● patch | view | raw | blame | history
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java 6 ●●●● patch | view | raw | blame | history
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java 2 ●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java 2 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java 264 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/application.properties 16 ●●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml 72 ●●●● patch | view | raw | blame | history
unipin_cms_service/src/main/resources/static/images/h3i.png patch | view | raw | blame | history
unipin_cms_service/src/main/resources/templates/index.html 2 ●●● patch | view | raw | blame | history
.idea/compiler.xml
....@@ -20,6 +20,7 @@
2020 </profile>
2121 </annotationProcessing>
2222 <bytecodeTargetLevel>
23
+ <module name="exec" target="1.8" />
2324 <module name="unipin" target="1.8" />
2425 <module name="unipin-api-service" target="1.8" />
2526 <module name="unipin-bgw-service" target="1.8" />
.idea/encodings.xml
....@@ -2,6 +2,7 @@
22 <project version="4">
33 <component name="Encoding">
44 <file url="file://$PROJECT_DIR$" charset="UTF-8" />
5
+ <file url="file://$PROJECT_DIR$/exec" charset="UTF-8" />
56 <file url="file://$PROJECT_DIR$/unipin_api_service" charset="UTF-8" />
67 <file url="file://$PROJECT_DIR$/unipin_bgw_service" charset="UTF-8" />
78 <file url="file://$PROJECT_DIR$/unipin_bot_telegram_service" charset="UTF-8" />
.idea/misc.xml
....@@ -6,6 +6,11 @@
66 <option value="$PROJECT_DIR$/pom.xml" />
77 </list>
88 </option>
9
+ <option name="ignoredFiles">
10
+ <set>
11
+ <option value="$PROJECT_DIR$/exec/pom.xml" />
12
+ </set>
13
+ </option>
914 </component>
1015 <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK">
1116 <output url="file://$PROJECT_DIR$/classes" />
.idea/workspace.xml
....@@ -2,7 +2,18 @@
22 <project version="4">
33 <component name="ChangeListManager">
44 <list default="true" id="70370646-8d4c-4a2f-aaa5-97ff82c7c590" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/images/h3i.png" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/resources/static/images/h3i.png" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/compiler.xml" afterPath="$PROJECT_DIR$/.idea/compiler.xml" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/encodings.xml" afterPath="$PROJECT_DIR$/.idea/encodings.xml" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
59 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
10
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java" afterPath="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java" />
11
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java" afterPath="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java" />
12
+ <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" />
13
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java" afterPath="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java" />
14
+ <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" />
15
+ <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" />
16
+ <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" />
617 </list>
718 <ignored path="$PROJECT_DIR$/unipin_bgw_service/target/" />
819 <ignored path="$PROJECT_DIR$/target/" />
....@@ -16,6 +27,7 @@
1627 <ignored path="$PROJECT_DIR$/unipin_charge_service/target/" />
1728 <ignored path="$PROJECT_DIR$/unipin_request_service/target/" />
1829 <ignored path="$PROJECT_DIR$/unipin_bot_telegram_service/target/" />
30
+ <ignored path="$PROJECT_DIR$/exec/target/" />
1931 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
2032 <option name="TRACKING_ENABLED" value="true" />
2133 <option name="SHOW_DIALOG" value="false" />
....@@ -32,84 +44,53 @@
3244 </component>
3345 <component name="FileEditorManager">
3446 <leaf SIDE_TABS_SIZE_LIMIT_KEY="450">
35
- <file leaf-file-name="Monitoring.java" pinned="false" current-in-tab="false">
36
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java">
37
- <provider selected="true" editor-type-id="text-editor">
38
- <state relative-caret-position="561">
39
- <caret line="46" column="48" lean-forward="false" selection-start-line="46" selection-start-column="48" selection-end-line="46" selection-end-column="48" />
40
- <folding>
41
- <element signature="imports" expanded="true" />
42
- </folding>
43
- </state>
44
- </provider>
45
- </entry>
46
- </file>
47
- <file leaf-file-name="MonitoringUserMapper.java" pinned="false" current-in-tab="false">
48
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java">
49
- <provider selected="true" editor-type-id="text-editor">
50
- <state relative-caret-position="480">
51
- <caret line="24" column="53" lean-forward="false" selection-start-line="24" selection-start-column="53" selection-end-line="24" selection-end-column="53" />
52
- <folding />
53
- </state>
54
- </provider>
55
- </entry>
56
- </file>
57
- <file leaf-file-name="SMSService.java" pinned="false" current-in-tab="false">
58
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java">
59
- <provider selected="true" editor-type-id="text-editor">
60
- <state relative-caret-position="234">
61
- <caret line="164" column="82" lean-forward="false" selection-start-line="164" selection-start-column="81" selection-end-line="164" selection-end-column="82" />
62
- <folding />
63
- </state>
64
- </provider>
65
- </entry>
66
- </file>
67
- <file leaf-file-name="MonitoringService.java" pinned="false" current-in-tab="false">
47
+ <file leaf-file-name="MonitoringService.java" pinned="false" current-in-tab="true">
6848 <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java">
6949 <provider selected="true" editor-type-id="text-editor">
70
- <state relative-caret-position="234">
71
- <caret line="66" column="57" lean-forward="false" selection-start-line="66" selection-start-column="57" selection-end-line="66" selection-end-column="57" />
50
+ <state relative-caret-position="378">
51
+ <caret line="314" column="51" lean-forward="false" selection-start-line="314" selection-start-column="51" selection-end-line="314" selection-end-column="51" />
7252 <folding>
7353 <element signature="imports" expanded="true" />
74
- <element signature="method#checkMTStuck#0;class#MonitoringService#0" expanded="false" />
75
- <element signature="method#checkMOStuck#0;class#MonitoringService#0" expanded="false" />
7654 </folding>
7755 </state>
7856 </provider>
7957 </entry>
8058 </file>
81
- <file leaf-file-name="application-prod.properties" pinned="false" current-in-tab="true">
82
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties">
59
+ <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
60
+ <entry file="file://$PROJECT_DIR$/unipin_request_service/pom.xml">
8361 <provider selected="true" editor-type-id="text-editor">
84
- <state relative-caret-position="1026">
85
- <caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
62
+ <state relative-caret-position="918">
63
+ <caret line="34" column="12" lean-forward="false" selection-start-line="19" selection-start-column="3" selection-end-line="34" selection-end-column="12" />
8664 <folding />
8765 </state>
8866 </provider>
8967 </entry>
9068 </file>
91
- <file leaf-file-name="monitoringUser.xml" pinned="false" current-in-tab="false">
92
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml">
69
+ <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
70
+ <entry file="file://$PROJECT_DIR$/pom.xml">
9371 <provider selected="true" editor-type-id="text-editor">
94
- <state relative-caret-position="352">
95
- <caret line="44" column="25" lean-forward="false" selection-start-line="44" selection-start-column="25" selection-end-line="44" selection-end-column="25" />
96
- <folding>
97
- <marker date="1517481986212" expanded="true" signature="570:834" ph="SELECT user.... tbl_monitoring_user" />
98
- <marker date="1517481986212" expanded="true" signature="912:1160" ph="SELECT user.... tbl_monitoring_user" />
99
- <marker date="1517481986212" expanded="true" signature="1239:1340" ph="INSERT INTO tbl_monitoring_user" />
100
- <marker date="1517481986212" expanded="true" signature="1437:1526" ph="INSERT INTO tbl_monitoring_user" />
101
- <marker date="1517481986212" expanded="true" signature="1615:1743" ph="SELECT id FR... tbl_monitoring_user_rules" />
102
- <marker date="1517481986212" expanded="true" signature="1834:1882" ph="SELECT * fro... tbl_monitoring_user" />
103
- </folding>
72
+ <state relative-caret-position="162">
73
+ <caret line="21" column="52" lean-forward="false" selection-start-line="21" selection-start-column="52" selection-end-line="21" selection-end-column="52" />
74
+ <folding />
10475 </state>
10576 </provider>
10677 </entry>
10778 </file>
108
- <file leaf-file-name="application-dev.properties" pinned="false" current-in-tab="false">
109
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties">
79
+ <file leaf-file-name="index.html" pinned="false" current-in-tab="false">
80
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/templates/index.html">
11081 <provider selected="true" editor-type-id="text-editor">
111
- <state relative-caret-position="606">
112
- <caret line="36" column="0" lean-forward="false" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
82
+ <state relative-caret-position="1323">
83
+ <caret line="49" column="57" lean-forward="false" selection-start-line="49" selection-start-column="57" selection-end-line="49" selection-end-column="57" />
84
+ <folding />
85
+ </state>
86
+ </provider>
87
+ </entry>
88
+ </file>
89
+ <file leaf-file-name="Bot.java" pinned="false" current-in-tab="false">
90
+ <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java">
91
+ <provider selected="true" editor-type-id="text-editor">
92
+ <state relative-caret-position="1188">
93
+ <caret line="47" column="0" lean-forward="false" selection-start-line="47" selection-start-column="0" selection-end-line="47" selection-end-column="0" />
11394 <folding />
11495 </state>
11596 </provider>
....@@ -118,17 +99,31 @@
11899 <file leaf-file-name="transactionStatus.xml" pinned="false" current-in-tab="false">
119100 <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml">
120101 <provider selected="true" editor-type-id="text-editor">
121
- <state relative-caret-position="648">
122
- <caret line="24" column="8" lean-forward="false" selection-start-line="24" selection-start-column="8" selection-end-line="29" selection-end-column="40" />
102
+ <state relative-caret-position="2511">
103
+ <caret line="93" column="0" lean-forward="false" selection-start-line="93" selection-start-column="0" selection-end-line="93" selection-end-column="0" />
123104 <folding>
124
- <marker date="1517477417319" expanded="true" signature="798:951" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction_states... " />
125
- <marker date="1517477417319" expanded="true" signature="1058:1128" ph="SELECT * fro... tbl_transaction_states" />
126
- <marker date="1517477417319" expanded="true" signature="1236:1583" ph="select tbl_t... tbl_transaction" />
127
- <marker date="1517477417319" expanded="true" signature="1310:1405" ph="select id fr... tbl_transaction_states" />
128
- <marker date="1517477417319" expanded="true" signature="1690:2115" ph="SELECT a.id,... tbl_transaction_states" />
129
- <marker date="1517477417319" expanded="true" signature="1799:1889" ph="select tbl_t... tbl_transaction_states" />
130
- <marker date="1517477417319" expanded="true" signature="1916:2000" ph="select tbl_t... tbl_transaction_states" />
105
+ <marker date="1517542402439" expanded="true" signature="798:951" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction_states... " />
106
+ <marker date="1517542402439" expanded="true" signature="1058:1128" ph="SELECT * fro... tbl_transaction_states" />
107
+ <marker date="1517542402439" expanded="true" signature="1236:1939" ph="select tbl_t... tbl_transaction" />
108
+ <marker date="1517542402439" expanded="true" signature="1370:1770" ph="select tbl_t... tbl_transaction_states" />
109
+ <marker date="1517542402439" expanded="true" signature="1481:1576" ph="select id fr... tbl_transaction_states" />
110
+ <marker date="1517542402439" expanded="true" signature="2046:2739" ph="SELECT a.id,... tbl_transaction_states" />
111
+ <marker date="1517542402439" expanded="true" signature="2180:2570" ph="select tbl_t... tbl_transaction_states" />
112
+ <marker date="1517542402439" expanded="true" signature="2291:2379" ph="select id fr... tbl_transaction_states" />
113
+ <marker date="1517542402439" expanded="true" signature="2848:3542" ph="select a.id,... tbl_transaction" />
114
+ <marker date="1517542402439" expanded="true" signature="2980:3373" ph="select tbl_t... tbl_transaction_states" />
115
+ <marker date="1517542402439" expanded="true" signature="3087:3169" ph="select id fr... tbl_transaction_states" />
131116 </folding>
117
+ </state>
118
+ </provider>
119
+ </entry>
120
+ </file>
121
+ <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
122
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties">
123
+ <provider selected="true" editor-type-id="text-editor">
124
+ <state relative-caret-position="108">
125
+ <caret line="4" column="0" lean-forward="false" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="24" />
126
+ <folding />
132127 </state>
133128 </provider>
134129 </entry>
....@@ -136,8 +131,8 @@
136131 <file leaf-file-name="TransactionStateRepository.java" pinned="false" current-in-tab="false">
137132 <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java">
138133 <provider selected="true" editor-type-id="text-editor">
139
- <state relative-caret-position="432">
140
- <caret line="22" column="38" lean-forward="false" selection-start-line="22" selection-start-column="38" selection-end-line="22" selection-end-column="38" />
134
+ <state relative-caret-position="486">
135
+ <caret line="24" column="51" lean-forward="false" selection-start-line="24" selection-start-column="51" selection-end-line="24" selection-end-column="51" />
141136 <folding />
142137 </state>
143138 </provider>
....@@ -168,9 +163,13 @@
168163 <find>monitoring</find>
169164 <find>user_st</find>
170165 <find>sendMessageForTechnical</find>
166
+ <find>orders[1]</find>
167
+ <find>reqeustFileStoping</find>
171168 </findStrings>
172169 <replaceStrings>
173170 <replace />
171
+ <replace>service</replace>
172
+ <replace>requestFileStoping</replace>
174173 </replaceStrings>
175174 <dirStrings>
176175 <dir>C:\AMCloud\Project\CARRIER BILLING\UNIPIN\unipin\unipin_mo_service</dir>
....@@ -198,11 +197,6 @@
198197 <component name="IdeDocumentHistory">
199198 <option name="CHANGED_PATHS">
200199 <list>
201
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/templates/index.html" />
202
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/Activity.java" />
203
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/UserTrack.java" />
204
- <option value="$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/entity/TblTransactionStates.java" />
205
- <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java" />
206200 <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Application.java" />
207201 <option value="$PROJECT_DIR$/unipin_charge_service/pom.xml" />
208202 <option value="$PROJECT_DIR$/unipin_charge_service/src/main/resources/application.properties" />
....@@ -220,7 +214,6 @@
220214 <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml" />
221215 <option value="$PROJECT_DIR$/unipin_result_service/src/main/resources/mybatis/mybatis-config.xml" />
222216 <option value="$PROJECT_DIR$/unipin_notification_service/pom.xml" />
223
- <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java" />
224217 <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties" />
225218 <option value="$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties" />
226219 <option value="$PROJECT_DIR$/unipin_result_service/src/main/resources/application.properties" />
....@@ -240,14 +233,20 @@
240233 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/model/MonitoringUser.java" />
241234 <option value="$PROJECT_DIR$/unipin_cms_service/pom.xml" />
242235 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Monitoring.java" />
243
- <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties" />
244236 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/Application.java" />
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/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java" />
247237 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mybatis-config.xml" />
248238 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java" />
249239 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java" />
250240 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml" />
241
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java" />
242
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml" />
243
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties" />
244
+ <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java" />
245
+ <option value="$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java" />
246
+ <option value="$PROJECT_DIR$/unipin_cms_service/src/main/resources/templates/index.html" />
247
+ <option value="$PROJECT_DIR$/exec/src/main/java/test/Main.java" />
248
+ <option value="$PROJECT_DIR$/exec/pom.xml" />
249
+ <option value="$PROJECT_DIR$/pom.xml" />
251250 <option value="$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java" />
252251 </list>
253252 </option>
....@@ -267,6 +266,30 @@
267266 </component>
268267 <component name="MavenProjectNavigator">
269268 <treeState>
269
+ <PATH>
270
+ <PATH_ELEMENT>
271
+ <option name="myItemId" value="" />
272
+ <option name="myItemType" value="org.jetbrains.idea.maven.navigator.MavenProjectsStructure$RootNode" />
273
+ </PATH_ELEMENT>
274
+ <PATH_ELEMENT>
275
+ <option name="myItemId" value="unipin-cms-service" />
276
+ <option name="myItemType" value="org.jetbrains.idea.maven.navigator.MavenProjectsStructure$ProjectNode" />
277
+ </PATH_ELEMENT>
278
+ </PATH>
279
+ <PATH>
280
+ <PATH_ELEMENT>
281
+ <option name="myItemId" value="" />
282
+ <option name="myItemType" value="org.jetbrains.idea.maven.navigator.MavenProjectsStructure$RootNode" />
283
+ </PATH_ELEMENT>
284
+ <PATH_ELEMENT>
285
+ <option name="myItemId" value="unipin-cms-service" />
286
+ <option name="myItemType" value="org.jetbrains.idea.maven.navigator.MavenProjectsStructure$ProjectNode" />
287
+ </PATH_ELEMENT>
288
+ <PATH_ELEMENT>
289
+ <option name="myItemId" value="Lifecycle" />
290
+ <option name="myItemType" value="org.jetbrains.idea.maven.navigator.MavenProjectsStructure$LifecycleNode" />
291
+ </PATH_ELEMENT>
292
+ </PATH>
270293 <PATH>
271294 <PATH_ELEMENT>
272295 <option name="myItemId" value="" />
....@@ -318,8 +341,7 @@
318341 <foldersAlwaysOnTop value="true" />
319342 </navigator>
320343 <panes>
321
- <pane id="Scope" />
322
- <pane id="Scratches" />
344
+ <pane id="PackagesPane" />
323345 <pane id="ProjectPane">
324346 <subPane>
325347 <PATH>
....@@ -342,379 +364,14 @@
342364 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
343365 </PATH_ELEMENT>
344366 <PATH_ELEMENT>
345
- <option name="myItemId" value="unipin_notification_service" />
346
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
347
- </PATH_ELEMENT>
348
- </PATH>
349
- <PATH>
350
- <PATH_ELEMENT>
351
- <option name="myItemId" value="unipin" />
352
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
353
- </PATH_ELEMENT>
354
- <PATH_ELEMENT>
355
- <option name="myItemId" value="unipin" />
356
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
357
- </PATH_ELEMENT>
358
- <PATH_ELEMENT>
359
- <option name="myItemId" value="unipin_notification_service" />
360
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
361
- </PATH_ELEMENT>
362
- <PATH_ELEMENT>
363
- <option name="myItemId" value="src" />
364
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
365
- </PATH_ELEMENT>
366
- </PATH>
367
- <PATH>
368
- <PATH_ELEMENT>
369
- <option name="myItemId" value="unipin" />
370
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
371
- </PATH_ELEMENT>
372
- <PATH_ELEMENT>
373
- <option name="myItemId" value="unipin" />
374
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
375
- </PATH_ELEMENT>
376
- <PATH_ELEMENT>
377
- <option name="myItemId" value="unipin_notification_service" />
378
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
379
- </PATH_ELEMENT>
380
- <PATH_ELEMENT>
381
- <option name="myItemId" value="src" />
382
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
383
- </PATH_ELEMENT>
384
- <PATH_ELEMENT>
385
- <option name="myItemId" value="main" />
386
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
387
- </PATH_ELEMENT>
388
- <PATH_ELEMENT>
389
- <option name="myItemId" value="resources" />
390
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
391
- </PATH_ELEMENT>
392
- </PATH>
393
- <PATH>
394
- <PATH_ELEMENT>
395
- <option name="myItemId" value="unipin" />
396
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
397
- </PATH_ELEMENT>
398
- <PATH_ELEMENT>
399
- <option name="myItemId" value="unipin" />
400
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
401
- </PATH_ELEMENT>
402
- <PATH_ELEMENT>
403
- <option name="myItemId" value="unipin_notification_service" />
404
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
405
- </PATH_ELEMENT>
406
- <PATH_ELEMENT>
407
- <option name="myItemId" value="src" />
408
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
409
- </PATH_ELEMENT>
410
- <PATH_ELEMENT>
411
- <option name="myItemId" value="main" />
412
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
413
- </PATH_ELEMENT>
414
- <PATH_ELEMENT>
415
- <option name="myItemId" value="java" />
416
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
417
- </PATH_ELEMENT>
418
- <PATH_ELEMENT>
419
- <option name="myItemId" value="notificationservice" />
420
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
421
- </PATH_ELEMENT>
422
- </PATH>
423
- <PATH>
424
- <PATH_ELEMENT>
425
- <option name="myItemId" value="unipin" />
426
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
427
- </PATH_ELEMENT>
428
- <PATH_ELEMENT>
429
- <option name="myItemId" value="unipin" />
430
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
431
- </PATH_ELEMENT>
432
- <PATH_ELEMENT>
433
- <option name="myItemId" value="unipin_notification_service" />
434
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
435
- </PATH_ELEMENT>
436
- <PATH_ELEMENT>
437
- <option name="myItemId" value="src" />
438
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
439
- </PATH_ELEMENT>
440
- <PATH_ELEMENT>
441
- <option name="myItemId" value="main" />
442
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
443
- </PATH_ELEMENT>
444
- <PATH_ELEMENT>
445
- <option name="myItemId" value="java" />
446
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
447
- </PATH_ELEMENT>
448
- <PATH_ELEMENT>
449
- <option name="myItemId" value="notificationservice" />
450
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
451
- </PATH_ELEMENT>
452
- <PATH_ELEMENT>
453
- <option name="myItemId" value="service" />
454
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
455
- </PATH_ELEMENT>
456
- </PATH>
457
- <PATH>
458
- <PATH_ELEMENT>
459
- <option name="myItemId" value="unipin" />
460
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
461
- </PATH_ELEMENT>
462
- <PATH_ELEMENT>
463
- <option name="myItemId" value="unipin" />
464
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
465
- </PATH_ELEMENT>
466
- <PATH_ELEMENT>
467
- <option name="myItemId" value="unipin_cms_service" />
468
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
469
- </PATH_ELEMENT>
470
- </PATH>
471
- <PATH>
472
- <PATH_ELEMENT>
473
- <option name="myItemId" value="unipin" />
474
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
475
- </PATH_ELEMENT>
476
- <PATH_ELEMENT>
477
- <option name="myItemId" value="unipin" />
478
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
479
- </PATH_ELEMENT>
480
- <PATH_ELEMENT>
481
- <option name="myItemId" value="unipin_cms_service" />
482
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
483
- </PATH_ELEMENT>
484
- <PATH_ELEMENT>
485
- <option name="myItemId" value="src" />
486
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
487
- </PATH_ELEMENT>
488
- </PATH>
489
- <PATH>
490
- <PATH_ELEMENT>
491
- <option name="myItemId" value="unipin" />
492
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
493
- </PATH_ELEMENT>
494
- <PATH_ELEMENT>
495
- <option name="myItemId" value="unipin" />
496
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
497
- </PATH_ELEMENT>
498
- <PATH_ELEMENT>
499
- <option name="myItemId" value="unipin_cms_service" />
500
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
501
- </PATH_ELEMENT>
502
- <PATH_ELEMENT>
503
- <option name="myItemId" value="src" />
504
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
505
- </PATH_ELEMENT>
506
- <PATH_ELEMENT>
507
- <option name="myItemId" value="main" />
508
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
509
- </PATH_ELEMENT>
510
- <PATH_ELEMENT>
511
- <option name="myItemId" value="resources" />
512
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
513
- </PATH_ELEMENT>
514
- </PATH>
515
- <PATH>
516
- <PATH_ELEMENT>
517
- <option name="myItemId" value="unipin" />
518
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
519
- </PATH_ELEMENT>
520
- <PATH_ELEMENT>
521
- <option name="myItemId" value="unipin" />
522
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
523
- </PATH_ELEMENT>
524
- <PATH_ELEMENT>
525
- <option name="myItemId" value="unipin_cms_service" />
526
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
527
- </PATH_ELEMENT>
528
- <PATH_ELEMENT>
529
- <option name="myItemId" value="src" />
530
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
531
- </PATH_ELEMENT>
532
- <PATH_ELEMENT>
533
- <option name="myItemId" value="main" />
534
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
535
- </PATH_ELEMENT>
536
- <PATH_ELEMENT>
537
- <option name="myItemId" value="resources" />
538
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
539
- </PATH_ELEMENT>
540
- <PATH_ELEMENT>
541
- <option name="myItemId" value="mybatis" />
542
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
543
- </PATH_ELEMENT>
544
- </PATH>
545
- <PATH>
546
- <PATH_ELEMENT>
547
- <option name="myItemId" value="unipin" />
548
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
549
- </PATH_ELEMENT>
550
- <PATH_ELEMENT>
551
- <option name="myItemId" value="unipin" />
552
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
553
- </PATH_ELEMENT>
554
- <PATH_ELEMENT>
555
- <option name="myItemId" value="unipin_cms_service" />
556
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
557
- </PATH_ELEMENT>
558
- <PATH_ELEMENT>
559
- <option name="myItemId" value="src" />
560
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
561
- </PATH_ELEMENT>
562
- <PATH_ELEMENT>
563
- <option name="myItemId" value="main" />
564
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
565
- </PATH_ELEMENT>
566
- <PATH_ELEMENT>
567
- <option name="myItemId" value="resources" />
568
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
569
- </PATH_ELEMENT>
570
- <PATH_ELEMENT>
571
- <option name="myItemId" value="mybatis" />
572
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
573
- </PATH_ELEMENT>
574
- <PATH_ELEMENT>
575
- <option name="myItemId" value="mapper" />
576
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
577
- </PATH_ELEMENT>
578
- </PATH>
579
- <PATH>
580
- <PATH_ELEMENT>
581
- <option name="myItemId" value="unipin" />
582
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
583
- </PATH_ELEMENT>
584
- <PATH_ELEMENT>
585
- <option name="myItemId" value="unipin" />
586
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
587
- </PATH_ELEMENT>
588
- <PATH_ELEMENT>
589
- <option name="myItemId" value="unipin_cms_service" />
590
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
591
- </PATH_ELEMENT>
592
- <PATH_ELEMENT>
593
- <option name="myItemId" value="src" />
594
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
595
- </PATH_ELEMENT>
596
- <PATH_ELEMENT>
597
- <option name="myItemId" value="main" />
598
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
599
- </PATH_ELEMENT>
600
- <PATH_ELEMENT>
601
- <option name="myItemId" value="java" />
602
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
603
- </PATH_ELEMENT>
604
- <PATH_ELEMENT>
605
- <option name="myItemId" value="cstools" />
606
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
607
- </PATH_ELEMENT>
608
- </PATH>
609
- <PATH>
610
- <PATH_ELEMENT>
611
- <option name="myItemId" value="unipin" />
612
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
613
- </PATH_ELEMENT>
614
- <PATH_ELEMENT>
615
- <option name="myItemId" value="unipin" />
616
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
617
- </PATH_ELEMENT>
618
- <PATH_ELEMENT>
619
- <option name="myItemId" value="unipin_cms_service" />
620
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
621
- </PATH_ELEMENT>
622
- <PATH_ELEMENT>
623
- <option name="myItemId" value="src" />
624
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
625
- </PATH_ELEMENT>
626
- <PATH_ELEMENT>
627
- <option name="myItemId" value="main" />
628
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
629
- </PATH_ELEMENT>
630
- <PATH_ELEMENT>
631
- <option name="myItemId" value="java" />
632
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
633
- </PATH_ELEMENT>
634
- <PATH_ELEMENT>
635
- <option name="myItemId" value="cstools" />
636
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
637
- </PATH_ELEMENT>
638
- <PATH_ELEMENT>
639
- <option name="myItemId" value="service" />
640
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
641
- </PATH_ELEMENT>
642
- </PATH>
643
- <PATH>
644
- <PATH_ELEMENT>
645
- <option name="myItemId" value="unipin" />
646
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
647
- </PATH_ELEMENT>
648
- <PATH_ELEMENT>
649
- <option name="myItemId" value="unipin" />
650
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
651
- </PATH_ELEMENT>
652
- <PATH_ELEMENT>
653
- <option name="myItemId" value="unipin_cms_service" />
654
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
655
- </PATH_ELEMENT>
656
- <PATH_ELEMENT>
657
- <option name="myItemId" value="src" />
658
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
659
- </PATH_ELEMENT>
660
- <PATH_ELEMENT>
661
- <option name="myItemId" value="main" />
662
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
663
- </PATH_ELEMENT>
664
- <PATH_ELEMENT>
665
- <option name="myItemId" value="java" />
666
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
667
- </PATH_ELEMENT>
668
- <PATH_ELEMENT>
669
- <option name="myItemId" value="cstools" />
670
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
671
- </PATH_ELEMENT>
672
- <PATH_ELEMENT>
673
- <option name="myItemId" value="database" />
674
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
675
- </PATH_ELEMENT>
676
- <PATH_ELEMENT>
677
- <option name="myItemId" value="repository" />
678
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
679
- </PATH_ELEMENT>
680
- </PATH>
681
- <PATH>
682
- <PATH_ELEMENT>
683
- <option name="myItemId" value="unipin" />
684
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
685
- </PATH_ELEMENT>
686
- <PATH_ELEMENT>
687
- <option name="myItemId" value="unipin" />
688
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
689
- </PATH_ELEMENT>
690
- <PATH_ELEMENT>
691
- <option name="myItemId" value="unipin_cms_service" />
692
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
693
- </PATH_ELEMENT>
694
- <PATH_ELEMENT>
695
- <option name="myItemId" value="src" />
696
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
697
- </PATH_ELEMENT>
698
- <PATH_ELEMENT>
699
- <option name="myItemId" value="main" />
700
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
701
- </PATH_ELEMENT>
702
- <PATH_ELEMENT>
703
- <option name="myItemId" value="java" />
704
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
705
- </PATH_ELEMENT>
706
- <PATH_ELEMENT>
707
- <option name="myItemId" value="cstools" />
708
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
709
- </PATH_ELEMENT>
710
- <PATH_ELEMENT>
711
- <option name="myItemId" value="database" />
367
+ <option name="myItemId" value="unipin_request_service" />
712368 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
713369 </PATH_ELEMENT>
714370 </PATH>
715371 </subPane>
716372 </pane>
717
- <pane id="PackagesPane" />
373
+ <pane id="Scratches" />
374
+ <pane id="Scope" />
718375 </panes>
719376 </component>
720377 <component name="PropertiesComponent">
....@@ -1385,14 +1042,22 @@
13851042 <envs />
13861043 <method />
13871044 </configuration>
1388
- <list size="7">
1045
+ <configuration default="false" name="Main" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
1046
+ <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
1047
+ <option name="SPRING_BOOT_MAIN_CLASS" value="test.Main" />
1048
+ <module name="exec" />
1049
+ <envs />
1050
+ <method />
1051
+ </configuration>
1052
+ <list size="8">
13891053 <item index="0" class="java.lang.String" itemvalue="Spring Boot.Application" />
13901054 <item index="1" class="java.lang.String" itemvalue="Spring Boot.API" />
13911055 <item index="2" class="java.lang.String" itemvalue="Spring Boot.MO" />
13921056 <item index="3" class="java.lang.String" itemvalue="Spring Boot.CMS" />
13931057 <item index="4" class="java.lang.String" itemvalue="Spring Boot.NOTIFICATION" />
13941058 <item index="5" class="java.lang.String" itemvalue="Spring Boot.REQUEST" />
1395
- <item index="6" class="java.lang.String" itemvalue="Application.BotManager" />
1059
+ <item index="6" class="java.lang.String" itemvalue="Spring Boot.Main" />
1060
+ <item index="7" class="java.lang.String" itemvalue="Application.BotManager" />
13961061 </list>
13971062 <recent_temporary>
13981063 <list size="1">
....@@ -1414,7 +1079,9 @@
14141079 <workItem from="1517278768615" duration="11183000" />
14151080 <workItem from="1517365180951" duration="10632000" />
14161081 <workItem from="1517451540103" duration="13148000" />
1417
- <workItem from="1517480195602" duration="2935000" />
1082
+ <workItem from="1517480195602" duration="3651000" />
1083
+ <workItem from="1517539607566" duration="11818000" />
1084
+ <workItem from="1517564799038" duration="1111000" />
14181085 </task>
14191086 <task id="LOCAL-00001" summary="add monitoring user">
14201087 <created>1517221984248</created>
....@@ -1430,11 +1097,18 @@
14301097 <option name="project" value="LOCAL" />
14311098 <updated>1517483250854</updated>
14321099 </task>
1433
- <option name="localTasksCounter" value="3" />
1100
+ <task id="LOCAL-00003" summary="finishing error monitoring">
1101
+ <created>1517483292995</created>
1102
+ <option name="number" value="00003" />
1103
+ <option name="presentableId" value="LOCAL-00003" />
1104
+ <option name="project" value="LOCAL" />
1105
+ <updated>1517483292995</updated>
1106
+ </task>
1107
+ <option name="localTasksCounter" value="4" />
14341108 <servers />
14351109 </component>
14361110 <component name="TimeTrackingManager">
1437
- <option name="totallyTimeSpent" value="56078000" />
1111
+ <option name="totallyTimeSpent" value="69723000" />
14381112 </component>
14391113 <component name="ToolWindowManager">
14401114 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
....@@ -1448,12 +1122,11 @@
14481122 <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" />
14491123 <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" />
14501124 <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" />
1451
- <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" />
1125
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24972972" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
14521126 <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" />
14531127 <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" />
14541128 <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" />
14551129 <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" />
1456
- <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" />
14571130 <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" />
14581131 <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" />
14591132 <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" />
....@@ -1461,8 +1134,8 @@
14611134 <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" />
14621135 <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" />
14631136 <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" />
1464
- <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" />
1465
- <window_info id="Project" active="false" 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" />
1137
+ <window_info id="Terminal" 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" />
1138
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
14661139 <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" />
14671140 <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" />
14681141 <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" />
....@@ -1470,6 +1143,7 @@
14701143 <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" />
14711144 <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" />
14721145 <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" />
1146
+ <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" />
14731147 <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" />
14741148 <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" />
14751149 </layout>
....@@ -1494,7 +1168,7 @@
14941168 <properties />
14951169 </line-breakpoint>
14961170 </breakpoints>
1497
- <option name="time" value="1" />
1171
+ <option name="time" value="3" />
14981172 </breakpoint-manager>
14991173 <watches-manager />
15001174 </component>
....@@ -1503,89 +1177,10 @@
15031177 <option name="FILTER_TARGETS" value="false" />
15041178 </component>
15051179 <component name="editorHistoryManager">
1506
- <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/service/ClientChargingTestService.java">
1507
- <provider selected="true" editor-type-id="text-editor">
1508
- <state relative-caret-position="2116">
1509
- <caret line="106" column="10" lean-forward="false" selection-start-line="106" selection-start-column="10" selection-end-line="106" selection-end-column="10" />
1510
- <folding />
1511
- </state>
1512
- </provider>
1513
- </entry>
1514
- <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/job/ResultPullJob.java">
1515
- <provider selected="true" editor-type-id="text-editor">
1516
- <state relative-caret-position="-189">
1517
- <caret line="21" column="13" lean-forward="false" selection-start-line="21" selection-start-column="13" selection-end-line="21" selection-end-column="13" />
1518
- </state>
1519
- </provider>
1520
- </entry>
1521
- <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/service/PropertiesService.java">
1522
- <provider selected="true" editor-type-id="text-editor">
1523
- <state relative-caret-position="324">
1524
- <caret line="35" column="38" lean-forward="false" selection-start-line="35" selection-start-column="20" selection-end-line="35" selection-end-column="38" />
1525
- <folding />
1526
- </state>
1527
- </provider>
1528
- </entry>
1529
- <entry file="file://$PROJECT_DIR$/unipin_result_service/src/main/java/id/co/accessmobile/carrier/biling/resultservice/model/MonitoringUser.java">
1530
- <provider selected="true" editor-type-id="text-editor">
1531
- <state relative-caret-position="0">
1532
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1533
- </state>
1534
- </provider>
1535
- </entry>
1536
- <entry file="file://$PROJECT_DIR$/unipin_charge_service/src/main/java/id/co/accessmobile/carrier/billling/unipin/chargingservice/Application.java">
1537
- <provider selected="true" editor-type-id="text-editor">
1538
- <state relative-caret-position="300">
1539
- <caret line="40" column="0" lean-forward="false" selection-start-line="40" selection-start-column="0" selection-end-line="40" selection-end-column="0" />
1540
- <folding />
1541
- </state>
1542
- </provider>
1543
- </entry>
1544
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/mybatis/mybatis-config.xml">
1545
- <provider selected="true" editor-type-id="text-editor">
1546
- <state relative-caret-position="243">
1547
- <caret line="18" column="72" lean-forward="false" selection-start-line="18" selection-start-column="72" selection-end-line="19" selection-end-column="62" />
1548
- <folding />
1549
- </state>
1550
- </provider>
1551
- </entry>
1552
- <entry file="file://$PROJECT_DIR$/unipin_result_service/pom.xml">
1553
- <provider selected="true" editor-type-id="text-editor">
1554
- <state relative-caret-position="1377">
1555
- <caret line="51" column="12" lean-forward="false" selection-start-line="36" selection-start-column="4" selection-end-line="51" selection-end-column="12" />
1556
- <folding />
1557
- </state>
1558
- </provider>
1559
- </entry>
1560
- <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/pom.xml">
1561
- <provider selected="true" editor-type-id="text-editor">
1562
- <state relative-caret-position="1404">
1563
- <caret line="52" column="12" lean-forward="false" selection-start-line="13" selection-start-column="4" selection-end-line="52" selection-end-column="12" />
1564
- <folding />
1565
- </state>
1566
- </provider>
1567
- </entry>
1568
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/pom.xml">
1569
- <provider selected="true" editor-type-id="text-editor">
1570
- <state relative-caret-position="756">
1571
- <caret line="28" column="0" lean-forward="false" selection-start-line="28" selection-start-column="0" selection-end-line="33" selection-end-column="21" />
1572
- <folding />
1573
- </state>
1574
- </provider>
1575
- </entry>
1576
- <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java">
1577
- <provider selected="true" editor-type-id="text-editor">
1578
- <state relative-caret-position="297">
1579
- <caret line="11" column="49" lean-forward="false" selection-start-line="11" selection-start-column="49" selection-end-line="11" selection-end-column="49" />
1580
- <folding />
1581
- </state>
1582
- </provider>
1583
- </entry>
15841180 <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/model/MonitoringUser.java">
15851181 <provider selected="true" editor-type-id="text-editor">
15861182 <state relative-caret-position="216">
15871183 <caret line="8" column="13" lean-forward="false" selection-start-line="8" selection-start-column="13" selection-end-line="8" selection-end-column="13" />
1588
- <folding />
15891184 </state>
15901185 </provider>
15911186 </entry>
....@@ -1593,9 +1188,6 @@
15931188 <provider selected="true" editor-type-id="text-editor">
15941189 <state relative-caret-position="-99">
15951190 <caret line="227" column="31" lean-forward="false" selection-start-line="227" selection-start-column="31" selection-end-line="227" selection-end-column="31" />
1596
- <folding>
1597
- <element signature="imports" expanded="true" />
1598
- </folding>
15991191 </state>
16001192 </provider>
16011193 </entry>
....@@ -1603,7 +1195,6 @@
16031195 <provider selected="true" editor-type-id="text-editor">
16041196 <state relative-caret-position="-1367">
16051197 <caret line="71" column="42" lean-forward="false" selection-start-line="71" selection-start-column="42" selection-end-line="71" selection-end-column="42" />
1606
- <folding />
16071198 </state>
16081199 </provider>
16091200 </entry>
....@@ -1611,7 +1202,6 @@
16111202 <provider selected="true" editor-type-id="text-editor">
16121203 <state relative-caret-position="-2507">
16131204 <caret line="39" column="24" lean-forward="false" selection-start-line="39" selection-start-column="14" selection-end-line="39" selection-end-column="24" />
1614
- <folding />
16151205 </state>
16161206 </provider>
16171207 </entry>
....@@ -1619,7 +1209,6 @@
16191209 <provider selected="true" editor-type-id="text-editor">
16201210 <state relative-caret-position="-198">
16211211 <caret line="20" column="21" lean-forward="false" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="23" />
1622
- <folding />
16231212 </state>
16241213 </provider>
16251214 </entry>
....@@ -1627,7 +1216,6 @@
16271216 <provider selected="true" editor-type-id="text-editor">
16281217 <state relative-caret-position="143">
16291218 <caret line="91" column="31" lean-forward="false" selection-start-line="91" selection-start-column="21" selection-end-line="91" selection-end-column="31" />
1630
- <folding />
16311219 </state>
16321220 </provider>
16331221 </entry>
....@@ -1635,9 +1223,6 @@
16351223 <provider selected="true" editor-type-id="text-editor">
16361224 <state relative-caret-position="-279">
16371225 <caret line="20" column="18" lean-forward="false" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="23" />
1638
- <folding>
1639
- <element signature="imports" expanded="true" />
1640
- </folding>
16411226 </state>
16421227 </provider>
16431228 </entry>
....@@ -1645,7 +1230,6 @@
16451230 <provider selected="true" editor-type-id="text-editor">
16461231 <state relative-caret-position="378">
16471232 <caret line="17" column="55" lean-forward="false" selection-start-line="17" selection-start-column="55" selection-end-line="17" selection-end-column="55" />
1648
- <folding />
16491233 </state>
16501234 </provider>
16511235 </entry>
....@@ -1653,7 +1237,6 @@
16531237 <provider selected="true" editor-type-id="text-editor">
16541238 <state relative-caret-position="351">
16551239 <caret line="13" column="41" lean-forward="false" selection-start-line="13" selection-start-column="41" selection-end-line="13" selection-end-column="41" />
1656
- <folding />
16571240 </state>
16581241 </provider>
16591242 </entry>
....@@ -1661,9 +1244,6 @@
16611244 <provider selected="true" editor-type-id="text-editor">
16621245 <state relative-caret-position="-165">
16631246 <caret line="5" column="89" lean-forward="false" selection-start-line="5" selection-start-column="89" selection-end-line="5" selection-end-column="89" />
1664
- <folding>
1665
- <marker date="1517372612941" expanded="true" signature="544:808" ph="SELECT user.... tbl_monitoring_user" />
1666
- </folding>
16671247 </state>
16681248 </provider>
16691249 </entry>
....@@ -1671,7 +1251,6 @@
16711251 <provider selected="true" editor-type-id="text-editor">
16721252 <state relative-caret-position="330">
16731253 <caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
1674
- <folding />
16751254 </state>
16761255 </provider>
16771256 </entry>
....@@ -1679,7 +1258,6 @@
16791258 <provider selected="true" editor-type-id="text-editor">
16801259 <state relative-caret-position="-108">
16811260 <caret line="20" column="16" lean-forward="false" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="23" />
1682
- <folding />
16831261 </state>
16841262 </provider>
16851263 </entry>
....@@ -1694,9 +1272,6 @@
16941272 <provider selected="true" editor-type-id="text-editor">
16951273 <state relative-caret-position="135">
16961274 <caret line="5" column="85" lean-forward="false" selection-start-line="5" selection-start-column="85" selection-end-line="5" selection-end-column="85" />
1697
- <folding>
1698
- <marker date="1517372612953" expanded="true" signature="558:822" ph="SELECT user.... tbl_monitoring_user" />
1699
- </folding>
17001275 </state>
17011276 </provider>
17021277 </entry>
....@@ -1704,15 +1279,6 @@
17041279 <provider selected="true" editor-type-id="text-editor">
17051280 <state relative-caret-position="982">
17061281 <caret line="67" column="45" lean-forward="false" selection-start-line="67" selection-start-column="45" selection-end-line="67" selection-end-column="45" />
1707
- <folding />
1708
- </state>
1709
- </provider>
1710
- </entry>
1711
- <entry file="file://$PROJECT_DIR$/pom.xml">
1712
- <provider selected="true" editor-type-id="text-editor">
1713
- <state relative-caret-position="-1377">
1714
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1715
- <folding />
17161282 </state>
17171283 </provider>
17181284 </entry>
....@@ -1720,7 +1286,6 @@
17201286 <provider selected="true" editor-type-id="text-editor">
17211287 <state relative-caret-position="270">
17221288 <caret line="13" column="7" lean-forward="false" selection-start-line="13" selection-start-column="7" selection-end-line="13" selection-end-column="7" />
1723
- <folding />
17241289 </state>
17251290 </provider>
17261291 </entry>
....@@ -1728,7 +1293,6 @@
17281293 <provider selected="true" editor-type-id="text-editor">
17291294 <state relative-caret-position="270">
17301295 <caret line="13" column="7" lean-forward="false" selection-start-line="13" selection-start-column="7" selection-end-line="13" selection-end-column="7" />
1731
- <folding />
17321296 </state>
17331297 </provider>
17341298 </entry>
....@@ -1736,7 +1300,6 @@
17361300 <provider selected="true" editor-type-id="text-editor">
17371301 <state relative-caret-position="270">
17381302 <caret line="13" column="7" lean-forward="false" selection-start-line="13" selection-start-column="7" selection-end-line="13" selection-end-column="7" />
1739
- <folding />
17401303 </state>
17411304 </provider>
17421305 </entry>
....@@ -1744,7 +1307,6 @@
17441307 <provider selected="true" editor-type-id="text-editor">
17451308 <state relative-caret-position="0">
17461309 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1747
- <folding />
17481310 </state>
17491311 </provider>
17501312 </entry>
....@@ -1768,15 +1330,6 @@
17681330 <provider selected="true" editor-type-id="text-editor">
17691331 <state relative-caret-position="492">
17701332 <caret line="30" column="0" lean-forward="false" selection-start-line="30" selection-start-column="0" selection-end-line="33" selection-end-column="0" />
1771
- <folding />
1772
- </state>
1773
- </provider>
1774
- </entry>
1775
- <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java">
1776
- <provider selected="true" editor-type-id="text-editor">
1777
- <state relative-caret-position="398">
1778
- <caret line="24" column="61" lean-forward="false" selection-start-line="24" selection-start-column="46" selection-end-line="24" selection-end-column="61" />
1779
- <folding />
17801333 </state>
17811334 </provider>
17821335 </entry>
....@@ -1784,7 +1337,6 @@
17841337 <provider selected="true" editor-type-id="text-editor">
17851338 <state relative-caret-position="250">
17861339 <caret line="16" column="23" lean-forward="false" selection-start-line="16" selection-start-column="23" selection-end-line="16" selection-end-column="23" />
1787
- <folding />
17881340 </state>
17891341 </provider>
17901342 </entry>
....@@ -1793,7 +1345,7 @@
17931345 <state relative-caret-position="405">
17941346 <caret line="15" column="17" lean-forward="false" selection-start-line="15" selection-start-column="17" selection-end-line="15" selection-end-column="17" />
17951347 <folding>
1796
- <element signature="imports" expanded="true" />
1348
+ <element signature="imports" expanded="false" />
17971349 </folding>
17981350 </state>
17991351 </provider>
....@@ -1809,7 +1361,6 @@
18091361 <provider selected="true" editor-type-id="text-editor">
18101362 <state relative-caret-position="0">
18111363 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1812
- <folding />
18131364 </state>
18141365 </provider>
18151366 </entry>
....@@ -1817,15 +1368,6 @@
18171368 <provider selected="true" editor-type-id="text-editor">
18181369 <state relative-caret-position="0">
18191370 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1820
- <folding />
1821
- </state>
1822
- </provider>
1823
- </entry>
1824
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties">
1825
- <provider selected="true" editor-type-id="text-editor">
1826
- <state relative-caret-position="0">
1827
- <caret line="0" column="27" lean-forward="false" selection-start-line="0" selection-start-column="27" selection-end-line="0" selection-end-column="27" />
1828
- <folding />
18291371 </state>
18301372 </provider>
18311373 </entry>
....@@ -1833,31 +1375,6 @@
18331375 <provider selected="true" editor-type-id="text-editor">
18341376 <state relative-caret-position="480">
18351377 <caret line="20" column="51" lean-forward="false" selection-start-line="20" selection-start-column="51" selection-end-line="20" selection-end-column="51" />
1836
- <folding />
1837
- </state>
1838
- </provider>
1839
- </entry>
1840
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java">
1841
- <provider selected="true" editor-type-id="text-editor">
1842
- <state relative-caret-position="432">
1843
- <caret line="22" column="38" lean-forward="false" selection-start-line="22" selection-start-column="38" selection-end-line="22" selection-end-column="38" />
1844
- <folding />
1845
- </state>
1846
- </provider>
1847
- </entry>
1848
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml">
1849
- <provider selected="true" editor-type-id="text-editor">
1850
- <state relative-caret-position="648">
1851
- <caret line="24" column="8" lean-forward="false" selection-start-line="24" selection-start-column="8" selection-end-line="29" selection-end-column="40" />
1852
- <folding>
1853
- <marker date="1517477417319" expanded="true" signature="798:951" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction_states... " />
1854
- <marker date="1517477417319" expanded="true" signature="1058:1128" ph="SELECT * fro... tbl_transaction_states" />
1855
- <marker date="1517477417319" expanded="true" signature="1236:1583" ph="select tbl_t... tbl_transaction" />
1856
- <marker date="1517477417319" expanded="true" signature="1310:1405" ph="select id fr... tbl_transaction_states" />
1857
- <marker date="1517477417319" expanded="true" signature="1690:2115" ph="SELECT a.id,... tbl_transaction_states" />
1858
- <marker date="1517477417319" expanded="true" signature="1799:1889" ph="select tbl_t... tbl_transaction_states" />
1859
- <marker date="1517477417319" expanded="true" signature="1916:2000" ph="select tbl_t... tbl_transaction_states" />
1860
- </folding>
18611378 </state>
18621379 </provider>
18631380 </entry>
....@@ -1865,23 +1382,73 @@
18651382 <provider selected="true" editor-type-id="text-editor">
18661383 <state relative-caret-position="237">
18671384 <caret line="9" column="0" lean-forward="false" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
1868
- <folding>
1869
- <marker date="1517298900433" expanded="true" signature="566:830" ph="SELECT user.... tbl_monitoring_user" />
1870
- </folding>
18711385 </state>
18721386 </provider>
18731387 </entry>
18741388 <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/MonitoringUserMapper.java">
18751389 <provider selected="true" editor-type-id="text-editor">
1876
- <state relative-caret-position="480">
1390
+ <state relative-caret-position="540">
18771391 <caret line="24" column="53" lean-forward="false" selection-start-line="24" selection-start-column="53" selection-end-line="24" selection-end-column="53" />
1392
+ </state>
1393
+ </provider>
1394
+ </entry>
1395
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java">
1396
+ <provider selected="true" editor-type-id="text-editor">
1397
+ <state relative-caret-position="3699">
1398
+ <caret line="164" column="82" lean-forward="false" selection-start-line="164" selection-start-column="81" selection-end-line="164" selection-end-column="82" />
1399
+ </state>
1400
+ </provider>
1401
+ </entry>
1402
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java">
1403
+ <provider selected="true" editor-type-id="text-editor">
1404
+ <state relative-caret-position="1026">
1405
+ <caret line="46" column="48" lean-forward="false" selection-start-line="46" selection-start-column="48" selection-end-line="46" selection-end-column="48" />
1406
+ <folding>
1407
+ <element signature="imports" expanded="false" />
1408
+ </folding>
1409
+ </state>
1410
+ </provider>
1411
+ </entry>
1412
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties">
1413
+ <provider selected="true" editor-type-id="text-editor">
1414
+ <state relative-caret-position="972">
1415
+ <caret line="36" column="0" lean-forward="false" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
1416
+ </state>
1417
+ </provider>
1418
+ </entry>
1419
+ <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties">
1420
+ <provider selected="true" editor-type-id="text-editor">
1421
+ <state relative-caret-position="1026">
1422
+ <caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
1423
+ </state>
1424
+ </provider>
1425
+ </entry>
1426
+ <entry file="file://$PROJECT_DIR$/unipin_api_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/apiservice/rest/controller/BillingController.java">
1427
+ <provider selected="true" editor-type-id="text-editor">
1428
+ <state relative-caret-position="-1593">
1429
+ <caret line="26" column="13" lean-forward="false" selection-start-line="26" selection-start-column="13" selection-end-line="26" selection-end-column="13" />
1430
+ <folding />
1431
+ </state>
1432
+ </provider>
1433
+ </entry>
1434
+ <entry file="file://$PROJECT_DIR$/unipin_database_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/database/entity/TblTransactionStates.java">
1435
+ <provider selected="true" editor-type-id="text-editor">
1436
+ <state relative-caret-position="189">
1437
+ <caret line="7" column="13" lean-forward="false" selection-start-line="7" selection-start-column="13" selection-end-line="7" selection-end-column="13" />
1438
+ </state>
1439
+ </provider>
1440
+ </entry>
1441
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/UserTrackController.java">
1442
+ <provider selected="true" editor-type-id="text-editor">
1443
+ <state relative-caret-position="172">
1444
+ <caret line="48" column="140" lean-forward="false" selection-start-line="48" selection-start-column="140" selection-end-line="48" selection-end-column="140" />
18781445 <folding />
18791446 </state>
18801447 </provider>
18811448 </entry>
18821449 <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml">
18831450 <provider selected="true" editor-type-id="text-editor">
1884
- <state relative-caret-position="352">
1451
+ <state relative-caret-position="540">
18851452 <caret line="44" column="25" lean-forward="false" selection-start-line="44" selection-start-column="25" selection-end-line="44" selection-end-column="25" />
18861453 <folding>
18871454 <marker date="1517481986212" expanded="true" signature="570:834" ph="SELECT user.... tbl_monitoring_user" />
....@@ -1894,49 +1461,107 @@
18941461 </state>
18951462 </provider>
18961463 </entry>
1897
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/java/id/co/accessmobile/carrier/billing/notificationservice/service/SMSService.java">
1464
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java">
18981465 <provider selected="true" editor-type-id="text-editor">
1899
- <state relative-caret-position="234">
1900
- <caret line="164" column="82" lean-forward="false" selection-start-line="164" selection-start-column="81" selection-end-line="164" selection-end-column="82" />
1466
+ <state relative-caret-position="486">
1467
+ <caret line="24" column="51" lean-forward="false" selection-start-line="24" selection-start-column="51" selection-end-line="24" selection-end-column="51" />
19011468 <folding />
19021469 </state>
19031470 </provider>
19041471 </entry>
1905
- <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/Monitoring.java">
1472
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml">
19061473 <provider selected="true" editor-type-id="text-editor">
1907
- <state relative-caret-position="561">
1908
- <caret line="46" column="48" lean-forward="false" selection-start-line="46" selection-start-column="48" selection-end-line="46" selection-end-column="48" />
1474
+ <state relative-caret-position="2511">
1475
+ <caret line="93" column="0" lean-forward="false" selection-start-line="93" selection-start-column="0" selection-end-line="93" selection-end-column="0" />
19091476 <folding>
1910
- <element signature="imports" expanded="true" />
1477
+ <marker date="1517542402439" expanded="true" signature="798:951" ph="INSERT INTO db_unipin_cs_tools.tbl_transaction_states... " />
1478
+ <marker date="1517542402439" expanded="true" signature="1058:1128" ph="SELECT * fro... tbl_transaction_states" />
1479
+ <marker date="1517542402439" expanded="true" signature="1236:1939" ph="select tbl_t... tbl_transaction" />
1480
+ <marker date="1517542402439" expanded="true" signature="1370:1770" ph="select tbl_t... tbl_transaction_states" />
1481
+ <marker date="1517542402439" expanded="true" signature="1481:1576" ph="select id fr... tbl_transaction_states" />
1482
+ <marker date="1517542402439" expanded="true" signature="2046:2739" ph="SELECT a.id,... tbl_transaction_states" />
1483
+ <marker date="1517542402439" expanded="true" signature="2180:2570" ph="select tbl_t... tbl_transaction_states" />
1484
+ <marker date="1517542402439" expanded="true" signature="2291:2379" ph="select id fr... tbl_transaction_states" />
1485
+ <marker date="1517542402439" expanded="true" signature="2848:3542" ph="select a.id,... tbl_transaction" />
1486
+ <marker date="1517542402439" expanded="true" signature="2980:3373" ph="select tbl_t... tbl_transaction_states" />
1487
+ <marker date="1517542402439" expanded="true" signature="3087:3169" ph="select id fr... tbl_transaction_states" />
19111488 </folding>
1489
+ </state>
1490
+ </provider>
1491
+ </entry>
1492
+ <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java">
1493
+ <provider selected="true" editor-type-id="text-editor">
1494
+ <state relative-caret-position="297">
1495
+ <caret line="11" column="56" lean-forward="false" selection-start-line="11" selection-start-column="56" selection-end-line="11" selection-end-column="56" />
1496
+ </state>
1497
+ </provider>
1498
+ </entry>
1499
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/application.properties">
1500
+ <provider selected="true" editor-type-id="text-editor">
1501
+ <state relative-caret-position="108">
1502
+ <caret line="4" column="0" lean-forward="false" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="24" />
1503
+ <folding />
1504
+ </state>
1505
+ </provider>
1506
+ </entry>
1507
+ <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/resources/templates/index.html">
1508
+ <provider selected="true" editor-type-id="text-editor">
1509
+ <state relative-caret-position="1323">
1510
+ <caret line="49" column="57" lean-forward="false" selection-start-line="49" selection-start-column="57" selection-end-line="49" selection-end-column="57" />
1511
+ <folding />
1512
+ </state>
1513
+ </provider>
1514
+ </entry>
1515
+ <entry file="jar://$MAVEN_REPOSITORY$/org/telegram/telegrambots/3.5/telegrambots-3.5.jar!/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.class">
1516
+ <provider selected="true" editor-type-id="text-editor">
1517
+ <state relative-caret-position="479">
1518
+ <caret line="157" column="0" lean-forward="false" selection-start-line="157" selection-start-column="0" selection-end-line="157" selection-end-column="0" />
1519
+ </state>
1520
+ </provider>
1521
+ </entry>
1522
+ <entry file="jar://$MAVEN_REPOSITORY$/org/telegram/telegrambots-meta/3.5/telegrambots-meta-3.5.jar!/org/telegram/telegrambots/generics/LongPollingBot.class">
1523
+ <provider selected="true" editor-type-id="text-editor">
1524
+ <state relative-caret-position="297">
1525
+ <caret line="18" column="0" lean-forward="false" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
1526
+ <folding>
1527
+ <element signature="e#523#524#0" expanded="true" />
1528
+ </folding>
1529
+ </state>
1530
+ </provider>
1531
+ </entry>
1532
+ <entry file="file://$PROJECT_DIR$/unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java">
1533
+ <provider selected="true" editor-type-id="text-editor">
1534
+ <state relative-caret-position="1188">
1535
+ <caret line="47" column="0" lean-forward="false" selection-start-line="47" selection-start-column="0" selection-end-line="47" selection-end-column="0" />
1536
+ <folding />
1537
+ </state>
1538
+ </provider>
1539
+ </entry>
1540
+ <entry file="file://$PROJECT_DIR$/exec/src/main/java/test/Main.java" />
1541
+ <entry file="file://$PROJECT_DIR$/unipin_request_service/pom.xml">
1542
+ <provider selected="true" editor-type-id="text-editor">
1543
+ <state relative-caret-position="918">
1544
+ <caret line="34" column="12" lean-forward="false" selection-start-line="19" selection-start-column="3" selection-end-line="34" selection-end-column="12" />
1545
+ <folding />
1546
+ </state>
1547
+ </provider>
1548
+ </entry>
1549
+ <entry file="file://$PROJECT_DIR$/exec/pom.xml" />
1550
+ <entry file="file://$PROJECT_DIR$/pom.xml">
1551
+ <provider selected="true" editor-type-id="text-editor">
1552
+ <state relative-caret-position="162">
1553
+ <caret line="21" column="52" lean-forward="false" selection-start-line="21" selection-start-column="52" selection-end-line="21" selection-end-column="52" />
1554
+ <folding />
19121555 </state>
19131556 </provider>
19141557 </entry>
19151558 <entry file="file://$PROJECT_DIR$/unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java">
19161559 <provider selected="true" editor-type-id="text-editor">
1917
- <state relative-caret-position="234">
1918
- <caret line="66" column="57" lean-forward="false" selection-start-line="66" selection-start-column="57" selection-end-line="66" selection-end-column="57" />
1560
+ <state relative-caret-position="378">
1561
+ <caret line="314" column="51" lean-forward="false" selection-start-line="314" selection-start-column="51" selection-end-line="314" selection-end-column="51" />
19191562 <folding>
19201563 <element signature="imports" expanded="true" />
1921
- <element signature="method#checkMTStuck#0;class#MonitoringService#0" expanded="false" />
1922
- <element signature="method#checkMOStuck#0;class#MonitoringService#0" expanded="false" />
19231564 </folding>
1924
- </state>
1925
- </provider>
1926
- </entry>
1927
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-dev.properties">
1928
- <provider selected="true" editor-type-id="text-editor">
1929
- <state relative-caret-position="606">
1930
- <caret line="36" column="0" lean-forward="false" selection-start-line="36" selection-start-column="0" selection-end-line="36" selection-end-column="0" />
1931
- <folding />
1932
- </state>
1933
- </provider>
1934
- </entry>
1935
- <entry file="file://$PROJECT_DIR$/unipin_notification_service/src/main/resources/application-prod.properties">
1936
- <provider selected="true" editor-type-id="text-editor">
1937
- <state relative-caret-position="1026">
1938
- <caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
1939
- <folding />
19401565 </state>
19411566 </provider>
19421567 </entry>
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/Bot.java
....@@ -39,7 +39,11 @@
3939 public void onUpdateReceived(Update update) {
4040 System.out.println(update.getMessage().getChatId());
4141 if (this.listener != null) {
42
- this.listener.onMessageReceive(update);
42
+ try {
43
+ this.listener.onMessageReceive(update);
44
+ } catch (Exception e) {
45
+ e.printStackTrace();
46
+ }
4347 }
4448 }
4549
unipin_bot_telegram_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/bot/telegram/service/MessageListener.java
....@@ -9,5 +9,5 @@
99 * [email protected]
1010 */
1111 public interface MessageListener {
12
- public void onMessageReceive(Update message);
12
+ public void onMessageReceive(Update message) throws Exception;
1313 }
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/database/repository/TransactionStateRepository.java
....@@ -21,4 +21,6 @@
2121 public List<TblTransactionStates> findForStuck(@Param(value = "startingPeriod")Timestamp from, @Param(value = "endingPeriod") Timestamp to);
2222
2323 public List<TblTransactionStates> findForNoMO(@Param(value = "startingPeriod")Timestamp from,@Param(value = "endingPeriod") Timestamp to);
24
+
25
+ public List<TblTransactionStates> findForNoResp(@Param(value = "startingPeriod")Timestamp from,@Param(value = "endingPeriod") Timestamp to);
2426 }
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/service/MonitoringService.java
....@@ -5,6 +5,7 @@
55 import id.co.accessmobile.carrier.billing.unipin.cstools.database.repository.TransactionStateRepository;
66 import id.co.accessmobile.carrier.billing.unipin.database.entity.TblTransactionStates;
77 import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.beans.factory.annotation.Value;
89 import org.springframework.scheduling.annotation.Scheduled;
910 import org.springframework.stereotype.Service;
1011 import org.telegram.telegrambots.api.objects.Update;
....@@ -12,6 +13,9 @@
1213 import org.telegram.telegrambots.exceptions.TelegramApiRequestException;
1314
1415 import javax.annotation.PostConstruct;
16
+import java.io.BufferedReader;
17
+import java.io.IOException;
18
+import java.io.InputStreamReader;
1519 import java.sql.Timestamp;
1620 import java.util.List;
1721
....@@ -32,45 +36,108 @@
3236 @Autowired
3337 protected MonitoringUserMapper monitoringUserMapper;
3438
39
+ @Value("${app.file.shell.start.api}")
40
+ protected String apiFileStarting;
41
+ @Value("${app.file.shell.start.request}")
42
+ protected String reqeustFileStarting;
43
+ @Value("${app.file.shell.start.notification}")
44
+ protected String notificationFileStarting;
45
+ @Value("${app.file.shell.start.mo}")
46
+ protected String moFileStarting;
47
+ @Value("${app.file.shell.start.charge}")
48
+ protected String chargeFileStarting;
49
+ @Value("${app.file.shell.start.result}")
50
+ protected String resultFileStarting;
51
+ @Value("${app.file.shell.start.bgw}")
52
+ protected String bgwFileStarting;
53
+
54
+ @Value("${app.file.shell.stop.api}")
55
+ protected String apiFileStoping;
56
+ @Value("${app.file.shell.stop.request}")
57
+ protected String reqeustFileStoping;
58
+ @Value("${app.file.shell.stop.notification}")
59
+ protected String notificationFileStoping;
60
+ @Value("${app.file.shell.stop.mo}")
61
+ protected String moFileStoping;
62
+ @Value("${app.file.shell.stop.charge}")
63
+ protected String chargeFileStoping;
64
+ @Value("${app.file.shell.stop.result}")
65
+ protected String resultFileStoping;
66
+ @Value("${app.file.shell.stop.bgw}")
67
+ protected String bgwFileStoping;
68
+
3569
3670 protected Timestamp starting;
3771
3872 @Override
3973 public void onMessageReceive(Update message) {
40
- String text = message.getMessage().getText() != null ? message.getMessage().getText().trim().toLowerCase() : "";
4174 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]);
75
+ String text = message.getMessage().getText() != null ? message.getMessage().getText().trim().toLowerCase() : "";
76
+ try {
77
+ if (text.startsWith("reg")) {
78
+ if (this.monitoringUserMapper.findByID(String.valueOf(message.getMessage().getChatId())) != null) {
79
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "Anda telah menjadi user unipin monitoring");
80
+ } else {
81
+ this.monitoring.sendMessageForAdmin(
82
+ "REQUEST MEMBER \n" +
83
+ message.getMessage().getChatId() + " \n" +
84
+ message.getMessage().getChat().getFirstName() + " " + message.getMessage().getChat().getLastName());
85
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "Permintaan anda telah diteruskan kepada admin kami dan akan diprocess oleh admin kami");
6186 }
62
- } else {
63
- this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "WHO ARE YOU?");
87
+ } else if (text.startsWith("accept")) {
88
+ if (this.monitoringUserMapper.isAdmin(String.valueOf(message.getMessage().getChatId())) != null) {
89
+ String[] split = text.split("\\s+");
90
+ if (split.length > 3) {
91
+ this.monitoringUserMapper.insertNewUser(split[1], split[2]);
92
+ this.monitoringUserMapper.insertUserRule(split[1], split[3]);
93
+ this.monitoring.sendMessage(split[1],
94
+ "SELAMAT, Anda telah menjadi user di unipin monitoring dengan " +
95
+ "type user " + split[3]);
96
+ }
97
+ } else {
98
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "WHO ARE YOU?");
99
+ }
100
+ } else if (text.matches("(reset|ignore|abaikan|biarkan).*")) {
101
+ if (this.monitoringUserMapper.isAdmin(String.valueOf(message.getMessage().getChatId())) != null) {
102
+ this.starting = new Timestamp(System.currentTimeMillis());
103
+ this.monitoring.sendMessageForTechnical("error has been processed");
104
+ } else {
105
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "WHO ARE YOU?");
106
+ }
107
+ } else if (text.startsWith("trace")) {
108
+ String[] split = text.split("\\s+");
109
+ if (split[1].trim().matches("\\d+")) {
110
+ List<TblTransactionStates> tblTransactionStates = this.transactionStateRepository.findByID(Integer.valueOf(split[1].trim()));
111
+ for (TblTransactionStates state : tblTransactionStates) {
112
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()),
113
+ "state : " + state.getState() + "\n" +
114
+ "service : " + state.getService() + "\n" +
115
+ "message : " + state.getMessage() + "\n" +
116
+ "result : " + state.getResult() + "\n" +
117
+ "time : " + state.getTime()
118
+ );
119
+ }
120
+ } else {
121
+ this.monitoring.sendMessage(String.valueOf(message.getMessage().getChatId()), "cannot find transaction with id " + split[1]);
122
+ }
123
+ } else if (text.startsWith("restart")) {
124
+ String[] orders = text.split("\\s+");
125
+ this.restartService(orders[1]);
126
+ } else if (text.startsWith("start")) {
127
+ String[] orders = text.split("\\s+");
128
+ this.stopService(orders[1]);
129
+ } else if (text.startsWith("stop")) {
130
+ String[] orders = text.split("\\s+");
131
+ this.startService(orders[1]);
132
+ } else if (text.startsWith("check")) {
133
+ String[] orders = text.split("\\s+");
134
+ this.checkProcess(orders[1], String.valueOf(message.getMessage().getChatId()));
64135 }
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
- }
136
+ } catch (TelegramApiException e) {
137
+ e.printStackTrace();
71138 }
72
- } catch (TelegramApiException e) {
73
- e.printStackTrace();
139
+ } catch (Exception ex) {
140
+ ex.printStackTrace();
74141 }
75142 }
76143
....@@ -89,8 +156,31 @@
89156 clear = false;
90157 this.monitoring.sendMessageForTechnical(
91158 "CRITICAL ERROR \n" +
92
- "CANNOT RECEIVE RESPONSE WHILE SENDING MT\n" +
93
- state.getId()
159
+ "CANNOT RECEIVE RESPONSE FROM SMPP SERVER WHILE SENDING MT\n" +
160
+ state.getId() + "\b" +
161
+ state.getMessage()
162
+ );
163
+ } catch (TelegramApiException e) {
164
+ e.printStackTrace();
165
+ }
166
+ }
167
+ if (clear) {
168
+ this.starting = new Timestamp(System.currentTimeMillis());
169
+ }
170
+ }
171
+
172
+ @Scheduled(fixedRate = 1000 * 60 * 5)
173
+ public void checkMTResponseStuck() {
174
+ List<TblTransactionStates> states = transactionStateRepository.findForNoResp(this.starting, new Timestamp(System.currentTimeMillis()));
175
+ boolean clear = true;
176
+ for (TblTransactionStates state : states) {
177
+ try {
178
+ clear = false;
179
+ this.monitoring.sendMessageForTechnical(
180
+ "CRITICAL ERROR \n" +
181
+ "CANNOT RECEIVE RESPONSE FROM MT SERVICE WHILE REQUEST MT\n" +
182
+ state.getId() + "\b" +
183
+ state.getMessage()
94184 );
95185 } catch (TelegramApiException e) {
96186 e.printStackTrace();
....@@ -121,4 +211,114 @@
121211 this.starting = new Timestamp(System.currentTimeMillis());
122212 }
123213 }
214
+
215
+ protected void restartService(String service) throws Exception {
216
+ if (service.trim().equals("api")) {
217
+ Runtime.getRuntime().exec(this.apiFileStoping + " > /dev/null 2>&1");
218
+ Thread.sleep(1000 * 5);
219
+ Runtime.getRuntime().exec(this.apiFileStarting + " > /dev/null 2>&1");
220
+ } else if (service.trim().equals("request")) {
221
+ Runtime.getRuntime().exec(this.reqeustFileStoping + " > /dev/null 2>&1");
222
+ Thread.sleep(1000 * 5);
223
+ Runtime.getRuntime().exec(this.reqeustFileStarting + " > /dev/null 2>&1");
224
+ } else if (service.trim().equals("notification")) {
225
+ Runtime.getRuntime().exec(this.notificationFileStoping + " > /dev/null 2>&1");
226
+ Thread.sleep(1000 * 5);
227
+ Runtime.getRuntime().exec(this.notificationFileStarting + " > /dev/null 2>&1");
228
+ } else if (service.trim().equals("mo")) {
229
+ Runtime.getRuntime().exec(this.moFileStoping + " > /dev/null 2>&1");
230
+ Thread.sleep(1000 * 5);
231
+ Runtime.getRuntime().exec(this.moFileStarting + " > /dev/null 2>&1");
232
+ } else if (service.trim().equals("charge")) {
233
+ Runtime.getRuntime().exec(this.chargeFileStoping + " > /dev/null 2>&1");
234
+ Thread.sleep(1000 * 5);
235
+ Runtime.getRuntime().exec(this.chargeFileStarting + " > /dev/null 2>&1");
236
+ } else if (service.trim().equals("result")) {
237
+ Runtime.getRuntime().exec(this.resultFileStoping + " > /dev/null 2>&1");
238
+ Thread.sleep(1000 * 5);
239
+ Runtime.getRuntime().exec(this.resultFileStarting + " > /dev/null 2>&1");
240
+ } else if (service.trim().equals("bgw")) {
241
+ Runtime.getRuntime().exec(this.bgwFileStoping + " > /dev/null 2>&1");
242
+ Thread.sleep(1000 * 5);
243
+ Runtime.getRuntime().exec(this.bgwFileStarting + " > /dev/null 2>&1");
244
+ } else if (service.trim().equals("all")) {
245
+ Runtime.getRuntime().exec(this.apiFileStoping + " > /dev/null 2>&1");
246
+ Runtime.getRuntime().exec(this.reqeustFileStoping + " > /dev/null 2>&1");
247
+ Runtime.getRuntime().exec(this.notificationFileStoping + " > /dev/null 2>&1");
248
+ Runtime.getRuntime().exec(this.chargeFileStoping + " > /dev/null 2>&1");
249
+ Runtime.getRuntime().exec(this.resultFileStoping + " > /dev/null 2>&1");
250
+ Runtime.getRuntime().exec(this.bgwFileStoping + " > /dev/null 2>&1");
251
+ Thread.sleep(1000 * 5);
252
+ Runtime.getRuntime().exec(this.apiFileStarting + " > /dev/null 2>&1");
253
+ Runtime.getRuntime().exec(this.reqeustFileStarting + " > /dev/null 2>&1");
254
+ Runtime.getRuntime().exec(this.notificationFileStarting + " > /dev/null 2>&1");
255
+ Runtime.getRuntime().exec(this.chargeFileStarting + " > /dev/null 2>&1");
256
+ Runtime.getRuntime().exec(this.resultFileStarting + " > /dev/null 2>&1");
257
+ Runtime.getRuntime().exec(this.bgwFileStarting + " > /dev/null 2>&1");
258
+ }
259
+ }
260
+
261
+ protected void startService(String service) throws Exception {
262
+ if (service.trim().equals("api")) {
263
+ Runtime.getRuntime().exec(this.apiFileStarting + " > /dev/null 2>&1");
264
+ } else if (service.trim().equals("request")) {
265
+ Runtime.getRuntime().exec(this.reqeustFileStarting + " > /dev/null 2>&1");
266
+ } else if (service.trim().equals("notification")) {
267
+ Runtime.getRuntime().exec(this.notificationFileStarting + " > /dev/null 2>&1");
268
+ } else if (service.trim().equals("mo")) {
269
+ Runtime.getRuntime().exec(this.moFileStarting + " > /dev/null 2>&1");
270
+ } else if (service.trim().equals("charge")) {
271
+ Runtime.getRuntime().exec(this.chargeFileStarting + " > /dev/null 2>&1");
272
+ } else if (service.trim().equals("result")) {
273
+ Runtime.getRuntime().exec(this.resultFileStarting + " > /dev/null 2>&1");
274
+ } else if (service.trim().equals("bgw")) {
275
+ Runtime.getRuntime().exec(this.bgwFileStarting + " > /dev/null 2>&1");
276
+ } else if (service.trim().equals("all")) {
277
+ Runtime.getRuntime().exec(this.apiFileStarting + " > /dev/null 2>&1");
278
+ Runtime.getRuntime().exec(this.reqeustFileStarting + " > /dev/null 2>&1");
279
+ Runtime.getRuntime().exec(this.notificationFileStarting + " > /dev/null 2>&1");
280
+ Runtime.getRuntime().exec(this.chargeFileStarting + " > /dev/null 2>&1");
281
+ Runtime.getRuntime().exec(this.resultFileStarting + " > /dev/null 2>&1");
282
+ Runtime.getRuntime().exec(this.bgwFileStarting + " > /dev/null 2>&1");
283
+ }
284
+ }
285
+
286
+ protected void stopService(String service) throws Exception {
287
+ if (service.trim().equals("api")) {
288
+ Runtime.getRuntime().exec(this.apiFileStoping + " > /dev/null 2>&1");
289
+ } else if (service.trim().equals("request")) {
290
+ Runtime.getRuntime().exec(this.reqeustFileStoping + " > /dev/null 2>&1");
291
+ } else if (service.trim().equals("notification")) {
292
+ Runtime.getRuntime().exec(this.notificationFileStoping + " > /dev/null 2>&1");
293
+ } else if (service.trim().equals("mo")) {
294
+ Runtime.getRuntime().exec(this.moFileStoping + " > /dev/null 2>&1");
295
+ } else if (service.trim().equals("charge")) {
296
+ Runtime.getRuntime().exec(this.chargeFileStoping + " > /dev/null 2>&1");
297
+ } else if (service.trim().equals("result")) {
298
+ Runtime.getRuntime().exec(this.resultFileStoping + " > /dev/null 2>&1");
299
+ } else if (service.trim().equals("bgw")) {
300
+ Runtime.getRuntime().exec(this.bgwFileStoping + " > /dev/null 2>&1");
301
+ } else if (service.trim().equals("all")) {
302
+ Runtime.getRuntime().exec(this.apiFileStoping + " > /dev/null 2>&1");
303
+ Runtime.getRuntime().exec(this.reqeustFileStoping + " > /dev/null 2>&1");
304
+ Runtime.getRuntime().exec(this.notificationFileStoping + " > /dev/null 2>&1");
305
+ Runtime.getRuntime().exec(this.chargeFileStoping + " > /dev/null 2>&1");
306
+ Runtime.getRuntime().exec(this.resultFileStoping + " > /dev/null 2>&1");
307
+ Runtime.getRuntime().exec(this.bgwFileStoping + " > /dev/null 2>&1");
308
+ }
309
+ }
310
+
311
+ protected void checkProcess(String service, String chatID) throws IOException, TelegramApiException {
312
+ Process exec = Runtime.getRuntime().exec("/app1/am/app/unipin/shell/processcount.sh " + service);
313
+ BufferedReader input = new BufferedReader(new InputStreamReader(exec.getInputStream()));
314
+ String line;
315
+ while ((line = input.readLine()) != null) {
316
+ if (Integer.valueOf(line) < 2) {
317
+ this.monitoring.sendMessage(chatID, "Service " + service + " is not running");
318
+ } else {
319
+ this.monitoring.sendMessage(chatID, "Service " + service + " is running");
320
+ }
321
+ }
322
+ input.close();
323
+ }
124324 }
unipin_cms_service/src/main/resources/application.properties
....@@ -1,3 +1,19 @@
11 spring.profiles.active=prod
22 bot.telegram.token=525607346:AAFTIWe92y8wS2zobmGpyR7ptmjgNbtcMFI
33 bot.telegram.username=ami_unipin_bot
4
+
5
+app.file.shell.start.api=/app1/am/app/unipin/shell/starting-unipin-hutch-api-service.sh
6
+app.file.shell.start.request=/app1/am/app/unipin/shell/starting-unipin-hutch-request-service.sh
7
+app.file.shell.start.notification=/app1/am/app/unipin/shell/starting-unipin-hutch-notifivation-service.sh
8
+app.file.shell.start.mo=/app1/am/app/unipin/shell/starting-unipin-hutch-mo-service.sh
9
+app.file.shell.start.charge=/app1/am/app/unipin/shell/starting-unipin-hutch-charge-service.sh
10
+app.file.shell.start.result=/app1/am/app/unipin/shell/starting-unipin-hutch-result-service.sh
11
+app.file.shell.start.bgw=/app1/am/app/unipin/shell/starting-unipin-hutch-bgw-service.sh
12
+
13
+app.file.shell.stop.api=/app1/am/app/unipin/shell/stoping-unipin-hutch-api-service.sh
14
+app.file.shell.stop.request=/app1/am/app/unipin/shell/stoping-unipin-hutch-request-service.sh
15
+app.file.shell.stop.notification=/app1/am/app/unipin/shell/stoping-unipin-hutch-notifivation-service.sh
16
+app.file.shell.stop.mo=/app1/am/app/unipin/shell/stoping-unipin-hutch-mo-service.sh
17
+app.file.shell.stop.charge=/app1/am/app/unipin/shell/stoping-unipin-hutch-charge-service.sh
18
+app.file.shell.stop.result=/app1/am/app/unipin/shell/stoping-unipin-hutch-result-service.sh
19
+app.file.shell.stop.bgw=/app1/am/app/unipin/shell/stoping-unipin-hutch-bgw-service.sh
unipin_cms_service/src/main/resources/mybatis/mapper/transactionStatus.xml
....@@ -22,24 +22,72 @@
2222 </select>
2323
2424 <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
25
+ select
26
+ a.id,
27
+ a.msisdn as message
28
+ from
29
+ tbl_transaction as a,
30
+ (
31
+ select tbl_transaction_states.id from tbl_transaction_states
32
+ LEFT JOIN
33
+ ( select id from tbl_transaction_states where tbl_transaction_states.state="PROCESSED_REQUEST_MT") b
34
+ ON
35
+ tbl_transaction_states.id=b.id
36
+ where
37
+ b.id is null AND
38
+ tbl_transaction_states.state="SENDING_MT"
39
+ )b
40
+ where
41
+ a.id=b.id AND
42
+ a.time BETWEEN #{startingPeriod} and #{endingPeriod}
43
+ GROUP BY a.id
44
+ ORDER BY a.id DESC
3145 </select>
3246
3347 <select id="findForNoMO" parameterType="Date" resultMap="tblTransactionState">
34
- SELECT a.id, a.time
48
+ select
49
+ a.id,
50
+ a.msisdn as message
3551 from
36
- tbl_transaction_states a
52
+ tbl_transaction as a,
53
+ (
54
+ select tbl_transaction_states.id from tbl_transaction_states
55
+ LEFT JOIN
56
+ ( select id from tbl_transaction_states where tbl_transaction_states.state="DELIVERING_MO") b
57
+ ON
58
+ tbl_transaction_states.id=b.id
59
+ where
60
+ b.id is null AND
61
+ tbl_transaction_states.state="SENT_MT"
62
+ )b
3763 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
64
+ a.id=b.id AND
4065 a.time BETWEEN #{startingPeriod} and #{endingPeriod}
41
- GROUP BY id
42
- order by id DESC
66
+ GROUP BY a.id
67
+ ORDER BY a.id DESC
68
+ </select>
69
+
70
+ <select id="findForNoResp" parameterType="Date" resultMap="tblTransactionState">
71
+ select
72
+ a.id,
73
+ a.msisdn as message
74
+ from
75
+ tbl_transaction as a,
76
+ (
77
+ select tbl_transaction_states.id from tbl_transaction_states
78
+ LEFT JOIN
79
+ ( select id from tbl_transaction_states where tbl_transaction_states.state="SENT_MT") b
80
+ ON
81
+ tbl_transaction_states.id=b.id
82
+ where
83
+ b.id is null AND
84
+ tbl_transaction_states.state="PROCESSED_REQUEST_MT"
85
+ )b
86
+ where
87
+ a.id=b.id AND
88
+ a.time BETWEEN #{startingPeriod} and #{endingPeriod}
89
+ GROUP BY a.id
90
+ ORDER BY a.id DESC
4391 </select>
4492
4593 </mapper>
unipin_cms_service/src/main/resources/static/images/h3i.png
Binary files differ
unipin_cms_service/src/main/resources/templates/index.html
....@@ -47,7 +47,7 @@
4747 <a href="javascript:void(0);" class="navbar-toggle collapsed" data-toggle="collapse"
4848 data-target="#navbar-collapse" aria-expanded="false"></a>
4949 <a href="javascript:void(0);" class="bars"></a>
50
- <img src="images/h3i.png" style="max-width: 150px"/>
50
+ <img src="images/h3i.png" style="max-height: 50px"/>
5151 </div>
5252 </div>
5353 </nav>