Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Restful call API is handled by org.apache.sqoop.handler.AuthorizationRequestHandler.java in sqoop-server
    • GET /v1/role/{rid}
      • Return details about one particular role with id:rid
      • Return all of them if rid equals to "all"
    • POST PUT /v1/role
      • Create new role without id:rid
      • Update existing role with id:rid
      • POST data of JsonObject MRole
    • DELETE /v1/role/{rid}
    • GET /v1/role_user_group/{rugid}
      • Return details about one particular role_user_group with id:rugid
      • Return all of them if rugid equals to "all"
    • POST PUT /v1/role_user_group
      • Create new role without id:rugid
      • Update existing role_user_group with id:rid
      • POST data of JsonObject MRoleUserGroup
    • DELETE /v1/role_user_group/{rugid}
    • GET /v1/privilege/{pid}
      • Return details about one particular privilege with id:pid
      • Return all of them if pid equals to "all"
    • POST PUT /v1/privilege
      • Create new role without id:pid
      • Update existing privilege with id:pid
      • POST data of JsonObject MRoleUserGroup
    • DELETE /v1/privilege/{pid}

...