airs_ci-408
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| airs_ci-408 [2020/05/19 11:28] – [AIRS_CI-408 Preventive Action 7.1 - Architecture Rule] kalaschnikow | airs_ci-408 [2020/05/19 11:29] (current) – [AIRS_CI-408 Preventive Action 7.1 - Architecture Rule] kalaschnikow | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== AIRS_CI-408 Preventive Action 7.1 - Architecture Rule ====== | ||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | |||
| + | **Task Description**\\ | ||
| + | Implement architectural rule to ensure that concurrent import processes do not operate on shared memory. | ||
| + | |||
| + | **Acceptance Criteria**\\ | ||
| + | An architectural rule has to be implemented: | ||
| + | * The rule is implemented as static JUnit test | ||
| + | * The rule checks for state in CDI beans | ||
| + | * If the rule detects a violation, the complete build process must fail and report an error | ||
| + | |||
| + | **Burkhard**\\ | ||
| + | * the test is already existing ('' | ||
| + | * the goal is to refactor all classes which were excepted fromm this test | ||
| + | |||
| + | ===== Refactor beans ===== | ||
| + | |||
| + | * **-** Refactor beans | ||
| + | * **-** ConcessionCreateXMLHandler.class | ||
| + | * **-** is not stateless as it keeps state in field cfg | ||
| + | * **-** is not stateless as it keeps state in field currentCtrlArea | ||
| + | * **-** is not stateless as it keeps state in field doc | ||
| + | * **-** is not stateless as it keeps state in field isAirbusConcession | ||
| + | * **-** is not stateless as it keeps state in field manager | ||
| + | * **-** is not stateless as it keeps state in field mimeMessageImportProcessor | ||
| + | * **-** is not stateless as it keeps state in field nCreationTimeStamp | ||
| + | * **-** is not stateless as it keeps state in field nReceivingTimeStamp | ||
| + | * **-** is not stateless as it keeps state in field ncrHeader | ||
| + | * **-** is not stateless as it keeps state in field ncrPositions | ||
| + | * **-** is not stateless as it keeps state in field procResult | ||
| + | * **-** is not stateless as it keeps state in field props | ||
| + | * **-** is not stateless as it keeps state in field protoNCRHeader | ||
| + | * **-** is not stateless as it keeps state in field sExternalMessageId | ||
| + | * **-** is not stateless as it keeps state in field sInternalMessageId | ||
| + | * **-** is not stateless as it keeps state in field sReceiverInfo | ||
| + | * **-** is not stateless as it keeps state in field sSenderInfo | ||
| + | * **-** is not stateless as it keeps state in field sStatus | ||
| + | * **-** NCRResponseXMLHandler | ||
| + | * **-** is not stateless as it keeps state in field cfg | ||
| + | * **-** is not stateless as it keeps state in field currentCtrlArea | ||
| + | * **-** is not stateless as it keeps state in field doc | ||
| + | * **-** is not stateless as it keeps state in field manager | ||
| + | * **-** is not stateless as it keeps state in field mimeMessageImportProcessor | ||
| + | * **-** is not stateless as it keeps state in field nCreationTimeStamp | ||
| + | * **-** is not stateless as it keeps state in field nReceivingTimeStamp | ||
| + | * **-** is not stateless as it keeps state in field ncrHeader | ||
| + | * **-** is not stateless as it keeps state in field ncrPositions | ||
| + | * **-** is not stateless as it keeps state in field procResult | ||
| + | * **-** is not stateless as it keeps state in field props | ||
| + | * **-** is not stateless as it keeps state in field sExternalMessageId | ||
| + | * **-** is not stateless as it keeps state in field sInternalMessageId | ||
| + | * **-** is not stateless as it keeps state in field sReceiverInfo | ||
| + | * **-** is not stateless as it keeps state in field sSenderInfo | ||
| + | * **-** is not stateless as it keeps state in field sStatus | ||
| + | * **-** NcrQualityReportXmlHandler | ||
| + | * **-** is not stateless as it keeps state in field includedAttachments | ||
| + | * **-** is not stateless as it keeps state in field mimeHandlerMessageFormat | ||
| + | * **-** is not stateless as it keeps state in field portalGroup | ||
| + | * **-** is not stateless as it keeps state in field xmlDoc | ||
| + | * **-** NcrQualityReportJob | ||
| + | * **-** is not stateless as it keeps state in field stopped | ||
| + | * **-** POFinalizerJob | ||
| + | * **-** is not stateless as it keeps state in field bJobStopped | ||
| + | * **-** POCustomerImportCSV | ||
| + | * **-** is not stateless as it keeps state in field bCollabProcessed | ||
| + | * **-** is not stateless as it keeps state in field changeVerifier | ||
| + | * **-** is not stateless as it keeps state in field dbData | ||
| + | * **-** is not stateless as it keeps state in field importData | ||
| + | * **-** is not stateless as it keeps state in field userContext | ||
| + | * **-** POCustomerImportXML | ||
| + | * **-** is not stateless as it keeps state in field bCollabProcessed | ||
| + | * **-** is not stateless as it keeps state in field changeVerifier | ||
| + | * **-** is not stateless as it keeps state in field dbData | ||
| + | * **-** is not stateless as it keeps state in field importData | ||
| + | * **-** is not stateless as it keeps state in field userContext | ||
| + | * **-** POSupplierImportCSV | ||
| + | * **-** is not stateless as it keeps state in field bCollabProcessed | ||
| + | * **-** is not stateless as it keeps state in field changeVerifier | ||
| + | * **-** is not stateless as it keeps state in field dbData | ||
| + | * **-** is not stateless as it keeps state in field importData | ||
| + | * **-** is not stateless as it keeps state in field userContext | ||
| + | * **-** POSupplierImportXML | ||
| + | * **-** is not stateless as it keeps state in field bCollabProcessed | ||
| + | * **-** is not stateless as it keeps state in field changeVerifier | ||
| + | * **-** is not stateless as it keeps state in field dbData | ||
| + | * **-** is not stateless as it keeps state in field importData | ||
| + | * **-** is not stateless as it keeps state in field userContext | ||
| + | * **+** EquipmentProcessDefinition | ||
| + | * **+** NoeProcessDefinition | ||
| + | * **+** NonAirbusProcessDefinition | ||
| + | * **+** StandardPartProcessDefinition | ||
| + | |||
| + | |||
| + | ===== Commit from Stefan ===== | ||
| + | |||
| + | * '' | ||
| + | * airsupply/ | ||
| + | * Changed interface of class '' | ||
| + | * airsupply-base/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * Removed '' | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * Set '' | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * Made class public | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
| + | * Misc | ||
| + | * airsupply-base/ | ||
| + | * airsupply/ | ||
| + | * airsupply/ | ||
