Создал вот такой режим активации, дабы посмотреть что произойдёт, когда наступит срок выключения.
В сети случилась беда и доступа во вне не было (не знаю связано ли это), но в логах аксесса попытки подключиться и вырубить подписку не было.
В общем, я решил продлить ещё на 1 день подписку через лк и началось вот такое по несколько раз в секунду:
Код:
accounting 03-28/01:01:48 INFO [product-period-worker] ProductManager - Product[9-47] period[39] prolongate to Mon Mar 28 00:59:56 MSK 2016
mq 03-28/01:01:48 INFO [event-proc-p-2-t-1] ContractRuntimeMap - Taked event: Event[ru.bitel.oss.systems.inventory.product.common.event.ProductPeriodModifiedEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0; timestamp: 1459116108213
mq 03-28/01:01:48 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Caught event: Event[ru.bitel.oss.systems.inventory.product.common.event.ProductPeriodModifiedEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0; timestamp: 1459116108213
mq 03-28/01:01:48 INFO [event-proc-p-2-t-1] ContractRuntimeMap - Taked event: Event[ru.bitel.oss.systems.inventory.product.common.event.ProductPeriodModifiedEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0; timestamp: 1459116108213
accounting 03-28/01:01:48 INFO [product-period-worker] ProductManager - Product[9-47] period[39] prolongate to Mon Mar 28 00:59:56 MSK 2016
mq 03-28/01:01:48 INFO [event-proc-p-2-t-1] ContractRuntimeMap - Taked event: Event[ru.bitel.oss.systems.inventory.product.common.event.ProductPeriodModifiedEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0; timestamp: 1459116108664
Код:
accounting 03-28/01:06:31 INFO [product-period-worker] ProductManager - Product[9-47] period[39] prolongate to Mon Mar 28 00:59:56 MSK 2016
accounting 03-28/01:06:31 INFO [product-period-worker] ProductManager - Product[9-47] period[39] prolongate to Mon Mar 28 00:59:56 MSK 2016
accounting 03-28/01:06:31 INFO [product-period-worker] ProductManager - Product[9-47] period[39] prolongate to Mon Mar 28 00:59:56 MSK 2016
В логах аксесса появились подключения к серверу, тоже несколько раз в секунду в попытке сделать непонятно что:
Код:
03-28/01:15:23 INFO [sa-p-6-t-2] JsonClient - get: http://proxy.lfstrm.tv:80/v1/56f8135be2a6fe01c3003b43/subscriptions
03-28/01:15:23 INFO [sa-p-6-t-2] JsonClient - << [{"id": "110"}]
03-28/01:15:23 INFO [sa-p-6-t-2] LifeStreamOrderManager - Current serviceIds: [110], need serviceIds: [110]
03-28/01:15:23 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Process event type[2] result=true
03-28/01:15:23 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvProductsModifyEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0
ProductEntry [oldProduct=Product [cid-aid=1116-8, productSpecId=9, period=27.03.2016 20:44:47-27.03.2016 23:59:59/27.03.2016 20:44:46, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], newProduct=Product [cid-aid=1116-8, productSpecId=9, period=27.03.2016 20:44:47-27.03.2016 23:59:59/27.03.2016 20:44:46, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], oldState=1, newState=1, serviceEntryList=null]; timestamp: 1459104316062
03-28/01:15:23 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Command result event: ru.bitel.bgbilling.modules.tv.access.om.ProductOrderEvent@665e4aa5
03-28/01:15:23 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Processing deviceId:2; command ru.bitel.bgbilling.modules.tv.access.om.ProductOrderEvent@665e4aa5
03-28/01:15:23 INFO [sa-p-6-t-2] OrderManagerSet - Invoking productsModify
03-28/01:15:23 INFO [sa-p-6-t-2] LifeStreamOrderManager - Product: 25 ?? 25
03-28/01:15:23 INFO [sa-p-6-t-2] JsonClient - get: http://proxy.lfstrm.tv:80/v1/56f8135be2a6fe01c3003b43/subscriptions
03-28/01:15:24 INFO [sa-p-6-t-2] JsonClient - << [{"id": "110"}]
03-28/01:15:24 INFO [sa-p-6-t-2] LifeStreamOrderManager - Current serviceIds: [110], need serviceIds: [110]
03-28/01:15:24 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Process event type[2] result=true
03-28/01:15:24 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvProductsModifyEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0
ProductEntry [oldProduct=Product [cid-aid=1116-8, productSpecId=9, period=27.03.2016 20:44:47-27.03.2016 23:59:59/27.03.2016 20:44:46, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], newProduct=Product [cid-aid=1116-8, productSpecId=9, period=27.03.2016 20:44:47-27.03.2016 23:59:59/27.03.2016 20:44:46, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], oldState=1, newState=1, serviceEntryList=null]; timestamp: 1459104316149
После этого я удалил продукт и модуль с договора. Ничего не прекратилось и я ребутнул биллинг.
После того, как он поднялся в логах было куча попыток что-то сделать с несуществующим продуктом:
Код:
eactivationTime=null, deviceState=0, serviceList=null], newProduct=Product [cid-aid=1116-8, productSpecId=9, period=28.03.2016 00:59:57-28.03.2016 23:59:59/28.03.2016 00:59:56, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], oldState=-1, newState=1, serviceEntryList=null]; timestamp: 1459117086631
03-28/01:29:47 ERROR [sa-p-6-t-2] OmTvProductsModifyEvent - InetServ not found with id=8
03-28/01:29:47 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvProductsModifyEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0
ProductEntry [oldProduct=Product [cid-aid=1116-8, productSpecId=9, period=28.03.2016 00:59:57-28.03.2016 23:59:59/28.03.2016 00:59:56, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], newProduct=Product [cid-aid=1116-8, productSpecId=9, period=28.03.2016 00:59:57-28.03.2016 23:59:59/28.03.2016 00:59:56, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], oldState=-1, newState=1, serviceEntryList=null]; timestamp: 1459117086715
03-28/01:29:47 ERROR [sa-p-6-t-2] OmTvProductsModifyEvent - InetServ not found with id=8
03-28/01:29:47 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvProductsModifyEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0
ProductEntry [oldProduct=Product [cid-aid=1116-8, productSpecId=9, period=28.03.2016 00:59:57-28.03.2016 23:59:59/28.03.2016 00:59:56, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], newProduct=Product [cid-aid=1116-8, productSpecId=9, period=28.03.2016 00:59:57-28.03.2016 23:59:59/28.03.2016 00:59:56, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], oldState=-1, newState=1, serviceEntryList=null]; timestamp: 1459117086841
03-28/01:29:47 ERROR [sa-p-6-t-2] OmTvProductsModifyEvent - InetServ not found with id=8
03-28/01:29:47 INFO [sa-p-6-t-2] OrderManagerDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvProductsModifyEvent] moduleId: 9; pluginId: no; cid: 1116; scid: -1; userId: 0
ProductEntry [oldProduct=Product [cid-aid=1116-8, productSpecId=9, period=28.03.2016 00:59:57-28.03.2016 23:59:59/28.03.2016 00:59:56, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], newProduct=Product [cid-aid=1116-8, productSpecId=9, period=28.03.2016 00:59:57-28.03.2016 23:59:59/28.03.2016 00:59:56, activationModeId=22, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], oldState=-1, newState=1, serviceEntryList=null]; timestamp: 1459117086959
03-28/01:29:47 ERROR [sa-p-6-t-2] OmTvProductsModifyEvent - InetServ not found with id=8
Так продолжалось какое-то время, а потом прекратилось само собой.
Собственно, что это было, откуда взялись OmTvProductsModifyEvent и что делать в таких случаях?