Skip to content

Commit

Permalink
chore: added questions for AxonIQ Conference
Browse files Browse the repository at this point in the history
  • Loading branch information
stoerti committed Sep 23, 2024
1 parent d0e0b55 commit b2fef10
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ internal class GameAggregate() {
command.config.copy(
numQuestions = realNumQuestions // adjust question number to questionSet
),
questionSet.questions.take(realNumQuestions).shuffled(),
questionSet.questions.take(realNumQuestions),
command.creatorUsername,
command.moderatorUsername
)
Expand Down
23 changes: 22 additions & 1 deletion backend/src/main/resources/questions/axoniq_conf_2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,33 @@
{
"id": "axonconf_01",
"type": "CHOICE",
"phrase": "Which EventProcessor can process events in the same UnitOfWork as they are published?",
"correctAnswer": "SubscribingEventProcessor",
"answerOptions": ["PooledStreamingEventProcessor", "TrackingEventProcessor", "SubscribingEventProcessor"]
},
{
"id": "axonconf_02",
"type": "CHOICE",
"phrase": "When was the first commit for the Axon Framework on Github?",
"correctAnswer": "2010",
"answerOptions": ["2001", "2007", "2010", "2013"]
},
{
"id": "axonconf_02",
"id": "axonconf_03",
"type": "CHOICE",
"phrase": "Who is the inventor of Event-Sourcing?",
"correctAnswer": "Greg Young",
"answerOptions": ["Greg Young", "Allard Buijze", "Martin Fowler", "Leslie Lamport"]
},
{
"id": "axonconf_04",
"type": "CHOICE",
"phrase": "What is not a valid annotated parameter in event handling methods?",
"correctAnswer": "@AggregateId String",
"answerOptions": ["@SequenceNumber Long", "@AggregateId String", "@Timestamp Instant", "@MetaDataValue"]
},
{
"id": "axonconf_05",
"type": "CHOICE",
"phrase": "Who did the most commits to the Axon Framework on Github?",
"correctAnswer": "Steven van Beelen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"minPlayers": 1,
"questions": [
"axonconf_01",
"axonconf_02"
"axonconf_02",
"axonconf_03",
"axonconf_04",
"axonconf_05"
]
}
Loading

0 comments on commit b2fef10

Please sign in to comment.