Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-818

When upgrading a policy plugin, it does not show-up in the Policy-drop-down of a service

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.2.0.Final, 1.2.x
    • 1.2.0.Final
    • Management UI
    • None
    • Hide

      Steps to reproduce:

      1. install APIMAN 1.2.0.Beta3 just like is described for 1.1.9.Final on the website
      2. start APIMAN
      3. install the "Add-header Policy"
      4. create an organization
      5. create a service
      6. add the "simple-header Policy"
      7. publish the service
      8. try it using the echo-test-service
      9. Now change the "simple-header Policy"-code by:
        1. setting a version in the maven pom.xml (right below the <name>-tag)
        2. always adding a header (so you can see this version is used in echo-test-service)
        3. change the file plugin.json setting the field "name" to include the new version
        4. change the file simple-header-policyDef.json setting the name to include the new version
      10. mvn clean install the new "simple-header Policy"-plugin
      11. upgrade the plugin in the apimanui
      12. notice the plugin is upgraded, the apimanui shows the value from plugin.json
      13. create a new version of the earlier created service
      14. drop the policy
      15. add a new policy

      Expected behaviour:

      1. the new version of the Policy is shown

      Actual behaviour:

      1. the old version of the Policy is show
      Show
      Steps to reproduce: install APIMAN 1.2.0.Beta3 just like is described for 1.1.9.Final on the website start APIMAN install the "Add-header Policy" create an organization create a service add the "simple-header Policy" publish the service try it using the echo-test-service Now change the "simple-header Policy"-code by: setting a version in the maven pom.xml (right below the <name>-tag) always adding a header (so you can see this version is used in echo-test-service) change the file plugin.json setting the field "name" to include the new version change the file simple-header-policyDef.json setting the name to include the new version mvn clean install the new "simple-header Policy"-plugin upgrade the plugin in the apimanui notice the plugin is upgraded, the apimanui shows the value from plugin.json create a new version of the earlier created service drop the policy add a new policy Expected behaviour: the new version of the Policy is shown Actual behaviour: the old version of the Policy is show

    Description

      When upgrading a policy plugin, the new version of the Policy is not shown in the Policy-dropdown of a new version of a service.

      Attachments

        Activity

          People

            ewittman@redhat.com Eric Wittmann
            gkfirst8_jira Gerke Kok (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: