Revision 45634
Added by Michele Artini over 7 years ago
InformationServiceClient.java | ||
---|---|---|
88 | 88 |
return restTemplate.postForObject(url, profile, String.class); |
89 | 89 |
} |
90 | 90 |
|
91 |
public String bulkRegister(final String profile) { |
|
92 |
final RestTemplate restTemplate = new RestTemplate(); |
|
93 |
final String url = props.getInformationServiceUrl() + "/is/profile?bulk=true"; |
|
94 |
return restTemplate.postForObject(url, profile, String.class); |
|
95 |
} |
|
96 |
|
|
91 | 97 |
public void deleteProfile(final String id) { |
92 | 98 |
final RestTemplate restTemplate = new RestTemplate(); |
93 | 99 |
final String url = props.getInformationServiceUrl() + "/is/profile/" + id; |
... | ... | |
133 | 139 |
} |
134 | 140 |
} |
135 | 141 |
|
136 |
public void updateProfileNode(final String profileId, final String string, final String string2) { |
|
142 |
public void updateProfileNode(final String profileId, final String string, final String string2) throws InformationServiceException {
|
|
137 | 143 |
// TODO Auto-generated method stub |
138 | 144 |
throw new DnetGenericRuntimeException("to be implemented"); |
139 | 145 |
} |
Also available in: Unified diff