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

Problem finding @type in Extensible #16

Closed
MichalLaczynskiAmartus opened this issue Apr 12, 2023 · 1 comment
Closed

Problem finding @type in Extensible #16

MichalLaczynskiAmartus opened this issue Apr 12, 2023 · 1 comment

Comments

@MichalLaczynskiAmartus
Copy link
Contributor

While blending Aretha Legato - an error is raised:

10:30:10.958 [pool-2-thread-2] ERROR c.a.sonata.blender.cmd.AbstractBlend - No discriminator defined for MefServiceConfiguration
10:30:10.959 [pool-2-thread-2] WARN c.a.b.s.blender.BlendingService - Blending failed for 702b5675-6bfb-48d7-adf0-867cb409d5ed
java.lang.IllegalStateException: Discriminator not found
at com.amartus.sonata.blender.impl.MergeSchemasAction.execute(MergeSchemasAction.java:66)

aretha\MEF-LSO-Legato-SDK-aretha\api\legato\serviceProvisioning\serviceOrdering\v4\serviceOrderingApi.openapi.yaml
The the MefServiceConfiguration extend Extensible where the @type is.
Manual move of @type to MefServiceCOnfig helped, but this cannot be done on published APIs

@MichalLaczynskiAmartus
Copy link
Contributor Author

Tested OK

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

No branches or pull requests

2 participants