Search in sources :

Example 1 with OldExternalApiEventTableDesc

use of org.openecomp.sdc.be.dao.cassandra.schema.tables.OldExternalApiEventTableDesc in project sdc by onap.

the class SdcSchemaBuilder method handle1707OSMigration.

// TODO remove after 1707_OS migration
private static void handle1707OSMigration(Map<String, Map<String, List<String>>> cassndraMetadata, Map<String, List<ITableDescription>> schemeData) {
    if (cassndraMetadata.containsKey("attaudit")) {
        List<ITableDescription> list = new ArrayList<>();
        list.add(new OldExternalApiEventTableDesc());
        schemeData.put("attaudit", list);
    }
}
Also used : OldExternalApiEventTableDesc(org.openecomp.sdc.be.dao.cassandra.schema.tables.OldExternalApiEventTableDesc) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)1 OldExternalApiEventTableDesc (org.openecomp.sdc.be.dao.cassandra.schema.tables.OldExternalApiEventTableDesc)1