Produced by Araxis Merge on 10/5/2018 9:05:35 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 | MHEDP3_VAOS_VATS_SM_Sept2018.zip\SM 2.4.0\scheduling-manager-resources-2.4.0.zip\SchedulingManagerService\src\inttest\java\com\agilex\healthcare\schedulingmanager\testutility | TestHelper.java | Thu Jul 19 20:06:36 2018 UTC |
| 2 | MHEDP3_VAOS_VATS_SM_Sept2018.zip\SM 2.4.0\scheduling-manager-resources-2.4.0.zip\SchedulingManagerService\src\inttest\java\com\agilex\healthcare\schedulingmanager\testutility | TestHelper.java | Fri Oct 5 16:55:17 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 62 |
| 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 co m.agilex.h ealthcare. scheduling manager.te stutility; | |
| 2 | ||
| 3 | import com .agilex.he althcare.m obilehealt hplatform. domain.Res ourceDirec tory; | |
| 4 | import com .agilex.he althcare.s chedulingm anager.cli entapi.Aut henticatio nInfo; | |
| 5 | import com .agilex.he althcare.s chedulingm anager.cli entapi.Mob ileHealthC lientTestV ersion; | |
| 6 | ||
| 7 | public cla ss TestHel per { | |
| 8 | private st atic final String RE ST_TOKEN_U RI = "http :// IP /Authoriza tionServic es/rest/to ken"; | |
| 9 | privat e static f inal Strin g SMSERVIC E_NAME = " Scheduling ManagerSer vice"; | |
| 10 | privat e static f inal Strin g SMSERVIC E_VERSION = "v2"; | |
| 11 | ||
| 12 | public static Mo bileHealth ClientTest Version cr eateProvid erMobileHe althClient () { | |
| 13 | Au thenticati onInfo aut henticatio nInfo = In tegrationT estConfigu ration.get LVProvider Authentica tionInform ation(); | |
| 14 | re turn creat eMobileHea lthClient( authentica tionInfo); | |
| 15 | } | |
| 16 | ||
| 17 | privat e static M obileHealt hClientTes tVersion c reateMobil eHealthCli ent(Authen ticationIn fo authent icationInf o) { | |
| 18 | St ring uri = Integrati onTestConf iguration. getSchedul ingManager BaseUri(); | |
| 19 | Mo bileHealth ClientTest Version mo bileHealth Client = n ew MobileH ealthClien tTestVersi on(uri, au thenticati onInfo); | |
| 20 | re turn mobil eHealthCli ent; | |
| 21 | } | |
| 22 | ||
| 23 | public static St ring fixRe sourceDire ctoryUriVe rsioning(S tring uri) { | |
| 24 | re turn (uri. contains(S MSERVICE_N AME) && !u ri.contain s(SMSERVIC E_NAME + " /" + SMSER VICE_VERSI ON) ? | |
| 25 | uri.repl aceAll(SMS ERVICE_NAM E, SMSERVI CE_NAME + "/" + SMSE RVICE_VERS ION) : uri | |
| 26 | ); | |
| 27 | } | |
| 28 | ||
| 29 | public static St ring getDe leteTokenU RI() { | |
| 30 | re turn REST_ TOKEN_URI; | |
| 31 | } | |
| 32 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.