Skip to content

Commit

Permalink
feat: remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras committed Apr 24, 2024
1 parent ab0eb8f commit b91026a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<goal>wget</goal>
</goals>
<configuration>
<url>https://raw.githubusercontent.com/onecx/onecx-workspace-svc/main/src/main/openapi/onecx-workspace-v1-openapi.yaml</url>
<url>https://raw.githubusercontent.com/onecx/onecx-workspace-svc/feat/add-slots/src/main/openapi/onecx-workspace-v1-openapi.yaml</url>
<outputDirectory>target/tmp/openapi</outputDirectory>
<outputFileName>onecx-workspace-svc-external-v1.yaml</outputFileName>
<skipCache>true</skipCache>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@
import org.mapstruct.Mapping;

import gen.org.tkit.onecx.product.store.client.model.MicrofrontendPSV1;
import gen.org.tkit.onecx.product.store.client.model.ProductItemSearchCriteriaPSV1;
import gen.org.tkit.onecx.product.store.client.model.ProductPSV1;
import gen.org.tkit.onecx.shell.bff.rs.internal.model.*;
import gen.org.tkit.onecx.theme.client.model.Theme;
import gen.org.tkit.onecx.workspace.client.model.GetWorkspaceByUrlRequest;
import gen.org.tkit.onecx.workspace.client.model.Microfrontend;
import gen.org.tkit.onecx.workspace.client.model.Workspace;
import gen.org.tkit.onecx.workspace.client.model.WorkspaceAbstract;

@Mapper
public interface WorkspaceConfigMapper {
Expand All @@ -25,11 +23,6 @@ public interface WorkspaceConfigMapper {
@Mapping(expression = "java( String.valueOf(themeInfo.getProperties()) )", target = "properties")
ThemeDTO mapTheme(Theme themeInfo);

@Mapping(target = "productNames", source = "products")
@Mapping(target = "pageSize", ignore = true)
@Mapping(target = "pageNumber", ignore = true)
ProductItemSearchCriteriaPSV1 map(WorkspaceAbstract workspaceInfo);

default RouteDTO mapRoute(MicrofrontendPSV1 mfe, ProductPSV1 product,
List<Microfrontend> wsMfes, String workspaceUrl) {
RouteDTO route = new RouteDTO();
Expand Down

0 comments on commit b91026a

Please sign in to comment.