Skip to content

Commit

Permalink
feat(impl):[#395] Add TODO for clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed Feb 12, 2024
1 parent 70f61d5 commit 3c61508
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public AssetAdministrationShellDescriptor getAssetAdministrationShellDescriptor(
final String descriptorEndpoint = endpointDataReference.getEndpoint() + shellDescriptorTemplate;
final UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromUriString(descriptorEndpoint);
final Map<String, String> values = Map.of(PLACEHOLDER_AAS_IDENTIFIER, encodeWithBase64(aasIdentifier));
// TODO (mfischer): #395: clarify: shouldn't this be dtrRestTemplate?!
return edcRestTemplate.exchange(uriBuilder.build(values), HttpMethod.GET,
new HttpEntity<>(null, headers(endpointDataReference)), AssetAdministrationShellDescriptor.class)
.getBody();
Expand Down

0 comments on commit 3c61508

Please sign in to comment.