-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* org, product connectors * member, reservation, store connectors * tenant, event connectors * revert conf * don't show missing warnings * revert conf
- Loading branch information
1 parent
ab3806a
commit ccf2fdb
Showing
17 changed files
with
370 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/main/riddl/Events/Reservations/reservationSources.riddl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
connector ReservationCommandsChannel is { | ||
from outlet ReservationCommandsSource.Commands to | ||
inlet ReservationCommandsSink.Commands | ||
} | ||
|
||
connector ReservationEventsChannel is { | ||
from outlet ReservationEventsSource.Events to | ||
inlet ReservationEventsSink.Events | ||
} | ||
|
||
source ReservationCommandsSource is { | ||
outlet Commands is type ReservationCommand | ||
} | ||
|
||
sink ReservationCommandsSink is { | ||
inlet Commands is type ReservationCommand | ||
} | ||
|
||
source ReservationEventsSource is { | ||
outlet Events is type ReservationEvent | ||
} | ||
|
||
sink ReservationEventsSink is { | ||
inlet Events is type ReservationEvent | ||
} | ||
|
||
type ReservationCommand is one of { | ||
EstablishReservation, | ||
EditReservationInfo, | ||
UpdateReservationStatus, | ||
DeleteReservation, | ||
GetReservationInfo | ||
} | ||
|
||
type ReservationEvent is one of { | ||
ReservationEstablished, | ||
ReservationInfoUpdated, | ||
ReservationStatusUpdated, | ||
ReservationDeleted, | ||
ReservationInfoResult | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,56 @@ | ||
source LiveUpdates is { | ||
outlet Updates is type LiveUpdate | ||
} explained as "This is a source for things that happen as an event progresses" | ||
|
||
// plant EventPlant is { | ||
// pipe EventPipe is {???} | ||
// } | ||
// source LiveUpdates is { | ||
// outlet Updates is type LiveUpdate | ||
// } explained as "This is a source for things that happen as an event progresses" | ||
|
||
//ReservationAddedToEvent, | ||
type PublicEventEvent is one of { | ||
Events.EventContext.EventInfoEdited, | ||
Events.EventContext.EventCreated, | ||
Events.EventContext.EventScheduled, | ||
Events.EventContext.EventCancelled, | ||
Events.EventContext.EventRescheduled, | ||
Events.EventContext.EventDelayed, | ||
Events.EventContext.EventStarted, | ||
Events.EventContext.EventEnded | ||
|
||
connector EventCommandsChannel is { | ||
from outlet EventCommandsSource.Commands to | ||
inlet EventCommandsSink.Commands | ||
} | ||
|
||
connector EventEventsChannel is { | ||
from outlet EventEventsSource.Events to | ||
inlet EventEventsSink.Events | ||
} | ||
|
||
source EventCommandsSource is { | ||
outlet Commands is type EventCommand | ||
} | ||
|
||
sink EventCommandsSink is { | ||
inlet Commands is type EventCommand | ||
} | ||
source EventEvents is { | ||
outlet Events is type PublicEventEvent | ||
} explained as "This is a source for event from Events entities" | ||
|
||
source EventEventsSource is { | ||
outlet Events is type EventEvent | ||
} | ||
|
||
sink EventEventsSink is { | ||
inlet Events is type EventEvent | ||
} | ||
|
||
type EventCommand is one of { | ||
EditEventInfo, | ||
CreateEvent, | ||
ScheduleEvent, | ||
CancelEvent, | ||
RescheduleEvent, | ||
DelayEvent, | ||
StartEvent, | ||
EndEvent, | ||
TerminateEvent, | ||
AddLiveUpdate | ||
} | ||
|
||
type EventEvent is one of { | ||
EventInfoEdited, | ||
EventCreated, | ||
EventScheduled, | ||
EventCancelled, | ||
EventRescheduled, | ||
EventDelayed, | ||
EventStarted, | ||
EventEnded, | ||
EventTerminated | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
connector MemberCommandsChannel is { | ||
from outlet MemberCommandsSource.Commands to | ||
inlet MemberCommandsSink.Commands | ||
} | ||
|
||
connector MemberEventsChannel is { | ||
from outlet MemberEventsSource.Events to | ||
inlet MemberEventsSink.Events | ||
} | ||
|
||
source MemberCommandsSource is { | ||
outlet Commands is type MemberCommand | ||
} | ||
|
||
sink MemberCommandsSink is { | ||
inlet Commands is type MemberCommand | ||
} | ||
|
||
source MemberEventsSource is { | ||
outlet Events is type MemberEvent | ||
} | ||
|
||
sink MemberEventsSink is { | ||
inlet Events is type MemberEvent | ||
} | ||
|
||
type MemberCommand is one of { | ||
ImprovingApp.MemberContext.RegisterMember, | ||
ImprovingApp.MemberContext.ActivateMember, | ||
ImprovingApp.MemberContext.SuspendMember, | ||
ImprovingApp.MemberContext.TerminateMember, | ||
ImprovingApp.MemberContext.EditMemberInfo, | ||
ImprovingApp.MemberContext.GetMemberData | ||
} | ||
|
||
type MemberEvent is one of { | ||
ImprovingApp.MemberContext.MemberRegistered, | ||
ImprovingApp.MemberContext.MemberActivated, | ||
ImprovingApp.MemberContext.MemberSuspended, | ||
ImprovingApp.MemberContext.MemberTerminated, | ||
ImprovingApp.MemberContext.MemberInfoEdited, | ||
ImprovingApp.MemberContext.MemberData | ||
} |
Oops, something went wrong.