[
https://issues.apache.org/jira/browse/BEAM-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17131780#comment-17131780
]
Beam JIRA Bot commented on BEAM-3495:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> core-construction-java should not depend on testing
> ---------------------------------------------------
>
> Key: BEAM-3495
> URL: https://issues.apache.org/jira/browse/BEAM-3495
> Project: Beam
> Issue Type: Bug
> Components: runner-core, runner-direct
> Reporter: Jeremie Lenfant-Engelmann
> Priority: P2
> Labels: stale-P2
>
> core-construction-java currently depends on a class in the testing package
> because
> runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/TestStreamTranslation.java
> registers a translation for org.apache.beam.sdk.testing.TestStream.
> This means that when using core-construction-java, one needs to also depend
> on the testing code. Core should not have to depend on testing, the
> translation should move to the testing package.
> This also affects the direct runner with
> runners/direct-java/src/main/java/org/apache/beam/runners/direct/TestStreamEvaluatorFactory.java.
> For the direct runner, we should have a way to register these factories at
> run time (via Autoservice) so that this can also be moved to the testing
> package.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)