• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TouK / nussknacker / 8048425396
83%

Build:
DEFAULT BRANCH: staging
Ran 26 Feb 2024 12:17PM UTC
Jobs 1
Files 1123
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Feb 2024 11:56AM UTC coverage: 82.31% (+0.05%) from 82.264%
8048425396

push

github

web-flow
[NU-1223] Tapir nodes endpoint (#5338)

* Removed NodesResources and moved things to NodesApiEndpoints
Some changes connected to the movement of functions and classes

* Switched to implicit LoggedUser in previous ApiTests

* Switched "process" to "scenario" where it is possible without bigger changes

* Unifying parsing of TypingResult
If validating fragment node of fragment that not exist, error message tells the name of fragment not scenario it is used in

* Updated nu-designer-openapi.yaml and changed some Schema.any to derive where possible.
Still don't know the structure of TypedUnionDto but the name and title is now visible in openApi

* Switched to using TypingResult, and we pass them as a whole in Json, not only parts that we couldn't statically describe

* Introducing TypingResultInJson to still pass Json but have schema described for TypingResult
Also some cleaning of code

* ScenarioNameCodec moved to TapirCodecs as it will be used in various files

* If wrong Malformed Typing result is sent, we now return 404 error (previously 500). Error message has less information than the one from NodesResources
To do: it should give 400 for bad request and 404 for wrong scenario in path
Also, added comment to ComponentApiSpec so people will know that it doesn't pass using idea

* Introduction of error types for nodes endpoints, they work similarly to ones from ScenarioActivityApiEndpoints

* Test for validating not existent fragment - error message tells the fragment's name not scenario's

* Changed 2 tests in SecuritySpec as when user where authenticated but tried to use endpoints without proper permission we sent 401 with a message that user is not authorized for a resource -> now 403 will be sent to indicate that we  know that user is logged in, but they don't have access to resource

* Revert try of tests to keep Codecs and Schemas fo TypingResult in sync - it doesn't look promising.
Left comments in typing.scala an... (continued)

17495 of 21255 relevant lines covered (82.31%)

3.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8048425396.1 26 Feb 2024 12:17PM UTC 0
82.31
GitHub Action Run
Source Files on build 8048425396
Detailed source file information is not available for this build.
  • Back to Repo
  • c2f11396 on github
  • Prev Build on staging (#8030044034)
  • Next Build on staging (#8056220362)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc