Fixed event store + build-v5.yml
This commit is contained in:
parent
894d42f941
commit
037525d8e3
16
.github/workflows/build-v5.yml
vendored
16
.github/workflows/build-v5.yml
vendored
@ -11,6 +11,7 @@ jobs:
|
||||
pre-check:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
sharedDefinitions: ${{ steps.filter.outputs.shared }}
|
||||
shared: ${{ steps.filter.outputs.shared }}
|
||||
processer: ${{ steps.filter.outputs.processer }}
|
||||
converter: ${{ steps.filter.outputs.converter }}
|
||||
@ -33,6 +34,8 @@ jobs:
|
||||
filters: |
|
||||
shared:
|
||||
- 'shared/**'
|
||||
sharedDefinitions:
|
||||
- 'gradle/**'
|
||||
processer:
|
||||
- 'apps/processer/**'
|
||||
converter:
|
||||
@ -53,12 +56,19 @@ jobs:
|
||||
|
||||
build-shared:
|
||||
needs: pre-check
|
||||
if: ${{ needs.pre-check.outputs.shared == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||
if: ${{
|
||||
needs.pre-check.outputs.shared == 'true'
|
||||
|| needs.pre-check.outputs.sharedDefinitions == 'true'
|
||||
|| needs.pre-check.outputs.processer == 'true'
|
||||
|| needs.pre-check.outputs.converter == 'true'
|
||||
|| needs.pre-check.outputs.coordinator == 'true'
|
||||
|| needs.pre-check.outputs.ui == 'true'
|
||||
|| github.event_name == 'workflow_dispatch'
|
||||
}}
|
||||
uses: ./.github/workflows/build-shared.yml
|
||||
with:
|
||||
dockerTag: ${{ needs.pre-check.outputs.dockerTag }}
|
||||
|
||||
|
||||
build-java:
|
||||
needs: [pre-check, build-shared]
|
||||
strategy:
|
||||
@ -80,6 +90,7 @@ jobs:
|
||||
enabled: ${{ matrix.enabled }}
|
||||
shouldBuild: ${{ needs.pre-check.outputs[matrix.app] == 'true'
|
||||
|| needs.pre-check.outputs.shared == 'true'
|
||||
|| needs.pre-check.outputs.sharedDefinitions == 'true'
|
||||
|| github.event_name == 'workflow_dispatch' }}
|
||||
secrets: inherit
|
||||
|
||||
@ -100,6 +111,5 @@ jobs:
|
||||
dockerTag: ${{ needs.pre-check.outputs.dockerTag }}
|
||||
enabled: ${{ matrix.enabled }}
|
||||
shouldBuild: ${{ needs.pre-check.outputs[matrix.app] == 'true'
|
||||
|| needs.pre-check.outputs.shared == 'true'
|
||||
|| github.event_name == 'workflow_dispatch' }}
|
||||
secrets: inherit
|
||||
@ -21,7 +21,7 @@ object EventStore: EventStore {
|
||||
id = it[EventsTable.id].value.toLong(),
|
||||
referenceId = UUID.fromString(it[EventsTable.referenceId]),
|
||||
eventId = UUID.fromString(it[EventsTable.eventId]),
|
||||
event = "", // You might want to store the event type as well
|
||||
event = it[EventsTable.event],
|
||||
data = it[EventsTable.data],
|
||||
persistedAt = it[EventsTable.persistedAt]
|
||||
)
|
||||
@ -39,7 +39,7 @@ object EventStore: EventStore {
|
||||
id = it[EventsTable.id].value.toLong(),
|
||||
referenceId = UUID.fromString(it[EventsTable.referenceId]),
|
||||
eventId = UUID.fromString(it[EventsTable.eventId]),
|
||||
event = "", // You might want to store the event type as well
|
||||
event = it[EventsTable.event],
|
||||
data = it[EventsTable.data],
|
||||
persistedAt = it[EventsTable.persistedAt]
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user