Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NONRTRIC - Implement DMaaP mediator producer service in Java
[nonrtric.git]
/
dmaap-adaptor-java
/
src
/
main
/
java
/
org
/
oran
/
dmaapadapter
/
tasks
/
ProducerRegstrationTask.java
diff --git
a/dmaap-adaptor-java/src/main/java/org/oran/dmaapadapter/tasks/ProducerRegstrationTask.java
b/dmaap-adaptor-java/src/main/java/org/oran/dmaapadapter/tasks/ProducerRegstrationTask.java
index
8b5b6cf
..
3a81f39
100644
(file)
--- a/
dmaap-adaptor-java/src/main/java/org/oran/dmaapadapter/tasks/ProducerRegstrationTask.java
+++ b/
dmaap-adaptor-java/src/main/java/org/oran/dmaapadapter/tasks/ProducerRegstrationTask.java
@@
-152,12
+152,17
@@
public class ProducerRegstrationTask {
// An object with no properties
String schemaStr = "{" //
+ "\"type\": \"object\"," //
// An object with no properties
String schemaStr = "{" //
+ "\"type\": \"object\"," //
- + "\"properties\": {}," //
+ + "\"properties\": {" //
+ + " \"filter\": { \"type\": \"string\" }" //
+ + "}," //
+ "\"additionalProperties\": false" //
+ "}"; //
+ "\"additionalProperties\": false" //
+ "}"; //
- return jsonObject(schemaStr);
+ return
+
+ jsonObject(schemaStr);
}
}
+
}
private String readSchemaFile(String filePath) throws IOException, ServiceException {
}
private String readSchemaFile(String filePath) throws IOException, ServiceException {