History | View | Annotate | Download (12.7 kB)
Better handling of log messages
Never, ever log tokens
Create AstakosClient Class
Add retry option to AstakosClient
Implement getTokenFromCookie function
Move token argument
Remove token argument from class initializationmethod and make it a mandatory argument to allthe other class methods.
Rename conn variable to conn_class
Better handling of default parameter values
Better format for logging messages
Implement getUUIDs/getUUID methods
Add getServices method
Query Astakos `/service/api/user_catalogs'
More log messages in AstakosClient
Log retries.Log hashed tokens.
Create more Exception Classes for AstakosClient
Implement low-level _callAstakos function
This function will handle all requests to Astakos.On top of this we should build high level wrapperfunctions to handle more specific calls/requeststo Astakos. _callAstakos function should logevery single action.
Separate actual _doRequest from _callAstakos
Creating a new function `_doRequest' to handlethe actual requests to astakos service makesit easy to mock it later for unit testingour module.
Add more unit tests for _callAstakos function
Implement a simple `retry' decorator
Implement `authenticate' function
Implement getDisplayNames function
Initialize snf-astakos-client