Uploaded image for project: 'Application Controller'
  1. Application Controller
  2. APPC-1263

Two methods of Artifact Transformer in appc-config-params will always return null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • Dublin Release
    • APPC

      In class org.onap.sdnc.config.params.transformer.ArtificatTransformer
      This method will always return null
      public String convertPdToParams(PropertyDefinition propertyDefinition)
      throws JsonParseException, JsonMappingException, IOException {
      String paramJson = null;
      if (propertyDefinition != null && propertyDefinition.getParameters() != null)

      { List<Parameter> parameters = propertyDefinition.getParameters(); }

      return paramJson;
      }

      This method is also called from convertYAMLToParams method in the same class which will also always return null as a consequence.

            jarmstrong001 jarmstrong001
            jarmstrong001 jarmstrong001
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: