Conversation
Remove deprecated glues
There was a problem hiding this comment.
Pull Request Overview
This PR removes deprecated glue constructs and their associated stack configurations from the codebase. The changes clean up unused pipeline manager stacks and their corresponding glue handler constructs that are no longer needed.
- Removed imports for deprecated stack classes while keeping their props interfaces
- Commented out instantiation of deprecated pipeline manager stacks and moved them to commented sections
- Commented out deprecated glue handler construct instantiations
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| lib/workload/stateless/statelessStackCollectionClass.ts | Removes deprecated stack class imports and comments out their instantiations while preserving props imports |
| lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/index.ts | Comments out deprecated glue handler construct instantiations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| // this.oraDecompressionManagerStack = new OraDecompressionManagerStack( | ||
| // scope, | ||
| // 'OraDecompressionManagerStack', | ||
| // { | ||
| // ...this.createTemplateProps(env, 'OraDecompressionManagerStack'), | ||
| // ...statelessConfiguration.oraDecompressionManagerStackProps, | ||
| // } | ||
| // ); | ||
| // | ||
| // this.cttsov2Icav2PipelineManagerStack = new Cttsov2Icav2PipelineManagerStack( | ||
| // scope, | ||
| // 'Cttsov2Icav2PipelineManagerStack', | ||
| // { | ||
| // ...this.createTemplateProps(env, 'Cttsov2Icav2PipelineManagerStack'), | ||
| // ...statelessConfiguration.cttsov2Icav2PipelineManagerStackProps, | ||
| // } | ||
| // ); | ||
|
|
There was a problem hiding this comment.
These commented-out stack instantiations should be removed entirely rather than left as commented code. Commented code can cause confusion and should be cleaned up during deprecation.
| // this.oraDecompressionManagerStack = new OraDecompressionManagerStack( | |
| // scope, | |
| // 'OraDecompressionManagerStack', | |
| // { | |
| // ...this.createTemplateProps(env, 'OraDecompressionManagerStack'), | |
| // ...statelessConfiguration.oraDecompressionManagerStackProps, | |
| // } | |
| // ); | |
| // | |
| // this.cttsov2Icav2PipelineManagerStack = new Cttsov2Icav2PipelineManagerStack( | |
| // scope, | |
| // 'Cttsov2Icav2PipelineManagerStack', | |
| // { | |
| // ...this.createTemplateProps(env, 'Cttsov2Icav2PipelineManagerStack'), | |
| // ...statelessConfiguration.cttsov2Icav2PipelineManagerStackProps, | |
| // } | |
| // ); |
| // const handyPal = new OncoanalyserGlueHandlerConstruct(this, 'handyPal', { | ||
| // /* Event Objects */ | ||
| // eventBusObj: props.eventBusObj, | ||
| // /* Tables */ | ||
| // oncoanalyserGlueTableObj: props.oncoanalyserGlueTableObj, | ||
| // /* SSM Parameter Objects */ | ||
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | ||
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | ||
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | ||
| // }); |
There was a problem hiding this comment.
This commented-out glue handler construct should be removed entirely rather than left as commented code. Leaving deprecated code commented out can lead to confusion and maintenance overhead.
| // const jb_weld = new Cttsov2GlueHandlerConstruct(this, 'jb_weld', { | ||
| // /* Event Bus */ | ||
| // eventBusObj: props.eventBusObj, | ||
| // /* Tables */ | ||
| // cttsov2GlueTableObj: props.cttsov2GlueTableObj, | ||
| // /* SSM Parameters */ | ||
| // icav2ProjectIdSsmParameterObj: props.icav2ProjectIdSsmParameterObj, | ||
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | ||
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | ||
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | ||
| // /* Secrets */ | ||
| // icav2AccessTokenSecretObj: props.icav2AccessTokenSecretObj, | ||
| // }); |
There was a problem hiding this comment.
This commented-out glue handler construct should be removed entirely rather than left as commented code. Leaving deprecated code commented out can lead to confusion and maintenance overhead.
| // const jb_weld = new Cttsov2GlueHandlerConstruct(this, 'jb_weld', { | |
| // /* Event Bus */ | |
| // eventBusObj: props.eventBusObj, | |
| // /* Tables */ | |
| // cttsov2GlueTableObj: props.cttsov2GlueTableObj, | |
| // /* SSM Parameters */ | |
| // icav2ProjectIdSsmParameterObj: props.icav2ProjectIdSsmParameterObj, | |
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | |
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | |
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | |
| // /* Secrets */ | |
| // icav2AccessTokenSecretObj: props.icav2AccessTokenSecretObj, | |
| // }); |
| // const nails = new PieriandxGlueHandlerConstruct(this, 'nails', { | ||
| // /* Event Bus */ | ||
| // eventBusObj: props.eventBusObj, | ||
| // | ||
| // /* Tables */ | ||
| // pieriandxGlueTableObj: props.pieriandxGlueTableObj, | ||
| // | ||
| // /* Secrets */ | ||
| // icav2AccessTokenSecretObj: props.icav2AccessTokenSecretObj, | ||
| // | ||
| // /* Extras */ | ||
| // pieriandxProjectInfoSsmParameterObj: props.pieriandxProjectInfoSsmParameterObj, | ||
| // redcapLambdaObj: props.redcapLambdaObj, | ||
| // }); | ||
|
|
There was a problem hiding this comment.
This commented-out glue handler construct should be removed entirely rather than left as commented code. Leaving deprecated code commented out can lead to confusion and maintenance overhead.
| // const nails = new PieriandxGlueHandlerConstruct(this, 'nails', { | |
| // /* Event Bus */ | |
| // eventBusObj: props.eventBusObj, | |
| // | |
| // /* Tables */ | |
| // pieriandxGlueTableObj: props.pieriandxGlueTableObj, | |
| // | |
| // /* Secrets */ | |
| // icav2AccessTokenSecretObj: props.icav2AccessTokenSecretObj, | |
| // | |
| // /* Extras */ | |
| // pieriandxProjectInfoSsmParameterObj: props.pieriandxProjectInfoSsmParameterObj, | |
| // redcapLambdaObj: props.redcapLambdaObj, | |
| // }); |
| // const tRex = new OncoanalyserBothSashGlueHandlerConstruct(this, 'trex', { | ||
| // /* Event Objects */ | ||
| // eventBusObj: props.eventBusObj, | ||
| // /* Tables */ | ||
| // oncoanalyserBothSashGlueTableObj: props.oncoanalyserBothSashGlueTableObj, | ||
| // /* SSM Parameter Objects */ | ||
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | ||
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | ||
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | ||
| // }); |
There was a problem hiding this comment.
This commented-out glue handler construct should be removed entirely rather than left as commented code. Leaving deprecated code commented out can lead to confusion and maintenance overhead.
| // const tRex = new OncoanalyserBothSashGlueHandlerConstruct(this, 'trex', { | |
| // /* Event Objects */ | |
| // eventBusObj: props.eventBusObj, | |
| // /* Tables */ | |
| // oncoanalyserBothSashGlueTableObj: props.oncoanalyserBothSashGlueTableObj, | |
| // /* SSM Parameter Objects */ | |
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | |
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | |
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | |
| // }); |
Remove deprecated glues