Skip to content

Commit

Permalink
Merge pull request #12221 from vkuznet/fix-issue-12040-fix3
Browse files Browse the repository at this point in the history
Register transfer REST APIs
  • Loading branch information
amaltaro authored Jan 13, 2025
2 parents a828a06 + 8cd1d29 commit 38ab0d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/python/WMCore/MicroService/Service/RestApiHub.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ def __init__(self, app, config, mount):
# the mount point should match service configuration, e.g. in MSPileup we define
# mount point as /ms-pileup/data, e.g. http://.../ms-pileup/data
if 'ms-pileup' in mount:
# add new API "pileup" and it will be accessible as /ms-pileup/data/pileup
self._add({"pileup": Data(app, self, config, mount)})
elif 'ms-transferor' in mount:
# add new API "transferor" and it will be accessible as /ms-transferor/data/transferor
self._add({"transferor": Data(app, self, config, mount)})

0 comments on commit 38ab0d4

Please sign in to comment.