Skip to content

Commit

Permalink
Register transfer REST API
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Jan 9, 2025
1 parent ea263e8 commit 8cd1d29
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 8cd1d29

Please sign in to comment.