Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TH2-4559] Migration to processor-core #3

Merged
merged 6 commits into from
Feb 14, 2023
Merged

Conversation

isengrims
Copy link

No description provided.

@Nikita-Smirnov-Exactpro
Copy link
Member

@isengrims @OptimumOpium we need a separate target branch related to book and page, for example
dev-version-1 - before book and page
dev-version-2 - with book and page

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
sense-app/build.gradle Outdated Show resolved Hide resolved
sense-app/build.gradle Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
sense-api/gradle.properties Outdated Show resolved Hide resolved
@AutoService(IProcessorFactory::class)
class SenseProcessorFactory : IProcessorFactory {
private val processorProvider = ServiceLoaderProcessorProvider.create<EventProcessor, EventProcessorFactory<*>>()
private val resources: Deque<() -> Unit> = ConcurrentLinkedDeque()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is redundant queue, because the factory doesn't control resources. Processor should close all resources on Close method call

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove unused variable

@@ -1,5 +1,5 @@
/*
* Copyright 2022 Exactpro (Exactpro Systems Limited)
* Copyright 2023-2023 Exactpro (Exactpro Systems Limited)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be either 2022-2023 or just 2023

@isengrims isengrims changed the base branch from dev to dev-version-2 February 14, 2023 18:11
@isengrims isengrims merged commit 0f9cd0b into dev-version-2 Feb 14, 2023
@isengrims isengrims deleted the TH2-4549 branch February 14, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants