rs_workflows/operation/osam_flows.md
OSAM flow implementation
OSAMRequestError
Bases: Exception
Raised when OSAM returns an unexpected HTTP status.
Source code in docs/rs-client-libraries/rs_workflows/operation/osam_flows.py
32 33 | |
OSAMUserNotFoundError
Bases: Exception
Raised when the OSAM user does not exist.
Source code in docs/rs-client-libraries/rs_workflows/operation/osam_flows.py
28 29 | |
create_rights_artifact(rights, username)
async
Register the JSON with OBS rights.
Source code in docs/rs-client-libraries/rs_workflows/operation/osam_flows.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | |
osam_synchronize_accounts(env=FlowEnvArgs(owner_id='operator-osam'))
async
Synchronize keycloak and object storage accounts.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
user account that call the flow |
FlowEnvArgs(owner_id='operator-osam')
|
Raises:
| Type | Description |
|---|---|
OSAMRequestError
|
error HTTP status error |
Source code in docs/rs-client-libraries/rs_workflows/operation/osam_flows.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |
osam_update_user(user_name, env=FlowEnvArgs(owner_id='operator-osam'))
async
Flow that update a single OBS account.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
account that call the flow |
FlowEnvArgs(owner_id='operator-osam')
|
user_name
|
str
|
account to be updated |
required |
Source code in docs/rs-client-libraries/rs_workflows/operation/osam_flows.py
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | |