...
Technology | Policy Framework | CLAMP | Recommendation | Comment |
---|---|---|---|---|
Lifecycle Management | Policy Common | Spring Framework | Spring for new (participant) Migrate if doing something else (Spring in policy-common?) | |
REST | Policy Common, using JAX-RS annotations | Camel | Camel the Commissining/Instantiation Spring for Supervision/Monitoring Use Camel where we need flexibility. | |
Parameter Handling | Built in parameter validation in policy common | Spring properties | Let's investigate if the policy-common parameter handling can be got to work in Spring (javax validation) | |
TOSCA Handling | Policy Models, integrated serialization and persistence for most TOSCA entities | CLAMP TOSCA handling (more info) | Separate study ongoing in the Policy Framework on this We should try and get this framework on Spring | |
Persistence | Policy Models using JPA/JDBC/Eclipselink/MariaDB | Spring using JPA/JDBC/Hibernate/MariaDB | To be investigated | |
UI | None (Angular in TOSCA PoC, APEX policy editor) | React | React | 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
Area | Policy Framework | CLAMP | Recommendation | Comment |
---|---|---|---|---|
Module Structure | Maven multi module project | Single module project, builds everything | ||
Docker Build | Common approach for current components and repos using a "packages" maven module | Part of Single module | ||
Integration Test | CSITs done per component | Comprehensive Integration test, part of build | ||
docs | All docs are in policy parent | docs in subdirectory in clamp repo | Move to policy parent | |
UI | Separate "policy gui" repo | ui-react subdirectories in clamp repo | Let's think about it. | Would be good to do itTake the easiest approach for now |
Simulators | DMaaP Simulator and others | Emulator for CLAMP external interfaces |
...
- 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
Needs for TOSCA Control Loop
...