-
Notifications
You must be signed in to change notification settings - Fork 95
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
[NU-1979] Flink MiniCluster: job recovery on start #7710
Conversation
8548a91
to
a0d2bf5
Compare
updated: #7718 |
...gner/server/src/main/scala/pl/touk/nussknacker/ui/process/deployment/DeploymentService.scala
Show resolved
Hide resolved
.../pl/touk/nussknacker/ui/process/deployment/reconciliation/ScenarioDeploymentReconciler.scala
Show resolved
Hide resolved
designer/server/src/test/scala/pl/touk/nussknacker/test/base/it/NuResourcesTest.scala
Show resolved
Hide resolved
...ner/server/src/test/scala/pl/touk/nussknacker/ui/notifications/NotificationServiceTest.scala
Show resolved
Hide resolved
@@ -72,84 +72,6 @@ class StreamingEmbeddedDeploymentManagerTest | |||
manager.getScenarioDeploymentsStatuses(name).futureValue.value shouldBe List.empty | |||
} | |||
|
|||
test("Run persisted scenario deployments") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not so easy to test embedded DM after removing ProcessingTypeDeployedScenariosProvider
. To do this, we should probably add some separated test for this DM inside designer module. I think that it is not a priority now, so I only tested if it works manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe should we leave todo somewhere?
.../pl/touk/nussknacker/ui/process/deployment/reconciliation/ScenarioDeploymentReconciler.scala
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Describe your changes
This change adapts the solution that worked for embedded DM to work with every DM (including the flink mini-cluster). Now, it is part of the reconciliation process done on the designer's side instead of the DM's side.
Checklist before merge