File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/city/makeour/moc Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 33import java .security .InvalidKeyException ;
44import java .security .NoSuchAlgorithmException ;
55
6+ import org .springframework .web .client .RestClient .ResponseSpec ;
7+
68import city .makeour .moc .ngsiv2 .Ngsiv2Client ;
79import city .makeour .ngsi .v2 .api .EntitiesApi ;
810import city .makeour .ngsi .v2 .invoker .ApiClient ;
@@ -87,7 +89,7 @@ public void setFiwareService(String fiwareService) {
8789 this .client .getApiClient ().addDefaultHeader ("Fiware-Service" , fiwareService );
8890 }
8991
90- public void createEntity (String contentType , Object body ) {
91- this .client .createEntity (contentType , body );
92+ public ResponseSpec createEntity (String contentType , Object body ) {
93+ return this .client .createEntity (contentType , body );
9294 }
9395}
You can’t perform that action at this time.
0 commit comments