Produced by Araxis Merge on 9/15/2018 10:47:53 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 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_integration\mhv-integration-phr\mhv-integration-phrmgr-main\src\main\java\gov\va\med\mhv\integration\phr\service | FeatureFieldTestAwareServiceLocator.java | Thu Aug 23 21:20:40 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_integration\mhv-integration-phr\mhv-integration-phrmgr-main\src\main\java\gov\va\med\mhv\integration\phr\service | FeatureFieldTestAwareServiceLocator.java | Sat Sep 15 21:41:11 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 90 |
| 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 | /** | |
| 2 | * | |
| 3 | */ | |
| 4 | package go v.va.med.m hv.integra tion.phr.s ervice; | |
| 5 | ||
| 6 | import gov .va.med.mh v.integrat ion.phr.tr ansfer.Que ryRequest; | |
| 7 | ||
| 8 | import jav a.util.Map ; | |
| 9 | ||
| 10 | /** | |
| 11 | * @author DNS | |
| 12 | * | |
| 13 | */ | |
| 14 | public cla ss Feature FieldTestA wareServic eLocator<T extends P hrService, N extends QueryRequ est> exten ds | |
| 15 | Pojo PhrService Locator<T, N> { | |
| 16 | ||
| 17 | pr ivate Stag ingService stagining Service; | |
| 18 | ||
| 19 | pr ivate Map< String, Qu eryService FieldTestI nfo> extra ctTypeQuer yServiceFi eldTestInf oMap; | |
| 20 | ||
| 21 | @O verride | |
| 22 | pu blic Strin g getServi ceId(Strin g userid, String ser viceType) | |
| 23 | throws ServiceLo catorExcep tion { | |
| 24 | ||
| 25 | Quer yServiceFi eldTestInf o querySer viceFieldT estInfo = this.extra ctTypeQuer yServiceFi eldTestInf oMap.get(s erviceType ); | |
| 26 | if(q ueryServic eFieldTest Info != nu ll) | |
| 27 | { | |
| 28 | // nee d to deter mine if th e feature has been n ationally deployed | |
| 29 | if(thi s.staginin gService.i sNationall yReleased( queryServi ceFieldTes tInfo.getF eature()) || | |
| 30 | this.stagi ningServic e.isFieldT ester(user id, queryS erviceFiel dTestInfo. getFieldTe stName())) { | |
| 31 | return S tring.form at("%s%s", queryServ iceFieldTe stInfo.get FieldTestQ ueryServic eQualifier (), servic eType); | |
| 32 | } | |
| 33 | } | |
| 34 | ||
| 35 | retu rn super.g etServiceI d(userid, serviceTyp e); | |
| 36 | } | |
| 37 | ||
| 38 | pu blic void setStagini ngService( StagingSer vice stagi ningServic e) { | |
| 39 | this .stagining Service = staginingS ervice; | |
| 40 | } | |
| 41 | ||
| 42 | pu blic void setExtract TypeQueryS erviceFiel dTestInfoM ap( | |
| 43 | Map<St ring, Quer yServiceFi eldTestInf o> extract TypeQueryS erviceFiel dTestInfoM ap) { | |
| 44 | this .extractTy peQuerySer viceFieldT estInfoMap = extract TypeQueryS erviceFiel dTestInfoM ap; | |
| 45 | } | |
| 46 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.