assemblyline-v4-service 4.5.0.31__py3-none-any.whl → 4.5.0.33__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of assemblyline-v4-service might be problematic. Click here for more details.
- assemblyline_v4_service/VERSION +1 -1
- assemblyline_v4_service/updater/updater.py +6 -4
- {assemblyline_v4_service-4.5.0.31.dist-info → assemblyline_v4_service-4.5.0.33.dist-info}/METADATA +1 -1
- {assemblyline_v4_service-4.5.0.31.dist-info → assemblyline_v4_service-4.5.0.33.dist-info}/RECORD +7 -7
- {assemblyline_v4_service-4.5.0.31.dist-info → assemblyline_v4_service-4.5.0.33.dist-info}/LICENCE.md +0 -0
- {assemblyline_v4_service-4.5.0.31.dist-info → assemblyline_v4_service-4.5.0.33.dist-info}/WHEEL +0 -0
- {assemblyline_v4_service-4.5.0.31.dist-info → assemblyline_v4_service-4.5.0.33.dist-info}/top_level.txt +0 -0
assemblyline_v4_service/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.5.0.
|
|
1
|
+
4.5.0.33
|
|
@@ -239,16 +239,18 @@ class ServiceUpdater(ThreadedCoreBase):
|
|
|
239
239
|
self._pull_settings()
|
|
240
240
|
|
|
241
241
|
def _sync_settings(self):
|
|
242
|
-
#
|
|
243
|
-
self._service
|
|
244
|
-
|
|
245
|
-
while self.sleep(SERVICE_PULL_INTERVAL):
|
|
242
|
+
# Pull settings at startup and periodically thereafter
|
|
243
|
+
while not self._service or self.sleep(SERVICE_PULL_INTERVAL):
|
|
246
244
|
self._pull_settings()
|
|
247
245
|
|
|
248
246
|
def _pull_settings(self):
|
|
249
247
|
# Download the service object from datastore
|
|
250
248
|
self._service = self.datastore.get_service_with_delta(SERVICE_NAME)
|
|
251
249
|
|
|
250
|
+
# Update signature client with any changes to classification rewrites
|
|
251
|
+
self.client.signature.classification_replace_map = \
|
|
252
|
+
self._service.config.get('updater', {}).get('classification_replace', {})
|
|
253
|
+
|
|
252
254
|
# If the update configuration for the service has changed, trigger an update
|
|
253
255
|
if self.config_hash(self._service) != self.get_active_config_hash():
|
|
254
256
|
self.source_update_flag.set()
|
{assemblyline_v4_service-4.5.0.31.dist-info → assemblyline_v4_service-4.5.0.33.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
assemblyline_v4_service/VERSION,sha256=
|
|
1
|
+
assemblyline_v4_service/VERSION,sha256=dzQYKb4IKZuhtaklUqaeQcwnSiLMJkAkmM21DBNgZHE,9
|
|
2
2
|
assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
assemblyline_v4_service/healthz.py,sha256=3QGBg0EZuXC6UN411HFwpLNEop9UvS9feFhvBUTP-k4,1576
|
|
4
4
|
assemblyline_v4_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -22,7 +22,7 @@ assemblyline_v4_service/updater/app.py,sha256=Mtmx4bkXfP4nFqqa5q15jW8QIXr4JK84lC
|
|
|
22
22
|
assemblyline_v4_service/updater/client.py,sha256=7_56Ie-2073FlrVWscS-3lIIkg8F-81u97FVNqEJLyQ,9798
|
|
23
23
|
assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
|
|
24
24
|
assemblyline_v4_service/updater/helper.py,sha256=-B35wdjpeY4t1R9SPDrTFHFKHwE3uzy9N69mV6mHy-g,9532
|
|
25
|
-
assemblyline_v4_service/updater/updater.py,sha256=
|
|
25
|
+
assemblyline_v4_service/updater/updater.py,sha256=knl8X1xG5wF9nl8j--0WC3BmzQ0PO1Zq7RW58euVjn0,29687
|
|
26
26
|
test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
test/conftest.py,sha256=W3SieQpZsZpGEmtLqY4aIlxREDSsHceyCrFcFsWUM0U,1851
|
|
28
28
|
test/test_healthz.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
|
@@ -38,8 +38,8 @@ test/test_common/test_request.py,sha256=zoBURe3QbycWK4I7uvkixcmykrOCqY_TchmxJinN
|
|
|
38
38
|
test/test_common/test_result.py,sha256=6BiOKxEPrKBjOY44jv3TY-yiXm0qI1ok_CZBnjP9TM4,45447
|
|
39
39
|
test/test_common/test_task.py,sha256=LzEIfFHJEcB_YPucOZGtm1TwyHnqJE-0Qc2MDsH4TN4,18957
|
|
40
40
|
test/test_common/test_utils.py,sha256=TbnBxqpS_ZC5ptXR9XJX3xtbItD0mTbtiBxxdyP8J5k,5904
|
|
41
|
-
assemblyline_v4_service-4.5.0.
|
|
42
|
-
assemblyline_v4_service-4.5.0.
|
|
43
|
-
assemblyline_v4_service-4.5.0.
|
|
44
|
-
assemblyline_v4_service-4.5.0.
|
|
45
|
-
assemblyline_v4_service-4.5.0.
|
|
41
|
+
assemblyline_v4_service-4.5.0.33.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
|
|
42
|
+
assemblyline_v4_service-4.5.0.33.dist-info/METADATA,sha256=mmCnSfyqEdlqMn1txfkhNh98rU4tRmg_g9JxlyXnzZ4,9495
|
|
43
|
+
assemblyline_v4_service-4.5.0.33.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
44
|
+
assemblyline_v4_service-4.5.0.33.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
|
|
45
|
+
assemblyline_v4_service-4.5.0.33.dist-info/RECORD,,
|
{assemblyline_v4_service-4.5.0.31.dist-info → assemblyline_v4_service-4.5.0.33.dist-info}/LICENCE.md
RENAMED
|
File without changes
|
{assemblyline_v4_service-4.5.0.31.dist-info → assemblyline_v4_service-4.5.0.33.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|