Produced by Araxis Merge on 5/8/2017 10:03:28 PM Eastern 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 | var-utility-web-Release-1.0.0-Branch.zip\var-utility-resources-Release-1.0.0-Branch\VarUtilityResourceIntTest\src\resIntTest\java\gov\va\vamf\scheduling\varutility\testutility | IntegrationTestConfiguration.java | Wed Nov 30 02:21:40 2016 UTC |
| 2 | var-utility-web-Release-1.0.0-Branch.zip\var-utility-resources-Release-1.0.0-Branch\VarUtilityResourceIntTest\src\resIntTest\java\gov\va\vamf\scheduling\varutility\testutility | IntegrationTestConfiguration.java | Fri May 5 19:23:47 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 74 |
| Changed | 1 | 6 |
| 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 go v.va.vamf. scheduling .varutilit y.testutil ity; | |
| 2 | ||
| 3 | import gov .va.vamf.s cheduling. varutility .clientapi .Authentic ationInfo; | |
| 4 | import com .agilex.he althcare.u tility.Nul lChecker; | |
| 5 | ||
| 6 | public cla ss Integra tionTestCo nfiguratio n { | |
| 7 | private st atic Strin g serverBa seUri = "h ttp:// IP /VarUtilit yServices/ v1/rest"; | |
| 8 | private st atic final String MH PAuthorize URI = "http:// IP /Authoriza tionServic es/provide r/authoriz e"; | |
| 9 | private st atic final String MH PTokenURI = "http:// IP /Authoriza tionServic es/oauth/t oken"; | |
| 10 | ||
| 11 | public static St ring getSe rverBaseUr i(){ | |
| 12 | re turn serve rBaseUri; | |
| 13 | } | |
| 14 | ||
| 15 | pu blic stati c String g etMHPAutho rizeURI() { | |
| 16 | retu rn MHPAuth orizeURI; | |
| 17 | } | |
| 18 | ||
| 19 | pu blic stati c String g etMHPToken URI() { | |
| 20 | retu rn MHPToke nURI; | |
| 21 | } | |
| 22 | ||
| 23 | public static Au thenticati onInfo get ProviderAu thenticati onInfo() { | |
| 24 | Au thenticati onInfo aut henticatio nInfo = nu ll; | |
| 25 | if (NullChec ker.isNotN ullish(get AuthType() )) { | |
| 26 | authenti cationInfo = new Aut henticatio nInfo(); | |
| 27 | authenti cationInfo .setUserna me("access 7"); | |
| 28 | authenti cationInfo .setPasswo rd("verify 7!"); | |
| 29 | authenti cationInfo .setAuthty pe(getAuth Type()); | |
| 30 | authenti cationInfo .setFacili tyName("BO STON VAMC" ); | |
| 31 | authenti cationInfo .setFacili tyCode("52 3"); | |
| 32 | } | |
| 33 | re turn authe nticationI nfo; | |
| 34 | } | |
| 35 | ||
| 36 | pr ivate stat ic String getAuthTyp e() { | |
| 37 | Stri ng authtyp e = "oauth "; | |
| 38 | retu rn authtyp e; | |
| 39 | } | |
| 40 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.