Produced by Araxis Merge on 6/9/2017 3:50:56 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 | Fri Jun 9 19:50:56 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-server\src\main\java\gov\va\nvap\server\endpoint\adapter\audit | AuditServiceEndpoint.java | Fri Apr 21 20:03:28 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 57 |
| 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.nvap. server.end point.adap ter.audit; | |||||
| 2 | ||||||
| 3 | import gov .va.med.nh in.adapter .audit.Get Audits; | |||||
| 4 | import gov .va.med.nh in.adapter .audit.Get AuditsResp onse; | |||||
| 5 | import gov .va.med.nh in.adapter .audit.Get AuditsSumm ary; | |||||
| 6 | import gov .va.med.nh in.adapter .audit.Get AuditsSumm aryRespons e; | |||||
| 7 | import gov .va.med.nh in.adapter .audit.Pag eInfoType; | |||||
| 8 | import gov .va.nvap.s ervice.ada pter.audit .AdapterAu ditManager ; | |||||
| 9 | import gov .va.nvap.s ervice.aud it.AuditEx ception; | |||||
| 10 | import org .springfra mework.bea ns.factory .annotatio n.Required ; | |||||
| 11 | import org .springfra mework.ws. client.cor e.WebServi ceTemplate ; | |||||
| 12 | ||||||
| 13 | /** | |||||
| 14 | * The spr ing-ws tem plate to c all the ad apter's we bservice. | |||||
| 15 | * | |||||
| 16 | * @author Asha Amri traj | |||||
| 17 | */ | |||||
| 18 | public cla ss AuditSe rviceEndpo int implem ents Adapt erAuditMan ager { | |||||
| 19 | ||||||
| 20 | /* * | |||||
| 21 | * Audit web service t emplate to talk to t he adpater 's webserv ice. | |||||
| 22 | * / | |||||
| 23 | pr ivate WebS erviceTemp late audit ServiceTem plate; | |||||
| 24 | ||||||
| 25 | @O verride | |||||
| 26 | public GetAudits Response g etAudits(f inal GetAu dits getAu ditsReques t) throws AuditExcep tion { | |||||
| 27 | tr y { | |||||
| 28 | final Ge tAuditsRes ponse resp onse = (Ge tAuditsRes ponse) thi s.auditSer viceTempla te.marshal SendAndRec eive(getAu ditsReques t); | |||||
| 29 | return r esponse; | |||||
| 30 | } catch (Exc eption e) { | |||||
| 31 | throw ne w AuditExc eption(); | |||||
| 32 | } | |||||
| 33 | } | |||||
| 34 | ||||||
| 35 | @O verride | |||||
| 36 | pu blic GetAu ditsSummar yResponse getAuditSu mmary( | |||||
| 37 | final Ge tAuditsSum mary audit SummaryQue ryRequest) | |||||
| 38 | throws A uditExcept ion { | |||||
| 39 | try { | |||||
| 40 | final Ge tAuditsSum maryRespon se respons e = (GetAu ditsSummar yResponse) this.audi tServiceTe mplate | |||||
| 41 | .marshalSe ndAndRecei ve(auditSu mmaryQuery Request); | |||||
| 42 | return r esponse; | |||||
| 43 | } catch(Exce ption e) { | |||||
| 44 | throw ne w AuditExc eption(); | |||||
| 45 | } | |||||
| 46 | } | |||||
| 47 | ||||||
| 48 | /* * | |||||
| 49 | * @param au ditService Template | |||||
| 50 | * the audi tServiceTe mplate to set | |||||
| 51 | * / | |||||
| 52 | @R equired | |||||
| 53 | pu blic void setAuditSe rviceTempl ate( | |||||
| 54 | final WebService Template a uditServic eTemplate) { | |||||
| 55 | this .auditServ iceTemplat e = auditS erviceTemp late; | |||||
| 56 | } | |||||
| 57 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.