NONRTRIC - Implement DMaaP mediator producer service in Java
[nonrtric.git] / dmaap-adaptor-java / src / main / java / org / oran / dmaapadapter / tasks / ProducerRegstrationTask.java
index 8b5b6cf..3a81f39 100644 (file)
@@ -152,12 +152,17 @@ public class ProducerRegstrationTask {
             // An object with no properties
             String schemaStr = "{" //
                     + "\"type\": \"object\"," //
-                    + "\"properties\": {}," //
+                    + "\"properties\": {" //
+                    + "   \"filter\": { \"type\": \"string\" }" //
+                    + "}," //
                     + "\"additionalProperties\": false" //
                     + "}"; //
 
-            return jsonObject(schemaStr);
+            return
+
+            jsonObject(schemaStr);
         }
+
     }
 
     private String readSchemaFile(String filePath) throws IOException, ServiceException {