Skip to content

Problem finding @type in Extensible #16

Closed
@MichalLaczynskiAmartus

Description

@MichalLaczynskiAmartus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions