Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-2461

Adjust BP-gen to correctly support DFC component spec - streams

XMLWordPrintable

      Adjust BP-gen to correctly support DFC component spec, which includes:

      • topic name - couldn't be provided be inputs. When 'sourced_at_deployment' is set to true, bp-gen throws following exception:
        Exception in thread "main" picocli.CommandLine$ExecutionException: Error while running command (org.onap.blueprintgenerator.core.BlueprintCommand@3738449f): java.lang.ClassCastException: class java.util.LinkedHashMap cannot be cast to class java.lang.String (java.util.LinkedHashMap and java.lang.String are in module java.base of loader 'bootstrap')         at picocli.CommandLine.execute(CommandLine.java:1168)        at picocli.CommandLine.access$800(CommandLine.java:141)        at picocli.CommandLine$RunLast.handle(CommandLine.java:1367)        at picocli.CommandLine$RunLast.handle(CommandLine.java:1335)        at picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:1243)        at picocli.CommandLine.parseWithHandlers(CommandLine.java:1526)        at picocli.CommandLine.run(CommandLine.java:1974)        at picocli.CommandLine.run(CommandLine.java:1904)        at org.onap.blueprintgenerator.core.App.main(App.java:33)Caused by: java.lang.ClassCastException: class java.util.LinkedHashMap cannot be cast to class java.lang.String (java.util.LinkedHashMap and java.lang.String are in module java.base of loader 'bootstrap')        at org.onap.blueprintgenerator.models.blueprint.Blueprint.setQuotations(Blueprint.java:88)        at org.onap.blueprintgenerator.models.blueprint.Blueprint.createBlueprint(Blueprint.java:79)        at org.onap.blueprintgenerator.core.BlueprintCommand.run(BlueprintCommand.java:56)        at picocli.CommandLine.execute(CommandLine.java:1160)        ... 8 more
        

         

            twrobel twrobel
            baniewsk baniewsk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: