Skip to content

auth gateway API 0.7

mlaboszc edited this page May 24, 2016 · 1 revision

Overview

Api endpoints for adding and removing authorization data for hadoop components in TAP

Contact information

License information

License: Apache License Version 2.0 License URL: http://www.apache.org/licenses/LICENSE-2.0

URI scheme

Host: auth-gateway.branch-v07-nokrb.gotapaas.eu BasePath: /

Tags

  • auth-gateway-controller: Auth Gateway Controller

Paths

Creating organization: in case of hdfs - creating directory, zookeeper - creating znode, sentry - roles on cdh cluster, hgm - usergroupmapping

PUT /organizations/{orgId}

Parameters

Type Name Description Required Schema Default
PathParameter orgId orgId true string

Responses

HTTP Code Description Schema
200 OK No Content

Consumes

  • application/json

Produces

  • /

Tags

  • auth-gateway-controller

Removing organization: in case of hdfs - removing directory, zookeeper - removing znode, sentry - roles on cdh cluster, hgm - usergroupmapping

DELETE /organizations/{orgId}

Parameters

Type Name Description Required Schema Default
PathParameter orgId orgId true string

Responses

HTTP Code Description Schema
200 OK No Content

Consumes

  • application/json

Produces

  • /

Tags

  • auth-gateway-controller

Adding user's access to hadoop components in given organization

PUT /organizations/{orgId}/users/{userId}

Parameters

Type Name Description Required Schema Default
PathParameter userId userId true string
PathParameter orgId orgId true string

Responses

HTTP Code Description Schema
200 OK No Content

Consumes

  • application/json

Produces

  • /

Tags

  • auth-gateway-controller

Removing user's access to hadoop components in given organization

DELETE /organizations/{orgId}/users/{userId}

Parameters

Type Name Description Required Schema Default
PathParameter userId userId true string
PathParameter orgId orgId true string

Responses

HTTP Code Description Schema
200 OK No Content

Consumes

  • application/json

Produces

  • /

Tags

  • auth-gateway-controller

addUser

PUT /users/{userId}

Parameters

Type Name Description Required Schema Default
PathParameter userId userId true string

Responses

HTTP Code Description Schema
200 OK No Content

Consumes

  • application/json

Produces

  • /

Tags

  • auth-gateway-controller

deleteUser

DELETE /users/{userId}

Parameters

Type Name Description Required Schema Default
PathParameter userId userId true string

Responses

HTTP Code Description Schema
200 OK No Content

Consumes

  • application/json

Produces

  • /

Tags

  • auth-gateway-controller
Clone this wiki locally