Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-1726

PDP-D: APPS CL: can't find ControlLoopParams and rules cannot be resolved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Dublin Release
    • Dublin Release
    • None

      features detect two different versions of capabililities library from policy/common, one pointing to the just released version 1.4.0 that is retrieved as a transitive dependency, and the 1.4.0-SNAPSHOT from usage in drools-applications:

      error: other version of library capabilities-1.4.0.jar present: /opt/app/policy/lib/capabilities-1.4.0-SNAPSHOT.jar.

      Unable to resolve ObjectType 'ControlLoopParams' : [Rule name='INSERT.PARAMS']

      Unable to resolve ObjectType 'ControlLoopParams' : [Rule name='REMOVE.PARAMS']

      Unable to Analyse Expression getName() == $policyName:
      [Error: unable to resolve method using strict-mode: org.onap.policy.models.tosca.authorative.concepts.ToscaPolicy.$policyName()]
      [Near : \{... getName() == $policyName ....}]
      ^
      [Line: 137, Column: 14] : [Rule name='REMOVE.PARAMS']

      Unable to Analyse Expression getVersion() == $policyVersion:
      [Error: unable to resolve method using strict-mode: org.onap.policy.models.tosca.authorative.concepts.ToscaPolicy.$policyVersion()]
      [Near : \{... getVersion() == $policyVersion ....}]

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

              Created:
              Updated:
              Resolved: