Produced by Araxis Merge on 7/20/2018 12:56:43 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | CTT_Release_8_June_2018.zip\CTT_ISAAC\metacontent-store\ISAAC\db-config-builder\src\test\java\test | TestConversionConfiguration.java | Tue Jul 17 16:27:42 2018 UTC |
| 2 | CTT_Release_8_June_2018.zip\CTT_ISAAC\metacontent-store\ISAAC\db-config-builder\src\test\java\test | TestConversionConfiguration.java | Wed Jul 18 20:33:56 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 186 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | package te st; | |
| 2 | ||
| 3 | import jav a.util.Arr ays; | |
| 4 | import jav a.util.Has hMap; | |
| 5 | import jav a.util.Has hSet; | |
| 6 | import jav a.util.Set ; | |
| 7 | import gov .vha.isaac .ochre.pom builder.Gi tPublish; | |
| 8 | import gov .vha.isaac .ochre.pom builder.ar tifacts.Co nverter; | |
| 9 | import gov .vha.isaac .ochre.pom builder.ar tifacts.IB DFFile; | |
| 10 | import gov .vha.isaac .ochre.pom builder.ar tifacts.SD OSourceCon tent; | |
| 11 | import gov .vha.isaac .ochre.pom builder.co nverter.Co ntentConve rterCreato r; | |
| 12 | import gov .vha.isaac .ochre.pom builder.co nverter.Co nverterOpt ionParam; | |
| 13 | ||
| 14 | public cla ss TestCon versionCon figuration | |
| 15 | { | |
| 16 | ||
| 17 | pu blic stati c void mai n(String[] args) thr ows Except ion | |
| 18 | { | |
| 19 | Stri ng gitTest URL = "htt ps://githu b.com/darm brust/test .git"; | |
| 20 | Stri ng gitUser name = ""; | |
| 21 | char [] gitPass word = "". toCharArra y(); | |
| 22 | ||
| 23 | String nex usUrl = "h ttps:// DNS : PORT /nexus/con tent/group s/public/" ; | |
| 24 | Stri ng nexusUs ername = " "; | |
| 25 | Stri ng nexusPa ssword = " "; | |
| 26 | ||
| 27 | Syst em.setProp erty("java .awt.headl ess", "tru e"); | |
| 28 | ||
| 29 | Syst em.out.pri ntln(GitPu blish.read Tags(gitTe stURL, git Username, gitPasswor d)); | |
| 30 | //vh at | |
| 31 | // Syst em.out.pri ntln(Conte ntConverte rCreator.c reateConte ntConverte r(new SDOS ourceConte nt("gov.vh a.isaac.te rminology. source.vha t", "vhat- src-data", "2016.01. 07"), | |
| 32 | // "4.1-S NAPSHOT", new SDOSou rceContent [0], new I BDFFile[0] , null, gi tTestURL, gitUsernam e, gitPass word)); | |
| 33 | ||
| 34 | //lo inc | |
| 35 | // Syst em.out.pri ntln(Conte ntConverte rCreator.c reateConte ntConverte r(new SDOS ourceConte nt("gov.vh a.isaac.te rminology. source.loi nc", "loin c-src-data ", "2.54") , | |
| 36 | // "5.1-S NAPSHOT", new SDOSou rceContent [0], new I BDFFile[0] , null, gi tTestURL, gitUsernam e, gitPass word)); | |
| 37 | ||
| 38 | //lo inc-tech-p review | |
| 39 | // Syst em.out.pri ntln(Conte ntConverte rCreator.c reateConte ntConverte r(new SDOS ourceConte nt("gov.vh a.isaac.te rminology. source.loi nc", "loin c-src-data -tech-prev iew", "201 5.08.01"), | |
| 40 | // "5.1-S NAPSHOT", | |
| 41 | // new SD OSourceCon tent[] {ne w SDOSourc eContent(" gov.vha.is aac.termin ology.sour ce.loinc", "loinc-sr c-data", " 2.54")}, | |
| 42 | // new IB DFFile[] { new IBDFFi le("gov.vh a.isaac.te rminology. converted" , "rf2-ibd f-sct", "2 0150731-lo ader-3.1-S NAPSHOT", "Snapshot" )}, | |
| 43 | // null, gitTestURL , gitUsern ame, gitPa ssword)); | |
| 44 | ||
| 45 | // //sc t | |
| 46 | // Syst em.out.pri ntln(Conte ntConverte rCreator.c reateConte ntConverte r(new SDOS ourceConte nt("gov.vh a.isaac.te rminology. source.rf2 ", "rf2-sr c-data-sct ", "201507 31"), | |
| 47 | // "3.1-S NAPSHOT", new SDOSou rceContent [0], new I BDFFile[0] , null, gi tTestURL, gitUsernam e, gitPass word)); | |
| 48 | ||
| 49 | //sc t-us-ext | |
| 50 | ||
| 51 | Conv erterOptio nParam[] o ptionTypes = Content ConverterC reator.get ConverterO ptions(new Converter ("gov.vha. isaac.term inology.co nverters", "rf2-mojo ", "3.3-SN APSHOT"), | |
| 52 | nexusUrl , nexusUse rname, nex usPassword ); | |
| 53 | ||
| 54 | Hash Map<Conver terOptionP aram, Set< String>> o ptions = n ew HashMap <>(); | |
| 55 | for (Converter OptionPara m x : opti onTypes) | |
| 56 | { | |
| 57 | if (x. getInterna lName().eq uals("modu leUUID")) | |
| 58 | { | |
| 59 | options. put(x, new HashSet<S tring>(Arr ays.asList (new Strin g[] {"4822 ec5a-fa64- 5e0c-b88b- e81fff954e b9"}))); | |
| 60 | } | |
| 61 | } | |
| 62 | ||
| 63 | Syst em.out.pri ntln(Conte ntConverte rCreator.c reateConte ntConverte r(new SDOS ourceConte nt("gov.vh a.isaac.te rminology. source.rf2 ", "rf2-sr c-data-us- extension" , "2015030 1"), | |
| 64 | "3.3-S NAPSHOT", | |
| 65 | new SD OSourceCon tent[0], | |
| 66 | new IB DFFile[] { new IBDFFi le("gov.vh a.isaac.te rminology. converted" , "rf2-ibd f-sct", "2 0150731-lo ader-3.3-S NAPSHOT", "Snapshot" )}, | |
| 67 | options, gitTestUR L, gitUser name, gitP assword)); | |
| 68 | ||
| 69 | //rx norm | |
| 70 | ||
| 71 | // Conv erterOptio nParam[] o ptionTypes = Content ConverterC reator.get ConverterO ptions(new Converter ("gov.vha. isaac.term inology.co nverters", "rxnorm-m ojo", "5.1 -SNAPSHOT" ), | |
| 72 | // nexusUrl , nexusUse rname, nex usPassword ); | |
| 73 | // | |
| 74 | // Hash Map<Conver terOptionP aram, Set< String>> o ptions = n ew HashMap <>(); | |
| 75 | // for (Converter OptionPara m x : opti onTypes) | |
| 76 | // { | |
| 77 | // if (x. getInterna lName().eq uals("ttyR estriction ")) | |
| 78 | // { | |
| 79 | // options. put(x, new HashSet<S tring>(Arr ays.asList (new Strin g[] {"IN", "SCD"}))) ; | |
| 80 | // } | |
| 81 | // else i f (x.getIn ternalName ().equals( "sabsToInc lude")) | |
| 82 | // { | |
| 83 | // options. put(x, new HashSet<S tring>(Arr ays.asList (new Strin g[] {"ATC" }))); | |
| 84 | // } | |
| 85 | // } | |
| 86 | // | |
| 87 | // Syst em.out.pri ntln(Conte ntConverte rCreator.c reateConte ntConverte r(new SDOS ourceConte nt("gov.vh a.isaac.te rminology. source.rxn orm", "rxn orm-src-da ta", "2016 .05.02"), | |
| 88 | // "5.1 -SNAPSHOT" , | |
| 89 | // new SDOSourceC ontent[0], | |
| 90 | // new IBDFFile[] {new IBDF File("gov. vha.isaac. terminolog y.converte d", "rf2-i bdf-sct", "20150731- loader-3.1 -SNAPSHOT" , "Snapsho t")}, | |
| 91 | // option s, | |
| 92 | // gitTes tURL, gitU sername, g itPassword )); | |
| 93 | } | |
| 94 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.