bondy
bondy copied to clipboard
Expose all the Bondy Admin WAMP API Procedures via HTTP
At the moment not all the Admin WAMP API procedures are available via the Admin HTTP API.
Realm
- [X]
bondy.realm.create
→POST /realms
- [X]
bondy.realm.get
→GET /realms/:realm_uri
- [X]
bondy.realm.update
→PUT /realms/:realm_uri
- [X]
bondy.realm.list
→GET /realms
- [X]
bondy.realm.delete
→DELETE /realms/:realm_uri
- [X]
bondy.realm.security.is_enabled
→GET /realms/:realm_uri/security_enabled
- [X]
bondy.realm.security.enable
→PUT /realms/:realm_uri/security_enabled
- [X]
bondy.realm.security.disable
→DELETE /realms/:realm_uri/security_enabled
User
- [X]
bondy.user.add
→POST /realms/:realm_uri/users/
- [X]
bondy.user.delete
→DELETE /realms/:realm_uri/users/:id
- [X]
bondy.user.get
→GET /realms/:realm_uri/users/:id
- [X]
bondy.user.update
→PUT /realms/:realm_uri/users/:id/
- [X]
bondy.user.list
→GET /realms/:realm_uri/users/
- [X]
bondy.user.is_enabled
→GET /realms/:realm_uri/users/:id/enabled
- [X]
bondy.user.enable
→PUT /realms/:realm_uri/users/:id/enabled
- [X]
bondy.user.disable
→DELETE /realms/:realm_uri/users/:id/enabled
- [X]
bondy.user.change_password
->POST /realms/:realm_uri/users/:id/change_password
- [X]
bondy.user.add_alias
→PUT /realms/:realm_uri/users/:id/aliases/:alias
- [X]
bondy.user.remove_alias
→DELETE /realms/:realm_uri/users/:id/aliases/:alias
- [X]
bondy.user.add_group
→PUT /realms/:realm_uri/users/:id/groups/:group
- [X]
bondy.user.remove_group
→DELETE /realms/:realm_uri/users/:id/groups/:group
- [ ]
bondy.user.add_groups
- [ ]
bondy.user.remove_groups
Group
- [X]
bondy.group.add
→POST /realms/:realm_uri/gropus
- [ ]
bondy.group.add_group
- [ ]
bondy.group.add_groups
- [X]
bondy.group.delete
→DELETE /realms/:realm_uri/groups/:id
- [X]
bondy.group.get
→GET /realms/:realm_uri/groups/:id
- [X]
bondy.group.list
- [ ]
bondy.group.remove_group
- [ ]
bondy.group.remove_groups
- [X]
bondy.group.update
→PUT /realms/:realm_uri/groups/:id
Source
- [x]
bondy.source.add
- [x]
bondy.source.delete
- [ ]
bondy.source.get
- [x]
bondy.source.list
- [x]
bondy.source.match
Grant
See #22.
Session
- [ ]
wamp.session.get
Ticket
- [ ]
bondy.ticket.revoke_all
OAuth2 Token
Cluster
Bridge Relay (Edge)
- [ ]
bondy.router.bridge.add
- [ ]
bondy.router.bridge.remove
- [ ]
bondy.router.bridge.start
- [ ]
bondy.router.bridge.stop
- [ ]
bondy.router.bridge.get
- [ ]
bondy.router.bridge.list
- [ ]
bondy.router.bridge.status
- [ ]
bondy.router.bridge.check_spec
HTTP API Gateway
- [ ]
bondy.http_gateway.api.add
- [X]
bondy.http_gateway.api.get
→GET /api_specs/:id
|GET /api_specs/:id/info
- [X]
bondy.http_gateway.api.list
->GET /api_specs
- [X]
bondy.http_gateway.api.load
->POST /api_specs
- [x]
bondy.http_gateway.api.delete
Are there also permissions for managing realms or users / groups / grants in a realm? So a user must authenticate before any operation can be done.
With #25 fixed, we can assume that the next two are working.
- [x]
bondy.user.disable
- [x]
bondy.user.enable
Not really, cause you are using WAMP to call them e.g. wick
:-) This task is to implement the HTTP API Gateway bindings
Added the following HTTP API bindings
- bondy.user.is_enabled -> GET /realms/:uri/users/:id/enabled
- bondy.user.disable -> DELETE /realms/:uri/users/:id/enablde
- bondy.user.enable -> PUT /realms/:uri/users/:id/enabled
Commit 080478a45e5f3ae36ed163424dbbf9d2150f4a9a
Not really, cause you are using WAMP to call them This task is to implement the HTTP API Gateway bindings
Whoops ... :cry: my bad, was a bit too exited, because I'm using HTTP to do the WAMP call :grinning:
Added more APIs in 6e94528435527cc6838162136af12ac7ec3e3041
Adding
- [x] bondy.http_gateway.api.delete -> DELETE /api_specs/:id in PR https://github.com/bondy-io/bondy/pull/34
Adding
- [x] bondy.grant.create -> POST /realms/:realm_uri/grants
- [x] bondy.grant.revoke -> PUT /realms/:realm_uri/grants
- [x] bondy.realm.grants -> GET /realms/:realm_uri/grants
- [x] bondy.group.grants -> GET /realms/:realm_uri/groups/:id/grants
- [x] bondy.user.grants -> GET /realms/:realm_uri/users/:id/grants
in PR https://github.com/bondy-io/bondy/pull/35 and related to ISSUE https://github.com/bondy-io/bondy/issues/22
Adding
- [x] bondy.source.list -> GET /realms/:realm_uri/sources
- [x] bondy.source.add -> POST /realms/:realm_uri/sources
- [x] bondy.source.match -> GET /realms/:realm_uri/users/:id/sources
- [x] bondy.source.delete -> DELETE /realms/:realm_uri/users/:id/sources
In PR https://github.com/bondy-io/bondy/pull/37