Store and Validate a JSON Object
[cps.git] / cps / cps-service / src / main / java / org / onap / cps / api / CpService.java
index a5ab485..cdd1c4d 100644 (file)
@@ -52,4 +52,11 @@ public interface CpService {
      */
     void storeSchemaContext(final SchemaContext schemaContext);
 
+    /**
+     * Store the JSON structure in the database.
+     *
+     * @param jsonStructure the JSON structure.
+     * @return entity ID.
+     */
+    Integer storeJsonStructure(final String jsonStructure);
 }