2015-09-21 20:02:46 |
Devdatta Kulkarni |
description |
We want to move the logs resource from the assembly to workflow resource.
The main changes are in following locations:
1) Move the userlog resources from AssemblyController to WorkflowController
2) Modify TenantLogger to use Workflow instead of Assembly. Specifically,
solum/solum/uploaders/tenant_logger currently takes in assembly as input. We can keep that, but in line 53 where we are calling uploadr we should pass the workflow.id corresponding to this assembly.
3) Modify SwiftUpload to use resource.id instead of resource.uuid. This is because the workflow object uses 'id' and not 'uuid'.
4) Modify solum/uploaders/common.py line 78 to use 'id' instead of 'uuid'. |
We want to move the logs resource from the assembly to workflow resource.
i.e., currently we have:
/v1/assemblies/<assembly-id>/logs
we want to change this to:
/v1/workflows/<workflow-id>/logs
The main changes are in following locations:
1) Move the userlog resources from AssemblyController to WorkflowController
2) Modify TenantLogger to use Workflow instead of Assembly. Specifically,
solum/solum/uploaders/tenant_logger currently takes in assembly as input. We can keep that, but in line 53 where we are calling uploadr we should pass the workflow.id corresponding to this assembly.
3) Modify SwiftUpload to use resource.id instead of resource.uuid. This is because the workflow object uses 'id' and not 'uuid'.
4) Modify solum/uploaders/common.py line 78 to use 'id' instead of 'uuid'. |
|