Skip to content

Commit

Permalink
fix registry synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
mjacoby committed Nov 25, 2024
1 parent 893a35e commit 5676264
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import de.fraunhofer.iosb.ilt.faaast.service.config.Config;
import de.fraunhofer.iosb.ilt.faaast.service.model.ServiceSpecificationProfile;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import org.eclipse.digitaltwin.aas4j.v3.model.builder.ExtendableBuilder;
Expand All @@ -30,7 +29,7 @@
*/
public class EndpointConfig<T extends Endpoint> extends Config<T> {

protected List<ServiceSpecificationProfile> profiles = new ArrayList<>();
protected List<ServiceSpecificationProfile> profiles = ServiceSpecificationProfile.ALL;

public List<ServiceSpecificationProfile> getProfiles() {
return profiles;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
import de.fraunhofer.iosb.ilt.faaast.service.model.api.request.submodelrepository.PatchSubmodelByIdRequest;
import de.fraunhofer.iosb.ilt.faaast.service.model.api.request.submodelrepository.PostSubmodelRequest;
import de.fraunhofer.iosb.ilt.faaast.service.model.api.request.submodelrepository.PutSubmodelByIdRequest;
import java.util.Arrays;
import java.util.List;


Expand Down Expand Up @@ -453,6 +454,8 @@ public enum ServiceSpecificationProfile {
List.of(),
List.of(ResetRequest.class));

public static List<ServiceSpecificationProfile> ALL = Arrays.asList(ServiceSpecificationProfile.values());

private final String id;
private final List<Interface> interfaces;
private final List<Class<? extends Request>> supportedRequests;
Expand Down

0 comments on commit 5676264

Please sign in to comment.