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

Policy Lifecycle API RESTful Create/Read Main Entry Point for Concrete Policies

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • None
    • None
    • None

      As an ONAP policy developer, I would like to create RESTful API entry points for Create/Read concrete policies in the API engine code so that a CSIT test can be developed and S3P stability/performance tests can be developed to test the API engine. Various types of concrete policies (i.e. DCAE uS configuration, raw and template-based XACML/DROOLS/APEX) should be covered by these same entry points so that they are generic APIs for Create/Read all kinds of policies. Main entry point includes REST controller code that directs API requests into appropriate service provider methods via annotations and service provider code that implements the API processing workflow.

      Acceptance Criteria:

      • Code implementation in policy/api
      • Junit tests exist in this repo that test RESTful POST/GET on policy artifacts for DCAE uS configuration policy, raw and template-based XACML/DROOLS/APEX policies
      • Alignment with logging requirements
      • https://wiki.onap.org/display/DW/ONAP+API+Common+Versioning+Strategy+%28CVS%29+Guideline
      • Alignment with sonar, checkstyle requirements
      • Cucumber tests
      • HTTPS configurable support
      • AAF/CADI support
      • Documentation

       

            cgao cgao
            pdragosh pdragosh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: