Skip to content

Commit

Permalink
2.0.8-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
phempten committed Jun 29, 2023
1 parent ed01ca9 commit e249269
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.coremedia.labs.plugins</groupId>
<artifactId>content-hub-adapter-coremedia</artifactId>
<version>2.0.7-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coremedia-labs/studio-client.main.content-hub-adapter-coremedia",
"version": "2.0.7-SNAPSHOT",
"version": "2.0.8-SNAPSHOT",
"author": "CoreMedia GmbH",
"license": "CoreMedia Open Source License",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion studio-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.coremedia.labs.plugins</groupId>
<artifactId>studio-server.content-hub-adapter-coremedia</artifactId>
<version>2.0.7-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<packaging>coremedia-plugin</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ public class CoreMediaContentHubTransformer implements ContentHubTransformer {
"resourceBundles",
"resourceBundles2",
"subjectTaxonomy",
"segmentaxonomy",
"segmentTaxonomy",
"channelTaxonomy",
"templateSets",
"viewtype",
"relatedProducts",
"relatedAssets",
"relatedTC",
"relatedArticles",
"relatedKBArticles"
"relatedProducts"
);

private static final List<String> DIRECT_COPY_PROPERTIES = List.of(
Expand Down Expand Up @@ -71,7 +67,7 @@ public ContentModel transform(Item source, ContentHubAdapter contentHubAdapter,
ContentModel contentModel = ContentModel.createContentModel(contentName, item.getId(), targetType);

fillContentModel(contentModel, item.getContent());
contentModel.put("derivateOfReference", item.getContent().getUuid().toString());


Content content = item.getContent();
content.getProperties().forEach((prop, value) -> {
Expand All @@ -90,7 +86,7 @@ public ContentModel transform(Item source, ContentHubAdapter contentHubAdapter,
}
}
});

contentModel.put("derivateOfReference", item.getContent().getUuid().toString());
return contentModel;
}

Expand Down

0 comments on commit e249269

Please sign in to comment.