Support for APEL AMS (Fixes BUGZ-4016)
Begin arcbot message
This merge request is automatically copied from !1168 (merged) orginally made by @andrii
End arcbot message
Reworking APEL accounting publishing to support ARGO AMS messaging protocol.
Summary of changes:
- redistributed python libraries are moved under 'arc.thirdparty' to be explicit about the fact that code is not maintained by ARC developers
- redistributed SSM bumped to latest 3.2.0 + python3 known fix. Import statements are reworked for ARC imports
- new redistribured ARGO AMS python library
- all this extra libs goes now to dedicated subpackage
nordugrid-arc-thirdparty-apel
along with package dependencies definitions - new apel_protocol parameter introduced in arc.conf and passed down to SSM
First test STOMP is still working:
- alter APEL target config:
[arex/jura/apel: KEEPOLDNAME]
# keep everything but add
apel_protocol = STOMP
- Install
nordugrid-arc-thirdparty-apel
subpackage.
HINT (and something to test as well) If you have apel block defined arcctl service start --as-configured
should install this package automatically.
Test publishing to AMS:
- alter APEL target config:
[arex/jura/apel: KEEPOLDNAME]
# change targeturl
targeturl = https://msg.argo.grnet.gr
# delete 'topic' and 'apel_protocol' to rely on defaults that are now set for AMS
# keep everything else
The nordugrid-arc-thirdparty-apel
subpackage should be already installed after previous step.
More things to test:
- Republishing from
arcctl
- How it "works" without
nordugrid-arc-thirdparty-apel
installed - Enable debug logging and check SSM and AMS modules are verbose as well
Edited by Maiken