Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
- 'NOTICE'

env:
DOCKER_NAMESPACE: eclipsebasyx
DOCKER_NAMESPACE: friedjannik

jobs:
build-and-push-prerelease:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ public CursorResult<List<AssetAdministrationShellDescriptor>> getAllAasDescripto
AggregationResults<AssetAdministrationShellDescriptor> results = template.aggregate(Aggregation.newAggregation(allAggregations), collectionName, AssetAdministrationShellDescriptor.class);
List<AssetAdministrationShellDescriptor> foundDescriptors = results.getMappedResults();
String cursor = resolveCursor(pRequest, foundDescriptors, AssetAdministrationShellDescriptor::getId);
foundDescriptors.forEach(desc -> {
desc.getSpecificAssetIds().forEach(sId -> {
sId.setExternalSubjectId(null);
});
});
return new CursorResult<>(cursor, foundDescriptors);
}

Expand Down Expand Up @@ -152,6 +157,9 @@ public AssetAdministrationShellDescriptor getAasDescriptor(@NonNull String aasDe
if (descriptor == null) {
throw new AasDescriptorNotFoundException(aasDescriptorId);
}
descriptor.getSpecificAssetIds().forEach(sId -> {
sId.setExternalSubjectId(null);
});
return descriptor;
}

Expand Down
Loading