This week I worked on adding Clients to Workload Managment System (WMS) and using them accordingly in different modules of WMS.
The main idea behind using Clients is that it allows an interface via which the DBs are accessible. It is not preferable that every module present in the project is accessing DBs directly using the DB objects available in every component of the project.
The summary of the work done in this week can be found below:
The main idea behind using Clients is that it allows an interface via which the DBs are accessible. It is not preferable that every module present in the project is accessing DBs directly using the DB objects available in every component of the project.
The summary of the work done in this week can be found below:
- Add WMS/Client/JobStateUpdateClient.py
- Add WMS/Client/JobManagerClient.py
- Use the above Client classes instead of invoking RPCClient()
Implementation and Pull request can be found in the link here.
Comments
Post a Comment