Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-2404

[aai-schema-ingest] Upgrading from 1.4.1 to 1.4.3 is not backward compatible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Frankfurt Release
    • Dublin Release
    • None

      When I try to move from the 1.4.1 to 1.4.3 of the schema-ingest library the following error asserts:

      01:41:30 [ERROR] /w/workspace/aai-spike-master-verify-java/src/main/java/org/onap/aai/spike/SpikeApplication.java:[93,61] incompatible types: org.onap.aai.setup.SchemaVersions cannot be converted to org.onap.aai.setup.SchemaConfigVersions

      Also router-core:

      [ERROR] testLoadingMultipleOxmFiles(org.onap.aai.schema.OxmModelLoaderTest) Time elapsed: 0.001 s <<< ERROR!
      java.lang.IllegalStateException: Failed to load ApplicationContext
      Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'oxmConfigTr\
      anslator' defined in URL file:src/test/resources/spring-beans/data-router-oxm.xml: Unsatisfied dependency expressed t\
      hrough constructor parameter 1: Could not convert argument value of type [org.onap.aai.setup.SchemaVersions] to require\
      d type [org.onap.aai.setup.SchemaConfigVersions]: Failed to convert value of type 'org.onap.aai.setup.SchemaVersions' t\
      o required type 'org.onap.aai.setup.SchemaConfigVersions'; nested exception is java.lang.IllegalStateException: Cannot \
      convert value of type 'org.onap.aai.setup.SchemaVersions' to required type 'org.onap.aai.setup.SchemaConfigVersions': n\
      o matching editors or conversion strategy found

            ggraziani ggraziani
            jimmydot jimmydot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: