Refs #10810: Reorganize URLs to be REST compliant
Task-Url: https://support.d4science.org/issues/10810 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-accounting-service@161875 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
707f9c442b
commit
eb6f8993a2
|
@ -219,7 +219,9 @@ public class HTTPCall {
|
|||
StringBuilder result = getStringBuilder(connection.getInputStream());
|
||||
|
||||
String res = result.toString();
|
||||
logger.trace("Server returned content : {}", res);
|
||||
if(res != null && res.compareTo("")!=0) {
|
||||
logger.trace("Server returned content : {}", res);
|
||||
}
|
||||
|
||||
return (C) res;
|
||||
} finally {
|
||||
|
|
|
@ -21,7 +21,7 @@ public class PersistenceAccountingService extends PersistenceBackend {
|
|||
|
||||
private static final Logger logger = LoggerFactory.getLogger(PersistenceAccountingService.class);
|
||||
|
||||
public static final String PATH_SERVICE_INSERT_ACCOUNTING = "/insert";
|
||||
public static final String PATH_SERVICE_INSERT_ACCOUNTING = "/record";
|
||||
|
||||
public static final String URL_PROPERTY_KEY = "URL";
|
||||
|
||||
|
|
Loading…
Reference in New Issue