ERDi-TestLab / ERDiTestlab-ProcessEvents

The repo holds the master version of the ETP designed ProcessEvents.xsd
MIT License
0 stars 1 forks source link

Introduce NotifyValueChainModelDesignDefinedEvent and NotifyWorkCalendarDefinedEvent #18

Closed gerardmoloneyetpartners closed 7 months ago

gerardmoloneyetpartners commented 7 months ago

The current Version of the processevents.xsd allows for publishing of Value Chain Model configuration via separate message. These are:

  1. ResourceDefinedEvent - for L3, it contains all resources as Added/Changed/Deleted (with exception of some such as PersonnelRecords)
  2. WorkDefinedEvent - for L3, it contains all the WorkMasters and embedded specification objects
  3. OperationsDefinedEvent - for L4, it contains the OperationsDefinitions and ProcessSegment objects

This proposal is to create a new message for the purpose of publishing all objects in a single message. It shall be known as the NotifyValueChainModelDesignDefinedEvent and shall contain all objects in a single message.

Additionally, we will also introduce NotifyWorkCalendarDefinedEvent for the purpose of creating calendar definitions and rules. These are utilised in systems to create crew rosters for personnel and to filter work done in reporting layers by crews.

To Achieve this, the following adjustments are required.

  1. Include the B2MML-WorkCalendar.xsd at line35 image

  2. Add global elements at line 119 image

  3. Add complex Types for the NotifyValueChainModelDesignDefinedEvent as the first type starting at Line ~170 image image image image image image image image image image

  4. Add complex types for the NotifyWorkCalendarDefinedEvent at Line ~640 (after the previous entry) image image

gerardmoloneyetpartners commented 7 months ago

Issue closed as the pull request has been merged to complete the updates.