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

[NU-1772] Scenario Activity API specification (without implementation) #6820

Closed

qs

20a1c6d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

[NU-1772] Scenario Activity API specification (without implementation) #6820

qs
20a1c6d
Select commit
Loading
Failed to load commit list.
GitHub Actions / REPORT-BackendTests-2.13 failed Sep 9, 2024 in 1s

2530 passed, 1 failed and 6 skipped

Tests failed
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 43 in designer/server/src/test/scala/pl/touk/nussknacker/ui/api/NuDesignerApiAvailableToExposeYamlSpec.scala

See this annotation in the file changed.

@github-actions github-actions / REPORT-BackendTests-2.13

pl.touk.nussknacker.ui.api.NuDesignerApiAvailableToExposeYamlSpec ► Nu Designer OpenAPI document with all available to expose endpoints should have examples matching schemas

Failed test found in:
  designer/server/target/test-reports/TEST-pl.touk.nussknacker.ui.api.NuDesignerApiAvailableToExposeYamlSpec.xml
Error:
  org.scalatest.exceptions.TestFailedException: getApiProcessesScenarionameActivityActivities > response > Example
Raw output
org.scalatest.exceptions.TestFailedException: getApiProcessesScenarionameActivityActivities > response > Example
    $.activities[0]: must be valid to one and only one schema, but 2 are valid with indexes '9, 11'
    $.activities[0]: required property 'attachment' not found
    $.activities[0]: required property 'dateFinished' not found
    $.activities[0]: required property 'changes' not found
    $.activities[0]: required property 'from' not found
    $.activities[0]: required property 'to' not found
    $.activities[0]: required property 'comment' not found
    $.activities[0]: required property 'actionName' not found
    $.activities[0]: required property 'sourceEnvironment' not found
    $.activities[0]: required property 'sourceScenarioVersion' not found
    $.activities[0]: required property 'destinationEnvironment' not found
    $.activities[1]: must be valid to one and only one schema, but 2 are valid with indexes '9, 11'
    $.activities[1]: required property 'attachment' not found
    $.activities[1]: required property 'dateFinished' not found
    $.activities[1]: required property 'changes' not found
    $.activities[1]: required property 'from' not found
    $.activities[1]: required property 'to' not found
    $.activities[1]: required property 'comment' not found
    $.activities[1]: required property 'actionName' not found
    $.activities[1]: required property 'sourceEnvironment' not found
    $.activities[1]: required property 'sourceScenarioVersion' not found
    $.activities[1]: required property 'destinationEnvironment' not found
    $.activities[2]: must be valid to one and only one schema, but 2 are valid with indexes '9, 11'
    $.activities[2]: required property 'attachment' not found
    $.activities[2]: required property 'dateFinished' not found
    $.activities[2]: required property 'changes' not found
    $.activities[2]: required property 'from' not found
    $.activities[2]: required property 'to' not found
    $.activities[2]: required property 'comment' not found
    $.activities[2]: required property 'actionName' not found
    $.activities[2]: required property 'sourceEnvironment' not found
    $.activities[2]: required property 'sourceScenarioVersion' not found
    $.activities[2]: required property 'destinationEnvironment' not found
    $.activities[3]: must be valid to one and only one schema, but 2 are valid with indexes '3, 9'
    $.activities[3]: required property 'attachment' not found
    $.activities[3]: required property 'dateFinished' not found
    $.activities[3]: required property 'changes' not found
    $.activities[3]: required property 'from' not found
    $.activities[3]: required property 'to' not found
    $.activities[3]: required property 'actionName' not found
    $.activities[3]: required property 'sourceEnvironment' not found
    $.activities[3]: required property 'sourceScenarioVersion' not found
    $.activities[3]: required property 'destinationEnvironment' not found
    $.activities[4]: must be valid to one and only one schema, but 2 are valid with indexes '3, 9'
    $.activities[4]: required property 'attachment' not found
    $.activities[4]: required property 'dateFinished' not found
    $.activities[4]: required property 'changes' not found
    $.activities[4]: required property 'from' not found
    $.activities[4]: required property 'to' not found
    $.activities[4]: required property 'actionName' not found
    $.activities[4]: required property 'sourceEnvironment' not found
    $.activities[4]: required property 'sourceScenarioVersion' not found
    $.activities[4]: required property 'destinationEnvironment' not found
    $.activities[5]: must be valid to one and only one schema, but 2 are valid with indexes '3, 9'
    $.activities[5]: required property 'attachment' not found
    $.activities[5]: required property 'dateFinished' not found
    $.activities[5]: required property 'changes' not found
    $.activities[5]: required property 'from' not found
    $.activities[5]: required property 'to' not found
    $.activities[5]: required property 'actionName' not found
    $.activities[5]: required property 'sourceEnvironment' not found
    $.activities[5]: required property 'sourceScenarioVersion' not found
    $.activities[5]: required property 'destinationEnvironment' not found
    $.activities[6]: must be valid to one and only one schema, but 2 are valid with indexes '9, 11'
    $.activities[6]: required property 'attachment' not found
    $.activities[6]: required property 'dateFinished' not found
    $.activities[6]: required property 'changes' not found
    $.activities[6]: required property 'from' not found
    $.activities[6]: required property 'to' not found
    $.activities[6]: required property 'comment' not found
    $.activities[6]: required property 'actionName' not found
    $.activities[6]: required property 'sourceEnvironment' not found
    $.activities[6]: required property 'sourceScenarioVersion' not found
    $.activities[6]: required property 'destinationEnvironment' not found
    $.activities[7]: must be valid to one and only one schema, but 2 are valid with indexes '3, 9'
    $.activities[7]: required property 'attachment' not found
    $.activities[7]: required property 'dateFinished' not found
    $.activities[7]: required property 'changes' not found
    $.activities[7]: required property 'from' not found
    $.activities[7]: required property 'to' not found
    $.activities[7]: required property 'actionName' not found
    $.activities[7]: required property 'sourceEnvironment' not found
    $.activities[7]: required property 'sourceScenarioVersion' not found
    $.activities[7]: required property 'destinationEnvironment' not found
    $.activities[8]: must be valid to one and only one schema, but 2 are valid with indexes '3, 9'
    $.activities[8]: required property 'attachment' not found
    $.activities[8]: required property 'dateFinished' not found
    $.activities[8]: required property 'changes' not found
    $.activities[8]: required property 'from' not found
    $.activities[8]: required property 'to' not found
    $.activities[8]: required property 'actionName' not found
    $.activities[8]: required property 'sourceEnvironment' not found
    $.activities[8]: required property 'sourceScenarioVersion' not found
    $.activities[8]: required property 'destinationEnvironment' not found
    $.activities[9]: must be valid to one and only one schema, but 2 are valid with indexes '0, 9'
    $.activities[9]: required property 'dateFinished' not found
    $.activities[9]: required property 'changes' not found
    $.activities[9]: required property 'from' not found
    $.activities[9]: required property 'to' not found
    $.activities[9]: required property 'comment' not found
    $.activities[9]: required property 'actionName' not found
    $.activities[9]: required property 'sourceEnvironment' not found
    $.activities[9]: required property 'sourceScenarioVersion' not found
    $.activities[9]: required property 'destinationEnvironment' not found
    $.activities[10]: must be valid to one and only one schema, but 2 are valid with indexes '0, 9'
    $.activities[10]: required property 'dateFinished' not found
    $.activities[10]: required property 'changes' not found
    $.activities[10]: required property 'from' not found
    $.activities[10]: required property 'to' not found
    $.activities[10]: required property 'comment' not found
    $.activities[10]: required property 'actionName' not found
    $.activities[10]: required property 'sourceEnvironment' not found
    $.activities[10]: required property 'sourceScenarioVersion' not found
    $.activities[10]: required property 'destinationEnvironment' not found
    $.activities[11]: must be valid to one and only one schema, but 2 are valid with indexes '2, 9'
    $.activities[11]: required property 'attachment' not found
    $.activities[11]: required property 'dateFinished' not found
    $.activities[11]: required property 'changes' not found
    $.activities[11]: required property 'comment' not found
    $.activities[11]: required property 'actionName' not found
    $.activities[11]: required property 'sourceEnvironment' not found
    $.activities[11]: required property 'sourceScenarioVersion' not found
    $.activities[11]: required property 'destinationEnvironment' not found
    $.activities[12]: must be valid to one and only one schema, but 2 are valid with indexes '5, 9'
    $.activities[12]: required property 'attachment' not found
    $.activities[12]: required property 'dateFinished' not found
    $.activities[12]: required property 'changes' not found
    $.activities[12]: required property 'from' not found
    $.activities[12]: required property 'to' not found
    $.activities[12]: required property 'comment' not found
    $.activities[12]: required property 'actionName' not found
    $.activities[12]: required property 'destinationEnvironment' not found
    $.activities[13]: must be valid to one and only one schema, but 2 are valid with indexes '3, 6'
    $.activities[13]: required property 'attachment' not found
    $.activities[13]: required property 'dateFinished' not found
    $.activities[13]: required property 'changes' not found
    $.activities[13]: required property 'from' not found
    $.activities[13]: required property 'to' not found
    $.activities[13]: required property 'actionName' not found
    $.activities[13]: required property 'sourceEnvironment' not found
    $.activities[13]: required property 'sourceScenarioVersion' not found
    $.activities[14]: must be valid to one and only one schema, but 2 are valid with indexes '7, 8'
    $.activities[14]: required property 'attachment' not found
    $.activities[14]: required property 'changes' not found
    $.activities[14]: required property 'from' not found
    $.activities[14]: required property 'to' not found
    $.activities[14]: required property 'comment' not found
    $.activities[14]: required property 'actionName' not found
    $.activities[14]: required property 'sourceEnvironment' not found
    $.activities[14]: required property 'sourceScenarioVersion' not found
    $.activities[14]: required property 'destinationEnvironment' not found
    $.activities[15]: must be valid to one and only one schema, but 2 are valid with indexes '7, 8'
    $.activities[15]: required property 'attachment' not found
    $.activities[15]: required property 'changes' not found
    $.activities[15]: required property 'from' not found
    $.activities[15]: required property 'to' not found
    $.activities[15]: required property 'comment' not found
    $.activities[15]: required property 'actionName' not found
    $.activities[15]: required property 'sourceEnvironment' not found
    $.activities[15]: required property 'sourceScenarioVersion' not found
    $.activities[15]: required property 'destinationEnvironment' not found
    $.activities[16]: must be valid to one and only one schema, but 2 are valid with indexes '7, 8'
    $.activities[16]: required property 'attachment' not found
    $.activities[16]: required property 'changes' not found
    $.activities[16]: required property 'from' not found
    $.activities[16]: required property 'to' not found
    $.activities[16]: required property 'comment' not found
    $.activities[16]: required property 'actionName' not found
    $.activities[16]: required property 'sourceEnvironment' not found
    $.activities[16]: required property 'sourceScenarioVersion' not found
    $.activities[16]: required property 'destinationEnvironment' not found
    $.activities[17]: must be valid to one and only one schema, but 2 are valid with indexes '1, 7'
    $.activities[17]: required property 'attachment' not found
    $.activities[17]: required property 'from' not found
    $.activities[17]: required property 'to' not found
    $.activities[17]: required property 'comment' not found
    $.activities[17]: required property 'actionName' not found
    $.activities[17]: required property 'sourceEnvironment' not found
    $.activities[17]: required property 'sourceScenarioVersion' not found
    $.activities[17]: required property 'destinationEnvironment' not found
