Migrate Queue Administration Tasks from Ingest to the Merritt Admin Tool
service | admin endpoint | future loc | feature needed | comment |
---|---|---|---|---|
ingest | /state | NA | /admin/state duplicates /state | |
ingest | /help | NA | /admin/help duplicates /state | |
ingest | POST reset | ?? | ||
ingest m1 | /locks | admin | read zookeeper from admin | |
ingest m1 | /queues | admin | read zookeeper from admin | NA |
ingest m1 | /queues-acc | admin | read zookeeper from admin | NA |
ingest m1 | /queues-inv | admin | read zookeeper from admin | |
ingest m1 | /queue | admin | read zookeeper from admin | ? |
ingest m1 | /queue/{queue} | admin | read zookeeper from admin | Job.list_all Job.list_all_legacy |
ingest m1 | /queue-acc/{queue} | admin | read zookeeper from admin | Assembly.list_all_legacy |
ingest m1 | /queue-inv/{queue} | admin | read zookeeper from admin | Job.list_all_legacy_inv |
ingest m1 | /lock/{lock} | admin | read zookeeper from admin | ObjectLocks.list_all |
ingest m1 | POST /requeue/{queue}/{id}/{fromState} | admin | write zookeeper from admin | job.set_status(zk, job.status.state_change(:State)) |
ingest m1 | POST /deleteq/{queue}/{id}/{fromState} | admin | write zookeeper from admin | job.delete(zk) |
ingest m1 | POST /cleanupq/{queue} | admin | write zookeeper from admin | Job.cleanup |
ingest m1 | POST /{action: hold or release}/{queue}/{id} | admin | write zookeeper from admin | job.set_status(zk, job.status.state_change(:State)) |
ingest m1 | POST /release-all/{queue}/{profile} | admin | write zookeeper from admin | Collection.release_jobs |
ingest m4 | {profilePath} | admin | profiles as artifact | |
ingest m4 | /profiles-full | admin | profiles as artifact | this endpoint also returns data related to collection locks (m2) |
ingest m4 | /profile/{profile} | admin | profiles as artifact | |
ingest m4 | /profile/admin/{env}/{type}/{profile} | admin | profiles as artifact | |
ingest | /bids/{batchAge} | ingest | mount zfs to lambda | keep in ingest |
ingest | /bid/{batchID} | ingest | mount zfs to lambda | keep in ingest |
ingest | /bid/{batchID}/{batchAge} | ingest | mount zfs to lamda | keep in ingest |
ingest | /jid-erc/{batchID}/{jobID} | ingest | mount zfs to lambda | keep in ingest |
ingest | /jid-file/{batchID}/{jobID} | ingest | mount zfs to lambda | keep in ingest |
ingest | /jid-manifest/{batchID}/{jobID} | ingest | mount zfs to lambda | keep in ingest |
ingest m2 | POST /submission/{request: freeze or thaw}/{collection} | admin | implement hold/freeze in ZK | Collection.hold Collection.release |
ingest m2 | POST /submissions/{request: freeze or thaw} | admin | implement hold/freeze in ZK | Job.hold Job.release |
ingest m4 | POST /profile/{type} | admin? | Is this simply a template edit? If so, could the admin tool do this? | |
access m3 | POST /flag/set/access/#{qobj} | admin | write zookeeper from admin | Access.hold |
access m3 | POST /flag/clear/access/#{qobj} | admin | write zookeeper from admin | Access.relese |