You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 66 Next »

Backlog

NumberNotesRelates ToTypeAssignee

POLICY-1821 - Getting issue details... STATUS

Investigate ways of persisting policy state information with different structures at run time. One approach could be to use Avro & Apache Hive. [There is also a NoSQL/JSON option available in MariaDB and Postgres]

Another option is the Apache Cassandra database.

Writing plugins towards state information stored in CPS might be another approach that could work across all the PDPs.

POLICY-2898Epic

POLICY-2898 - Getting issue details... STATUS

Need to determine a strategy and/or design for multi-cluster support.

MariaDB Galera Cluster     PostgreSQL Clustering 

Note: PostgreSQL does not natively support any multi-master clustering solution, like MySQL or Oracle do.

POLICY-1821Story

POLICY-2715 - Getting issue details... STATUS

Allow DB to be changed based on user needs e.g Postgres for MariaDBPOLICY-1787Epic

POLICY-1787 - Getting issue details... STATUS

Move table creation into the upgrade/downgrade/install scripts in order to support upgrade/rollback of ONAP releases.

Liquibase may be the required solution.

Policy database DDL can be exported from MariaDB to a file using HeidiSQL.


POLICY-2715StoryJorge Hernandez

POLICY-2086 - Getting issue details... STATUS

References to DB should be moved from persistence.xml to properties file to facilitate the use of alternate databases.

We can modify the current code to read in the location of a properties file 

JDBC properties
-Djdbc.properties=/path/to/jdbc.properties
 String propertiesPath = System.getProperty( "jdbc.properties" );

if ( propertiesPath != null )
{
     FileInputStream in = new FileInputStream( propertiesPath );

     try
     {
         jdbcProperties = Properties.load( in );
     }
     finally
     {
         in.close( );
     }
}

Kubernetes

There are four different ways that you can use a ConfigMap to configure a container inside a Pod:

  • Inside a container command and args
  • Environment variables for a container
  • Add a file in read-only volume, for the application to read
  • Write code to run inside the Pod that uses the Kubernetes API to read a ConfigMap

Kubernetes Configmap


Story

POLICY-3059 - Getting issue details... STATUS

Invalid target-database property in persistence.xml in apex pdp.

Persistence.xml should use eclipselink.target-database

e.g. <property name="eclipselink.target-database" value="MySQL" />


TaskAjith Sreekumar

POLICY-1837 - Getting issue details... STATUS

Currently, the models Provider classes manage transactions. Transaction management should be moved to client for better performance and atomicity. This will also eliminate the need for caching on the client side.

Note: DatabasePolicyModelsProviderImpl in the models-provider package provides rest APIs such as createServiceTemplate, updateServiceTemplate and deleteServiceTemplate which in turn call the corresponding APIs from AuthorativeToscaProvider in the models-tosca package..


Story

POLICY-2540 - Getting issue details... STATUS

How best to deal with CRUD of data types in policy-api and policy-models. It is possible only to create data types indirectly in policy type create requests. Update and delete of data types is not possible.

SimpleToscaProvider contains the following methods not available in AuthorativeToscaProvider : getDataTypes, getCascadedDataTypes, createDataTypes, updateDataTypes and deleteDataType.


Story

POLICY-3000 - Getting issue details... STATUS

Recover from corruption of policy database. [Possibly a bug in mariadb]MDEV-23119Story

POLICY-2587 - Getting issue details... STATUS

The CLC (Control Loop Coordinator) lockingStrategy should allow policy designers to specify the target locking behaviour according to the needs of the use case [Policy template issue]POLICY-2588StoryPramod Jamkhedkar

POLICY-2588 - Getting issue details... STATUS

Ability to implement target locking mechanisms over such sub-parts of a target or collection of targets. [Policy template issue]

Note: AuthorativeToscaProvider provides synchronized object thread locking in it's methods.

POLICY-2587StoryPramod Jamkhedkar

POLICY-2717 - Getting issue details... STATUS

What policy components needs to be centralized vs de-centralized and moved to tenant namespaces. (R8 ONAP to support multi-tenancy)

Note: Eclipselink supports Using Table-Per-Tenant Multi-Tenancy 


Story

POLICY-2997 - Getting issue details... STATUS

Clean up/Roll up of old DB data. Purge/Archive job should be created and run at a scheduled interval.

MariaDB Event Scheduler     Postgres pg_cron


Story Jorge Hernandez

POLICY-3153 - Getting issue details... STATUS

Concurrent DB access issues in control loop POC.
BugRamesh Murugan Iyer

POLICY-3167 - Getting issue details... STATUS

Investigate what's involved in switching to spring
StoryLiam Fallon

Externalizing ONAP DBs to a separate namespace


  • No labels