1 did not equal 0
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:397)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:7394)
	at pl.touk.nussknacker.ui.api.NuDesignerApiAvailableToExposeYamlSpec.$anonfun$new$5(NuDesignerApiAvailableToExposeYamlSpec.scala:43)
	at org.scalatest.Assertions.withClue(Assertions.scala:1065)
	at org.scalatest.Assertions.withClue$(Assertions.scala:1052)
	at org.scalatest.funsuite.AnyFunSuite.withClue(AnyFunSuite.scala:1564)
	at pl.touk.nussknacker.ui.api.NuDesignerApiAvailableToExposeYamlSpec.$anonfun$new$1(NuDesignerApiAvailableToExposeYamlSpec.scala:43)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
	at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564)
	at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
	at org.scalatest.funsuite.AnyFunSuite.runTest(AnyFunSuite.scala:1564)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
	at scala.collection.immutable.List.foreach(List.scala:333)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTests(AnyFunSuiteLike.scala:269)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTests$(AnyFunSuiteLike.scala:268)
	at org.scalatest.funsuite.AnyFunSuite.runTests(AnyFunSuite.scala:1564)
	at org.scalatest.Suite.run(Suite.scala:1114)
	at org.scalatest.Suite.run$(Suite.scala:1096)
	at org.scalatest.funsuite.AnyFunSuite.org$scalatest$funsuite$AnyFunSuiteLike$$super$run(AnyFunSuite.scala:1564)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$run$1(AnyFunSuiteLike.scala:273)
	at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
	at org.scalatest.funsuite.AnyFunSuiteLike.run(AnyFunSuiteLike.scala:273)
	at org.scalatest.funsuite.AnyFunSuiteLike.run$(AnyFunSuiteLike.scala:272)
	at org.scalatest.funsuite.AnyFunSuite.run(AnyFunSuite.scala:1564)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
	at sbt.TestRunner.runTest$1(TestFramework.scala:153)
	at sbt.TestRunner.run(TestFramework.scala:168)
	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
	at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
	at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
	at sbt.TestFunction.apply(TestFramework.scala:348)
	at sbt.Tests$.processRunnable$1(Tests.scala:475)
	at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
	at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
	at sbt.Execute.work(Execute.scala:292)
	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)