Check-in Monday: Excel updates, Baytril, delivery date, drafts
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# 2017-10-27
|
# 2017-10-27
|
||||||
- Vermerke im Excel nachziehen
|
- Vermerke im Excel nachziehen [erledigt]
|
||||||
- Brand Baytril existiert für CAP und FAP!! [erledigt]
|
- Brand Baytril existiert für CAP und FAP!! [erledigt]
|
||||||
- CAP.Baytril scheint defekt (zeigt Motives an). Martin klärt via Megan.
|
- CAP.Baytril scheint defekt (zeigt Motives an). Martin klärt via Megan.
|
||||||
- evtl. Check einbauen für Widerspruch Brand <-> Business Unit
|
- evtl. Check einbauen für Widerspruch Brand <-> Business Unit
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
- Status 4 (Created) und 5 (Assigned) auf Status "Draft" setzen [erledigt]
|
- Status 4 (Created) und 5 (Assigned) auf Status "Draft" setzen [erledigt]
|
||||||
- Problem:
|
- Problem:
|
||||||
{"exceptionMessage":"The collection already contains an item with the specified key."
|
{"exceptionMessage":"The collection already contains an item with the specified key."
|
||||||
72 mal im Log, bspw. 63701, 63711, 43182
|
72 mal im Log, bspw. 63701, 43182
|
||||||
- File upload
|
- File upload
|
||||||
- Selections
|
- Selections
|
||||||
- Bilder hochladen für Assets von Claudias Liste
|
- Bilder hochladen für Assets von Claudias Liste
|
||||||
@@ -16,6 +16,8 @@
|
|||||||
- Definitions anpassen
|
- Definitions anpassen
|
||||||
- Check: Hotfix nötig auf PROD?
|
- Check: Hotfix nötig auf PROD?
|
||||||
- Go-Live AH 15. November
|
- Go-Live AH 15. November
|
||||||
|
- Fragen:
|
||||||
|
- s. Excel
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+128
-128
@@ -302,25 +302,25 @@ classify;BusinessUnit.CAP,Brand.Seresto;;;;Seresto;;;;;
|
|||||||
classify;BusinessUnit.CAP,Brand.Veraflox;;;;Veraflox;;;;;
|
classify;BusinessUnit.CAP,Brand.Veraflox;;;;Veraflox;;;;;
|
||||||
classify;BusinessUnit.General,Brand.General;;;Video Library;;-> alles was nicht brand-related ist, bitte unter Space General;;;;Wenn möglich, Brand zuordnen, sonst General/unassigned
|
classify;BusinessUnit.General,Brand.General;;;Video Library;;-> alles was nicht brand-related ist, bitte unter Space General;;;;Wenn möglich, Brand zuordnen, sonst General/unassigned
|
||||||
keyword;;;;;Events;;;;;
|
keyword;;;;;Events;;;;;
|
||||||
brand;;;;;;CVBD;;;;
|
classify;BusinessUnit.CAP,Brand.CVBD;;;;;CVBD;;;;
|
||||||
skip;;;;;Films by Brand;;;;;
|
skip;;;;;Films by Brand;;;;;
|
||||||
brand;;;;;;Advantage;;;;
|
classify;BusinessUnit.CAP,Brand.Advantage;;;;;Advantage;;;;
|
||||||
classify;Brand.Advantix;;;;;Advantix / K9 Advantix;;;;
|
classify;BusinessUnit.CAP,Brand.Advantix;;;;;Advantix / K9 Advantix;;;;
|
||||||
skip;;;;;;;No Bite;;;
|
skip;;;;;;;No Bite;;;
|
||||||
skip;;;;;;;Repel & Kill - 2014;;;
|
skip;;;;;;;Repel & Kill - 2014;;;
|
||||||
classify;Brand.Advocate,Brand.Advantage;;;;;Advocate/Advantage Multi;;;;
|
classify;BusinessUnit.CAP,Brand.Advocate,Brand.Advantage;;;;;Advocate/Advantage Multi;;;;
|
||||||
brand;;;;;;Baycox;;;;
|
classify;BusinessUnit.FAP,Brand.Baycox;;;;;Baycox;;;;
|
||||||
keyword;;;;;;Bayer Parasite Solutions;;;;
|
classify;BusinessUnit.CAP,Brand.Miscellaneous;;;;;Bayer Parasite Solutions;;;;
|
||||||
brand;;;;;;Catosal;;;;
|
classify;BusinessUnit.FAP,Brand.Catosal;;;;;Catosal;;;;
|
||||||
brand;;;;;;Drontal;;;;
|
classify;BusinessUnit.CAP,Brand.Drontal;;;;;Drontal;;;;
|
||||||
brand;;;;;;Polyvar;;;;
|
classify;BusinessUnit.FAP,Brand.Polyvar;;;;;Polyvar;;;;
|
||||||
brand;;;;;;Procox;;;;
|
classify;BusinessUnit.CAP,Brand.Procox;;;;;Procox;;;;
|
||||||
classify;Brand.Profender;;;;;Profender Cat;;;;
|
classify;BusinessUnit.CAP,Brand.Profender;;;;;Profender Cat;;;;
|
||||||
classify;Brand.Profender;;;;;Profender Dog;;;;
|
classify;BusinessUnit.CAP,Brand.Profender;;;;;Profender Dog;;;;
|
||||||
brand;;;;;;Seresto;;;;
|
classify;BusinessUnit.CAP,Brand.Seresto;;;;;Seresto;;;;
|
||||||
brand;;;;;;Veraflox;;;;
|
classify;BusinessUnit.CAP,Brand.Veraflox;;;;;Veraflox;;;;
|
||||||
brand;;;;;;Victrio;;;;
|
classify;BusinessUnit.FAP,Brand.Victrio;;;;;Victrio;;;;
|
||||||
brand;;;;;;Zelnate;;;;
|
classify;BusinessUnit.FAP,Brand.Zelnate;;;;;Zelnate;;;;
|
||||||
skip;;;;;Films by Indication;;;;;
|
skip;;;;;Films by Indication;;;;;
|
||||||
keyword;;;;;;Flea;;;;
|
keyword;;;;;;Flea;;;;
|
||||||
keyword;;;;;;Giardia;;;;
|
keyword;;;;;;Giardia;;;;
|
||||||
@@ -380,9 +380,9 @@ skip;;;;Veterinary Parasitology;;;;;;
|
|||||||
skip;;;;WAAVP Congress ;;;;;;
|
skip;;;;WAAVP Congress ;;;;;;
|
||||||
skip;;;;WBC Congress;;;;;;
|
skip;;;;WBC Congress;;;;;;
|
||||||
skip;;;;Watches ;;;;;;
|
skip;;;;Watches ;;;;;;
|
||||||
not migrated;Status.Archived;;BAH archive;;;;;;;
|
classify;Status.Archived;;BAH archive;;;;;;;
|
||||||
skip;;;;Advertising Media;;;;;;
|
skip;;;;Advertising Media;;;;;;
|
||||||
classify;BusinessUnit.CAP;;;;CAP;;;;;
|
classify;BusinessUnit.CAP,Brand.CAP.Others;;;;CAP;;;;;
|
||||||
keyword;;;;;;Acticam;;;;
|
keyword;;;;;;Acticam;;;;
|
||||||
brand;;;;;;Advantage;;;;
|
brand;;;;;;Advantage;;;;
|
||||||
brand;;;;;;Advantix;;;;
|
brand;;;;;;Advantix;;;;
|
||||||
@@ -422,24 +422,24 @@ keyword;;;;;;;Seresto Profender;;;
|
|||||||
keyword;;;;;;;Seresto e-detailer;;;
|
keyword;;;;;;;Seresto e-detailer;;;
|
||||||
keyword;;;;;;;Vet/Nurse Material;;;
|
keyword;;;;;;;Vet/Nurse Material;;;
|
||||||
brand;;;;;;Veraflox;;;;
|
brand;;;;;;Veraflox;;;;
|
||||||
classify;BusinessUnit.FAP;;;;FAP;;;;;
|
classify;BusinessUnit.FAP,Brand.FAP.Others;;;;FAP;;;;;
|
||||||
brand;;;;;;Baycox;;;;
|
brand;;;;;;Baycox;;;;
|
||||||
keyword;;;;;;;Baycox Bovis Toolkit (Old);;;
|
keyword;;;;;;;Baycox Bovis Toolkit (Old);;;
|
||||||
skip;;;;;;;;Awareness Campaign;;
|
keyword;;;;;;;;Awareness Campaign;;
|
||||||
skip;;;;;;;;Images Baycox bovis Toolkit;;
|
keyword;;;;;;;;Images Baycox bovis Toolkit;;
|
||||||
skip;;;;;;;;Launch Campaign;;
|
keyword;;;;;;;;Launch Campaign;;
|
||||||
keyword;;;;;;;Baycox Brand Communication 2009;;;
|
keyword;;;;;;;Baycox Brand Communication 2009;;;
|
||||||
skip;;;;;;;;Key Visuals;;
|
keyword;;;;;;;;Key Visuals;;
|
||||||
skip;;;;;;;;Logos;;
|
keyword;;;;;;;;Logos;;
|
||||||
keyword;;;;;;;Baycox Lamb Toolkit;;;
|
keyword;;;;;;;Baycox Lamb Toolkit;;;
|
||||||
skip;;;;;;;;Images Baycox Lamb Toolkit;;
|
keyword;;;;;;;;Images Baycox Lamb Toolkit;;
|
||||||
keyword;;;;;;;Baycox Piglet Launch Campaign - Toolkit;;;
|
keyword;;;;;;;Baycox Piglet Launch Campaign - Toolkit;;;
|
||||||
skip;;;;;;;;Baycox Piglet Images;;
|
keyword;;;;;;;;Baycox Piglet Images;;
|
||||||
keyword;;;;;;;Baycox Poultry;;;
|
keyword;;;;;;;Baycox Poultry;;;
|
||||||
skip;;;;;;;;Images Baycox Poultry;;
|
keyword;;;;;;;;Images Baycox Poultry;;
|
||||||
keyword;;;;;;;The European Campaigns;;;
|
keyword;;;;;;;The European Campaigns;;;
|
||||||
skip;;;;;;;;Awareness;;
|
keyword;;;;;;;;Awareness;;
|
||||||
skip;;;;;;;;Launch;;
|
keyword;;;;;;;;Launch;;
|
||||||
brand;;;;;;Bayticol;;;;
|
brand;;;;;;Bayticol;;;;
|
||||||
skip;;;;;;;Images;;;
|
skip;;;;;;;Images;;;
|
||||||
classify;Brand.FAP.Baytril;;;;;Baytril;;;;
|
classify;Brand.FAP.Baytril;;;;;Baytril;;;;
|
||||||
@@ -479,107 +479,107 @@ brand;;;;;;Polyvar;;;;
|
|||||||
keyword;;;;;;Prolongal;;;;
|
keyword;;;;;;Prolongal;;;;
|
||||||
brand;;;;;;Transforming Livestock Production;;;;
|
brand;;;;;;Transforming Livestock Production;;;;
|
||||||
skip;;;;;;;Images;;;
|
skip;;;;;;;Images;;;
|
||||||
not migrated;;;;Give Aways;;;;;;
|
classify;BusinessUnit.General,Brand.General;;;Give Aways;;;;;;
|
||||||
classify;;;;Graphics/tables;;;--> General;;;
|
classify;BusinessUnit.General,Brand.General;;;Graphics/tables;;;--> General;;;
|
||||||
not migrated;;;;Guidelines;;;--> wie oben;;;
|
classify;BusinessUnit.General,Brand.General,MediaType.Guideline;;;Guidelines;;;--> wie oben;;;
|
||||||
;;;;;Advocate Guideline 2009;;;;;
|
classify;BusinessUnit.CAP,Brand.Advocate;;;;Advocate Guideline 2009;;;;;
|
||||||
;;;;;CAP Brand Design;;;;;
|
classify;BusinessUnit.CAP,Brand.CAP.Others;;;;CAP Brand Design;;;;;
|
||||||
;;;;;;Advantage family;;;;
|
classify;Brand.Advantage;;;;;Advantage family;;;;
|
||||||
;;;;;;Drontal Plus;;;;
|
classify;Brand.Drontal;;;;;Drontal Plus;;;;
|
||||||
;;;;;;HOB 2000;;;;
|
skip;;;;;;HOB 2000;;;;
|
||||||
;;;;;;Kiltix;;;;
|
skip;;;;;;Kiltix;;;;
|
||||||
;;;;;;Packaging Design 1996;--> CAP.Other;;;
|
skip;;;;;;Packaging Design 1996;--> CAP.Other;;;
|
||||||
;;;;;;Pet Care Products (OTC);;;;
|
skip;;;;;;Pet Care Products (OTC);;;;
|
||||||
;;;;;;Profender;;;;
|
classify;Brand.Profender;;;;;Profender;;;;
|
||||||
;;;;;;Seresto;;;;
|
classify;Brand.Seresto;;;;;Seresto;;;;
|
||||||
;;;;;;;Packaging Images;;;
|
keyword;;;;;;;Packaging Images;;;
|
||||||
;;;;;FAP Brand Design;;;;;
|
classify;BusinessUnit.FAP,Brand.FAP.Others;;;;FAP Brand Design;;;;;
|
||||||
;;;;;;Farm Animal Products;;;;
|
skip;;;;;;Farm Animal Products;;;;
|
||||||
;;;;;;Farmhygiene Products;;;;
|
skip;;;;;;Farmhygiene Products;;;;
|
||||||
;;;;;Packaging;;;;;
|
classify;;;;;Packaging;;;;;
|
||||||
;;;;;;Absolut;;;;
|
classify;;;;;;Absolut;;;;
|
||||||
;;;;;;Advantage;;;;
|
classify;Brand.Advantage;;;;;Advantage;;;;
|
||||||
;;;;;;Advantix;;;;
|
classify;Brand.Advantix;;;;;Advantix;;;;
|
||||||
;;;;;Training Tools MA;;;;;
|
skip;;;;;Training Tools MA;;;;;
|
||||||
;;;;;eDetailer Template;;;;;
|
skip;;;;;eDetailer Template;;;;;
|
||||||
not migrated;;;;Illustrations;;;--> General;;;
|
classify;BusinessUnit.General,Brand.General;;;Illustrations;;;--> General;;;
|
||||||
not migrated;;;;Images;;;--> General;;;
|
classify;BusinessUnit.General,Brand.General;;;Images;;;--> General;;Hier evtl. eine zusätzliche Classification?;
|
||||||
motives;;;;;Animals;;;;;
|
keyword;;;;;Animals;;;;;
|
||||||
motives;;;;;;Bees;;;;
|
keyword;;;;;;Bees;;;;
|
||||||
motives;;;;;;Benelux Images black/white;;;;
|
keyword;;;;;;Benelux Images black/white;;;;
|
||||||
motives;;;;;;Cats;;;;
|
keyword;;;;;;Cats;;;;
|
||||||
motives;;;;;;Cattle;;;;
|
keyword;;;;;;Cattle;;;;
|
||||||
motives;;;;;;Dogs;;;;
|
keyword;;;;;;Dogs;;;;
|
||||||
motives;;;;;;Ectoparasites in pictures;;;;
|
keyword;;;;;;Ectoparasites in pictures;;;;
|
||||||
motives;;;;;;Horses;;;;
|
keyword;;;;;;Horses;;;;
|
||||||
motives;;;;;;Images from Mexico;;;;
|
keyword;;;;;;Images from Mexico;;;;
|
||||||
motives;;;;;;Insects and arachnids;;;;
|
keyword;;;;;;Insects and arachnids;;;;
|
||||||
motives;;;;;;;Red bird mite;;;
|
keyword;;;;;;;Red bird mite;;;
|
||||||
motives;;;;;;Poultry;;;;
|
keyword;;;;;;Poultry;;;;
|
||||||
motives;;;;;;Sheep ticks and control;;;;
|
keyword;;;;;;Sheep ticks and control;;;;
|
||||||
motives;;;;;;Sheeps;;;;
|
keyword;;;;;;Sheeps;;;;
|
||||||
motives;;;;;;Small furry animals;;;;
|
keyword;;;;;;Small furry animals;;;;
|
||||||
motives;;;;;;Swine;;;;
|
keyword;;;;;;Swine;;;;
|
||||||
motives;;;;;;Ticks and tickborne;;;;
|
keyword;;;;;;Ticks and tickborne;;;;
|
||||||
motives;;;;;;Worms;;;;
|
keyword;;;;;;Worms;;;;
|
||||||
motives;;;;;Application;;;;;
|
keyword;;;;;Application;;;;;
|
||||||
motives;;;;;Different animals together;;;;;
|
keyword;;;;;Different animals together;;;;;
|
||||||
motives;;;;;Disease symptoms;;;;;
|
keyword;;;;;Disease symptoms;;;;;
|
||||||
motives;;;;;;Myiases;;;;
|
keyword;;;;;;Myiases;;;;
|
||||||
motives;;;;;Events;;;;;
|
keyword;;;;;Events;;;;;
|
||||||
motives;;;;;;CVBD symposium, Billesley 2006;;;;
|
keyword;;;;;;CVBD symposium, Billesley 2006;;;;
|
||||||
motives;;;;;;WSAVA 2006, Prag;;;;
|
keyword;;;;;;WSAVA 2006, Prag;;;;
|
||||||
motives;;;;;Microorganisms;;;;;
|
keyword;;;;;Microorganisms;;;;;
|
||||||
motives;;;;;Microscope images;;;;;
|
keyword;;;;;Microscope images;;;;;
|
||||||
motives;;;;;;LM images;;;;
|
keyword;;;;;;LM images;;;;
|
||||||
motives;;;;;;SEM images;;;;
|
keyword;;;;;;SEM images;;;;
|
||||||
motives;;;;;People;;;;;
|
skip;;;;;People;;;;;
|
||||||
motives;;;;;People and animals;;;;;
|
skip;;;;;People and animals;;;;;
|
||||||
motives;;;;;;Advantix, 2003 - Free the dog Toolkit;;;;
|
keyword;;;;;;Advantix, 2003 - Free the dog Toolkit;;;;
|
||||||
not migrated;;;;Logos;;;--> General;;;
|
classify;BusinessUnit.General,Brand.General;;;Logos;;;--> General;;;
|
||||||
not migrated;;;;PR & Congresses;;;--> General;;;
|
classify;BusinessUnit.General,Brand.General;;;PR & Congresses;;;--> General;;;
|
||||||
;;;;;Congresses;;;;;
|
keyword;;;;;Congresses;;;;;
|
||||||
;;;;;;Angio Forum;;;;
|
keyword;;;;;;Angio Forum;;;;
|
||||||
;;;;;;CVBD;;;;
|
keyword;;;;;;CVBD;;;;
|
||||||
;;;;;;ECVIM;;;;
|
keyword;;;;;;ECVIM;;;;
|
||||||
;;;;;;ESFM;;;;
|
keyword;;;;;;ESFM;;;;
|
||||||
;;;;;;ESVD;;;;
|
keyword;;;;;;ESVD;;;;
|
||||||
;;;;;;IPVS, WBC;;;;
|
keyword;;;;;;IPVS, WBC;;;;
|
||||||
;;;;;Public Relations;;;;;
|
keyword;;;;;Public Relations;;;;;
|
||||||
;;;;;;Brand PR;;;;
|
keyword;;;;;;Brand PR;;;;
|
||||||
;;;;;;Press Releases;;;;
|
keyword;;;;;;Press Releases;;;;
|
||||||
not migrated;;;;Packshots;;;--> General;;;
|
classify;BusinessUnit.General,Brand.General;;;Packshots;;;--> General;;;
|
||||||
not migrated;;;;Videos;;;--> wie oben;;;
|
classify;BusinessUnit.General,Brand.General;;;Videos;;;--> wie oben;;;
|
||||||
;;;;;CAP;;;;;
|
classify;BusinessUnit.CAP,Brand.CAP.Others;;;;CAP;;;;;
|
||||||
;;;;;;Advantage;;;;
|
brand;;;;;;Advantage;;;;
|
||||||
;;;;;;Advantix;;;;
|
brand;;;;;;Advantix;;;;
|
||||||
;;;;;;Advocate;;;;
|
brand;;;;;;Advocate;;;;
|
||||||
;;;;;;BPS;;;;
|
keyword;;;;;;BPS;;;;
|
||||||
classify;Brand.CAP.Baytril;;;;;Baytril;;;;
|
classify;Brand.CAP.Baytril;;;;;Baytril;;;;
|
||||||
;;;;;;Drontal;;;;
|
brand;;;;;;Drontal;;;;
|
||||||
;;;;;;Profender;;;;
|
brand;;;;;;Profender;;;;
|
||||||
;;;;;;Renalzin;;;;
|
keyword;;;;;;Renalzin;;;;
|
||||||
;;;;;;Rompun;;;;
|
keyword;;;;;;Rompun;;;;
|
||||||
;;;;;;Seresto;;;;
|
brand;;;;;;Seresto;;;;
|
||||||
;;;;;;Worms;;;;
|
keyword;;;;;;Worms;;;;
|
||||||
;;;;;Events;;;;;
|
skip;;;;;Events;;;;;
|
||||||
;;;;;;Baytril Symposium 2009 Florence;;;;
|
keyword;;;;;;Baytril Symposium 2009 Florence;;;;
|
||||||
;;;;;;CVBD / Zoonosis;;;;
|
keyword;;;;;;CVBD / Zoonosis;;;;
|
||||||
;;;;;;GM Workshop 2011, Krefeld;;;;
|
keyword;;;;;;GM Workshop 2011, Krefeld;;;;
|
||||||
;;;;;;IPVS 2010;;;;
|
keyword;;;;;;IPVS 2010;;;;
|
||||||
;;;;;;Parasite Exhibition Museum;;;;
|
keyword;;;;;;Parasite Exhibition Museum;;;;
|
||||||
;;;;;;WBC;;;;
|
keyword;;;;;;WBC;;;;
|
||||||
;;;;;FAP;;;;;
|
classify;BusinessUnit.FAP,Brand.FAP.Others;;;;FAP;;;;;
|
||||||
;;;;;;Baycox;;;;
|
brand;;;;;;Baycox;;;;
|
||||||
classify;Brand.FAP.Baytril;;;;;Baytril;;;;
|
classify;Brand.FAP.Baytril;;;;;Baytril;;;;
|
||||||
;;;;;;Bye Mite;;;;
|
skip;;;;;;Bye Mite;;;;
|
||||||
;;;;;Historical films;;;;;
|
keyword;;;;;Historical films;;;;;
|
||||||
;;;;;Marketing Excellence;;;;;
|
keyword;;;;;Marketing Excellence;;;;;
|
||||||
;;;;;TV Spots;;;;;
|
keyword;;;;;TV Spots;;;;;
|
||||||
;;;;;Webinars;;;;;
|
keyword;;;;;Webinars;;;;;
|
||||||
not migrated;;;;Webshop;;;--> General;;;
|
classify;BusinessUnit.General,Brand.General;;;Webshop;;;--> General;;;
|
||||||
;;;;;Clothes;;;;;
|
skip;;;;;Clothes;;;;;
|
||||||
;;;;;Special Edition;;;;;
|
skip;;;;;Special Edition;;;;;
|
||||||
not migrated;;;M-CAP-Links;;;;;;;
|
not migrated;;;M-CAP-Links;;;;;;;
|
||||||
skip;;;;AI Symposia;;;;;;
|
skip;;;;AI Symposia;;;;;;
|
||||||
skip;;;;Advocate D repens SEM '16;;;;;;
|
skip;;;;Advocate D repens SEM '16;;;;;;
|
||||||
|
|||||||
|
BIN
Binary file not shown.
@@ -29,8 +29,6 @@ public class Definitions {
|
|||||||
|
|
||||||
classifications.put("Migration", new WriteClassification("2bd24882-b7d8-4d30-8e6f-a7ef00eb33e7", 1));
|
classifications.put("Migration", new WriteClassification("2bd24882-b7d8-4d30-8e6f-a7ef00eb33e7", 1));
|
||||||
classifications.put("Migration.Logos", new WriteClassification("de96f8db1de44cc6841ba81c00b9db8e", 1));
|
classifications.put("Migration.Logos", new WriteClassification("de96f8db1de44cc6841ba81c00b9db8e", 1));
|
||||||
classifications.put("Test-GEXCE", new WriteClassification("f1d058987a3043d5b021a819007ff3c0", 1));
|
|
||||||
|
|
||||||
|
|
||||||
classifications.put("Country.Global", new WriteClassification("dff7666b-326b-4e1c-912c-a7b4006c8500", 1)); // /Definitions/Animal Health/Country
|
classifications.put("Country.Global", new WriteClassification("dff7666b-326b-4e1c-912c-a7b4006c8500", 1)); // /Definitions/Animal Health/Country
|
||||||
classifications.put("Agencies.Bayer AH", new WriteClassification("8de5ef0e-3c6d-451c-b82b-a7b4006c954c", 1)); // /Definitions/Agencies/Bayer
|
classifications.put("Agencies.Bayer AH", new WriteClassification("8de5ef0e-3c6d-451c-b82b-a7b4006c954c", 1)); // /Definitions/Agencies/Bayer
|
||||||
|
|||||||
@@ -57,8 +57,7 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
static final String categoryJson = "resources/2017-10-19_categories.json";
|
static final String categoryJson = "resources/2017-10-19_categories.json";
|
||||||
static final String categoryMapping = "resources/Media_Assistant_Categories_131017_EDITED_without_archive.csv";
|
static final String categoryMapping = "resources/Media_Assistant_Categories_131017_EDITED_without_archive.csv";
|
||||||
|
|
||||||
static final File entryLog = new File("C:\\Temp\\Migration AH\\files\\entry.log");
|
static final File entryLog = new File("entry.log");
|
||||||
static final File problemLog = new File("C:\\Temp\\Migration AH\\files\\problem.log");
|
|
||||||
|
|
||||||
static final String fieldSeparator = "|~|";
|
static final String fieldSeparator = "|~|";
|
||||||
static final String lineSeparator = "\r\n";
|
static final String lineSeparator = "\r\n";
|
||||||
@@ -88,9 +87,7 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
// readEntryIDsFromFile();
|
// readEntryIDsFromFile();
|
||||||
|
|
||||||
log.info("Write log headers for " + entryLog.getAbsolutePath());
|
log.info("Write log headers for " + entryLog.getAbsolutePath());
|
||||||
FileUtils.writeStringToFile(entryLog, "Location" + fieldSeparator + "Entry" + lineSeparator, Charset.forName("utf-8"));
|
FileUtils.writeStringToFile(entryLog, "entryId" + fieldSeparator + "Location" + fieldSeparator + "Entry" + lineSeparator, Charset.forName("utf-8"));
|
||||||
log.info("Write log headers for " + problemLog.getAbsolutePath());
|
|
||||||
FileUtils.writeStringToFile(problemLog, "entryId" + fieldSeparator + "Entry" + lineSeparator, Charset.forName("utf-8"));
|
|
||||||
|
|
||||||
log.info("Read categories");
|
log.info("Read categories");
|
||||||
mamCategoryTree = new CategoryTree(categoryJson, categoryMapping);
|
mamCategoryTree = new CategoryTree(categoryJson, categoryMapping);
|
||||||
@@ -210,7 +207,7 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
// Status "Released" is weaker than the other statuses
|
// Status "Released" is weaker than the other statuses
|
||||||
if (p.startsWith("Status.")) {
|
if (p.startsWith("Status.")) {
|
||||||
if (p.equals("Status.Released") && record.hasClassificationStartingWith("Status.")) {
|
if (p.equals("Status.Released") && record.hasClassificationStartingWith("Status.")) {
|
||||||
log.warn("Classification Status.Released not added, different status already set");
|
log.warn("Classification " + p + " not added, different status already set");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -221,7 +218,7 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
// Business unit "General" is weaker than the other business units
|
// Business unit "General" is weaker than the other business units
|
||||||
if (p.startsWith("BusinessUnit.")) {
|
if (p.startsWith("BusinessUnit.")) {
|
||||||
if (p.equals("BusinessUnit.General") && record.hasClassificationStartingWith("BusinessUnit.")) {
|
if (p.equals("BusinessUnit.General") && record.hasClassificationStartingWith("BusinessUnit.")) {
|
||||||
log.warn("Classification BusinessUnit.General not added, different business unit already set");
|
log.warn("Classification " + p + " not added, different business unit already set");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -229,10 +226,10 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Brand "General" is weaker than the other brands
|
// Brands "General" and "Others" are weaker than the other brands
|
||||||
if (p.startsWith("Brand.")) {
|
if (p.startsWith("Brand.")) {
|
||||||
if (p.equals("Brand.General") && record.hasClassificationStartingWith("Brand.")) {
|
if ((p.equals("Brand.General") || p.equals("Brand.CAP.Others") || p.equals("Brand.FAP.Others"))&& record.hasClassificationStartingWith("Brand.")) {
|
||||||
log.warn("Classification Brand.General not added, different brand already set");
|
log.warn("Classification " + p + " not added, different brand already set");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -244,10 +241,15 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
record.removeClassification("MediaType.");
|
record.removeClassification("MediaType.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (p.startsWith("Motive.")) {
|
||||||
|
record.removeClassification("Motive.");
|
||||||
|
}
|
||||||
|
|
||||||
record.addClassification(p);
|
record.addClassification(p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (n.action.equals("brand")) {
|
else if (n.action.equals("brand")) {
|
||||||
|
record.removeClassificationsStartingWith("Brand.");
|
||||||
String brandClassificationId = "Brand." + n.name.trim();
|
String brandClassificationId = "Brand." + n.name.trim();
|
||||||
record.addClassification(brandClassificationId);
|
record.addClassification(brandClassificationId);
|
||||||
}
|
}
|
||||||
@@ -348,6 +350,7 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
record.addField("byr_Title", "No title");
|
record.addField("byr_Title", "No title");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (entry.creationDate != null)
|
||||||
record.addField("byr_ah_deliveryDate", isoDate.format(entry.creationDate));
|
record.addField("byr_ah_deliveryDate", isoDate.format(entry.creationDate));
|
||||||
|
|
||||||
// Project lead
|
// Project lead
|
||||||
@@ -382,6 +385,15 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
if (entry.creationDate != null)
|
if (entry.creationDate != null)
|
||||||
migrationDescription += "\nDate of Issue: " + stringDate.format(entry.creationDate);
|
migrationDescription += "\nDate of Issue: " + stringDate.format(entry.creationDate);
|
||||||
|
|
||||||
|
if (entry.categories.size() == 1)
|
||||||
|
migrationDescription += "\nCategory:";
|
||||||
|
else
|
||||||
|
migrationDescription += "\nCategories:";
|
||||||
|
for (int categoryId : entry.categories) {
|
||||||
|
migrationDescription += "\n" + mamCategoryTree.getNode(categoryId).toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
description += migrationDescription;
|
description += migrationDescription;
|
||||||
record.addField("byr_ah_description", description);
|
record.addField("byr_ah_description", description);
|
||||||
|
|
||||||
@@ -422,13 +434,12 @@ public class MamMigrationSelective implements CommandLineRunner {
|
|||||||
URI location = restTemplate.postForLocation(adamHost + "/records", httpEntity, UploadRecord.class);
|
URI location = restTemplate.postForLocation(adamHost + "/records", httpEntity, UploadRecord.class);
|
||||||
log.info("RESULT Entry " + entry.id + " migrated to record " + location);
|
log.info("RESULT Entry " + entry.id + " migrated to record " + location);
|
||||||
|
|
||||||
FileUtils.writeStringToFile(entryLog, location.toString() + fieldSeparator + entryJson + lineSeparator,
|
FileUtils.writeStringToFile(entryLog, entry.id + fieldSeparator + location.toString() + fieldSeparator + entryJson + lineSeparator,
|
||||||
Charset.forName("utf-8"), true);
|
Charset.forName("utf-8"), true);
|
||||||
}
|
}
|
||||||
catch (HttpStatusCodeException hsce) {
|
catch (HttpStatusCodeException hsce) {
|
||||||
log.error("RESULT Skipping entry " + entry.id + ": Error while creating record " + hsce.getStatusCode().toString());
|
log.error("RESULT Skipping entry " + entry.id + ": Error while creating record " + hsce.getStatusCode().toString());
|
||||||
log.error(hsce.getResponseBodyAsString());
|
log.error(hsce.getResponseBodyAsString());
|
||||||
FileUtils.writeStringToFile(problemLog, entry.id + fieldSeparator + entryJson + lineSeparator, Charset.forName("utf-8"), true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user