Media Types
This commit is contained in:
@@ -65,7 +65,7 @@ public class MamMigrationSelective implements CommandLineRunner {
|
||||
private ObjectMapper jsonMapper = new ObjectMapper();
|
||||
|
||||
private List<String> locations = new ArrayList<String>();
|
||||
|
||||
|
||||
@Override
|
||||
public void run(String... strings) throws Exception {
|
||||
|
||||
@@ -126,8 +126,7 @@ public class MamMigrationSelective implements CommandLineRunner {
|
||||
record.addClassification("BusinessUnit.CAP");
|
||||
|
||||
// media type
|
||||
// TODO
|
||||
record.addClassification("MediaType.Other");
|
||||
record.addClassification(Definitions.mediaTypes.get(entry.mediaType.id));
|
||||
|
||||
// Fields
|
||||
record.addField("byr_Title", entry.name.get("en"));
|
||||
|
||||
Reference in New Issue
Block a user