Code Review
/
cps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Store and Validate a JSON Object
[cps.git]
/
cps
/
cps-service
/
src
/
main
/
java
/
org
/
onap
/
cps
/
api
/
CpService.java
diff --git
a/cps/cps-service/src/main/java/org/onap/cps/api/CpService.java
b/cps/cps-service/src/main/java/org/onap/cps/api/CpService.java
index
a5ab485
..
cdd1c4d
100644
(file)
--- a/
cps/cps-service/src/main/java/org/onap/cps/api/CpService.java
+++ b/
cps/cps-service/src/main/java/org/onap/cps/api/CpService.java
@@
-52,4
+52,11
@@
public interface CpService {
*/
void storeSchemaContext(final SchemaContext schemaContext);
*/
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);
}
}