Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Architecturally, the Policy Framework and CLAMP are complimentary as separate systems. The Policy Framework is part of control loops, and CLAMP is a control loop management system.

Technologies

TechnologyLifecycle ManagementRESTTOSCA Handling
No.Policy FrameworkCLAMPRecommendationComment

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3209

Policy CommonSpring Framework

Spring for new (

participant)

All participants including DCAE/K8S)

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3168

Migrate if doing something else in existing PF code in master

(Spring in policy-common?)


Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3210

Policy Common, using JAX-RS annotationsCamelCamel the Commissining/Instantiation
Spring for Supervision/Monitoring
Use Camel where we need flexibility.Parameter Handling

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3211

Built in parameter validation in policy commonSpring propertiesLet's investigate if the policy-common parameter handling can be got to work in Spring (javax validation)

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3212

Policy Models, integrated serialization and persistence for most TOSCA entitiesCLAMP TOSCA handling (more info)

Separate study ongoing in the Policy Framework on this

We should try and get this framework on Spring, which would enable further merging

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3213

Persistence

Policy Models using JPA/JDBC/Eclipselink/MariaDBSpring using JPA/JDBC/Hibernate/MariaDB
To be investigated.  Should also consider using the policy DB to store TOSCA rather than caching it in a separate CLAMP-specific DB

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3214

UI

None (Angular in TOSCA PoC, APEX policy editor)ReactReact

Angular (Security issues raised), new version did not solve the issues. React is flexible and easier to understand, we moved in an earlier release from Angular to React. Used Jsoneditor (library), easier with React.

Develop the Monitoring GUI as a new tab in the CLAMP UI.

Code Structure, Build, and Test

...

Module Structure

Policy FrameworkCLAMPRecommendationComment

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3215

Maven multi module projectSingle module project, builds everythingDocker BuildMulti ModulePrice to pay is that we could have some issues with getting integration coverage

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3216

Common approach for current components and repos using a "packages" maven modulePart of Single moduleIntegration Test
Add TOSCA components to the Docker build, also see if or how we use the Policy Framework approach

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3217

CSITs done per component, separate to buildComprehensive Integration test, part of buildThe ONAP recommendation is that Integration tests should be a part of the build.
No JiradocsAll docs are in policy parentdocs in subdirectory in clamp repoMove to policy parentUI

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3218

Separate "policy gui" repoui-react subdirectories in clamp repo

Let's think about it.

Would be good to do itWe should do this

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-3219

DMaaP Simulator A&AI, SDNC, CDS, APPC, SimulatorsDMaaP Simulator and othersEmulator for CLAMP external interfaces, TOSCA POC we have a participant simulator
CLAMP should use the real Policy components in the integration tests within the build (stretch goal)

Other Considerations

  • CLAMP planned improvements (Can we add?)
  • Caching policies in CLAMP vs accessing PF database (Mentioned in the demo video)
  • DCAE is evolving, how to work towards the K8S based DCAE

...