Skip to content

Commit

Permalink
fix bookId in extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
lumber1000 committed Nov 14, 2024
1 parent 7a879a6 commit 2e8e379
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.exactpro.th2.rptdataprovider.handlers.messages

import com.exactpro.cradle.BookId
import com.exactpro.cradle.Order.DIRECT
import com.exactpro.cradle.Order.REVERSE
import com.exactpro.cradle.TimeRelation.AFTER
Expand Down Expand Up @@ -131,7 +130,7 @@ class MessageExtractor<B, G, RM, PM>(
val cradleMessageIterable = context.cradleService.getGroupedMessages(
this,
GroupedMessageFilterBuilder().apply {
bookId(BOOK_ID)
bookId(commonStreamName.bookId)
groupName(sessionGroup)
order(order)

Expand Down Expand Up @@ -275,6 +274,5 @@ class MessageExtractor<B, G, RM, PM>(

companion object {
private val LOGGER = KotlinLogging.logger {}
private val BOOK_ID = BookId("test_book_01")
}
}
}

0 comments on commit 2e8e379

Please sign in to comment.