1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <process
|
---|
3 | name="NhinAuditQuery"
|
---|
4 | targetNamespace="urn:gov:hhs:fha:nhinc:gateway:nhinbpel:nhinauditquery"
|
---|
5 | xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
|
---|
6 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
7 | xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
|
---|
8 | xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
|
---|
9 | xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment"
|
---|
10 | xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling"
|
---|
11 | xmlns:tns="urn:gov:hhs:fha:nhinc:gateway:nhinbpel:nhinauditquery"
|
---|
12 | xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions"
|
---|
13 | xmlns:audit="http://nhinc.services.com/schema/auditmessage"
|
---|
14 | xmlns:propacc="urn:gov:hhs:fha:nhinc:common:propertyaccess"
|
---|
15 | xmlns:conninfo="urn:gov:hhs:fha:nhinc:common:connectionmanagerinfo"
|
---|
16 | xmlns:nccommon="urn:gov:hhs:fha:nhinc:common:nhinccommon"
|
---|
17 | xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
|
---|
18 | xmlns:nccommonadapter="urn:gov:hhs:fha:nhinc:common:nhinccommonadapter"
|
---|
19 | xmlns:nhinccommonintorch="urn:gov:hhs:fha:nhinc:common:nhinccommoninternalorch"
|
---|
20 | xmlns:auditlog="urn:gov:hhs:fha:nhinc:common:auditlog" xmlns:ns0="urn:gov:hhs:fha:nhinc:common:eventcommon" xmlns:ns1="urn:gov:hhs:fha:nhinc:common:policyenginedte" xmlns:ns2="urn:oasis:names:tc:xacml:2.0:context:schema:os">
|
---|
21 | <import namespace="urn:gov:hhs:fha:nhinc:nhincauditlogquery" location="Interfaces/wsdl/NhincAuditLogQuery.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
22 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" location="Interfaces/wsdl/NhincComponentAuditRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
23 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" location="Interfaces/wsdl/NhincComponentConnectionManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
24 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" location="Interfaces/wsdl/NhincComponentPropAccessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
25 | <import namespace="urn:gov:hhs:fha:nhinc:adapterauditlogquery" location="Interfaces/wsdl/AdapterAuditLogQuery.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
26 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" location="Interfaces/wsdl/NhincComponentInternalAuditRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
27 | <import namespace="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" location="Interfaces/wsdl/NhincComponentInternalPolicyEngineFacade.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
28 | <partnerLinks>
|
---|
29 | <partnerLink name="PolicyEngineFacadePL" xmlns:tns="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" partnerLinkType="tns:NhincComponentInternalPolicyEngineFacade" partnerRole="NhincComponentInternalPolicyEngineFacadePortTypeRole"/>
|
---|
30 | <partnerLink name="NhincAuditLogRepositoryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" partnerLinkType="tns:NhincComponentInternalAuditRepository" partnerRole="NhincComponentInternalAuditRepositoryPortTypeRole"/>
|
---|
31 | <partnerLink name="PropertyAccessorPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" partnerLinkType="tns:NhincComponentPropAccessor" partnerRole="NhincComponentPropAccessorPortTypeRole"/>
|
---|
32 | <partnerLink name="ConnectionManagerPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" partnerLinkType="tns:NhincComponentConnectionManager" partnerRole="NhincComponentConnectionManagerPortTypeRole"/>
|
---|
33 | <partnerLink name="NhincAuditRepositoryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" partnerLinkType="tns:AuditRepositoryManager" partnerRole="AuditRepositoryManagerPortTypeRole"/>
|
---|
34 | <partnerLink name="AdapterAuditQueryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterauditlogquery" partnerLinkType="tns:AdapterAuditLogQuery" partnerRole="AdapterAuditLogQueryPortTypeRole"/>
|
---|
35 | <partnerLink name="NhincAuditLogQueryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincauditlogquery" partnerLinkType="tns:NhincAuditLogQuery" myRole="NhincAuditLogQueryPortTypeRole"/>
|
---|
36 | </partnerLinks>
|
---|
37 | <sequence>
|
---|
38 | <scope name="NhincAuditQueryScope">
|
---|
39 | <variables>
|
---|
40 | <variable name="CheckPolicyFindAuditEventsOut" xmlns:tns="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" messageType="tns:CheckPolicyResponseMessage"/>
|
---|
41 | <variable name="CheckPolicyFindAuditEventsIn" xmlns:tns="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" messageType="tns:CheckPolicyFindAuditEventsRequestMessage"/>
|
---|
42 | <variable name="LogAdapterFindAuditEventsOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
43 | <variable name="LogAdapterFindAuditEventsIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogFindAuditEventsRequestMessage"/>
|
---|
44 | <variable name="LogFindAuditEventsOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
45 | <variable name="LogFindAuditEventsIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogFindAuditEventsRequestMessage"/>
|
---|
46 | <variable name="QueryAuditEventsOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:QueryAuditEventsResponseMessage"/>
|
---|
47 | <variable name="QueryAuditEventsIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:QueryAuditEventsRequestMessage"/>
|
---|
48 | <variable name="AdapterAuditQueryOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterauditlogquery" messageType="tns:findAuditEventsResponseMessage"/>
|
---|
49 | <variable name="AdapterAuditQueryIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterauditlogquery" messageType="tns:findAuditEventsRequestMessage"/>
|
---|
50 | <variable name="LocalHcidPropertyOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyResponseMessage"/>
|
---|
51 | <variable name="LocalHcidPropertyIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyRequestMessage"/>
|
---|
52 | <variable name="AdapterEndpointOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
|
---|
53 | <variable name="AdapterEndpointIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
|
---|
54 | <variable name="AuditRepoEndpointOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
|
---|
55 | <variable name="AuditRepoEndpointIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
|
---|
56 | <variable name="AuditPassthruPropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
57 | <variable name="AuditPassthruPropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
58 | <variable name="AuditServicePropertyOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
59 | <variable name="AuditServicePropertyIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
60 | <variable name="NhincAuditLogQueryOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincauditlogquery" messageType="tns:NhincAuditLogQueryResponseMessage"/>
|
---|
61 | <variable name="NhincAuditLogQueryIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincauditlogquery" messageType="tns:NhincAuditLogQueryRequestMessage"/>
|
---|
62 | </variables>
|
---|
63 | <faultHandlers>
|
---|
64 | <catch>
|
---|
65 | <sequence name="FaultSeq">
|
---|
66 | <assign name="AssignFault">
|
---|
67 | <copy>
|
---|
68 | <from>sxxf:current-dateTime()</from>
|
---|
69 | <to>$NhincAuditLogQueryOut.NhincAuditLogQueryResponse/audit:findAuditEventsReturn/audit:EventIdentification/@EventDateTime</to>
|
---|
70 | </copy>
|
---|
71 | </assign>
|
---|
72 | <reply name="ReplyFault" partnerLink="NhincAuditLogQueryPL" operation="NhincAuditLogQuery" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincauditlogquery" portType="tns:NhincAuditLogQueryPortType" variable="NhincAuditLogQueryOut"/>
|
---|
73 | </sequence>
|
---|
74 | </catch>
|
---|
75 | </faultHandlers>
|
---|
76 | <sequence name="NhincAuditQuerySeq">
|
---|
77 | <receive name="ReceiveNhincAuditQuery" createInstance="yes" partnerLink="NhincAuditLogQueryPL" operation="NhincAuditLogQuery" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincauditlogquery" portType="tns:NhincAuditLogQueryPortType" variable="NhincAuditLogQueryIn"/>
|
---|
78 | <assign name="AssignLogAuditQuery">
|
---|
79 | <copy>
|
---|
80 | <from>$NhincAuditLogQueryIn.NhincAuditLogQueryRequest/audit:FindAuditEvents</from>
|
---|
81 | <to>$LogFindAuditEventsIn.LogFindAuditEventsRequest/auditlog:message/audit:FindAuditEvents</to>
|
---|
82 | </copy>
|
---|
83 | <copy>
|
---|
84 | <from>$NhincAuditLogQueryIn.NhincAuditLogQueryRequest/nhinccommonintorch:assertion</from>
|
---|
85 | <to>$LogFindAuditEventsIn.LogFindAuditEventsRequest/auditlog:message/auditlog:assertion</to>
|
---|
86 | </copy>
|
---|
87 | </assign>
|
---|
88 | <invoke name="InvokeLogAuditQuery" partnerLink="NhincAuditLogRepositoryPL" operation="LogFindAuditEvents" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogFindAuditEventsIn" outputVariable="LogFindAuditEventsOut"/>
|
---|
89 | <assign name="AssignPolicyEngineInput">
|
---|
90 | <copy>
|
---|
91 | <from>'Inbound'</from>
|
---|
92 | <to>$CheckPolicyFindAuditEventsIn.CheckPolicyFindAuditEventsRequest/ns0:direction</to>
|
---|
93 | </copy>
|
---|
94 | <copy>
|
---|
95 | <from>$NhincAuditLogQueryIn.NhincAuditLogQueryRequest/audit:FindAuditEvents</from>
|
---|
96 | <to>$CheckPolicyFindAuditEventsIn.CheckPolicyFindAuditEventsRequest/ns0:message/audit:FindAuditEvents</to>
|
---|
97 | </copy>
|
---|
98 | <copy>
|
---|
99 | <from>$NhincAuditLogQueryIn.NhincAuditLogQueryRequest/nhinccommonintorch:assertion</from>
|
---|
100 | <to>$CheckPolicyFindAuditEventsIn.CheckPolicyFindAuditEventsRequest/ns0:message/ns0:assertion</to>
|
---|
101 | </copy>
|
---|
102 | </assign>
|
---|
103 | <invoke name="InvokePolicyEngineCheck" partnerLink="PolicyEngineFacadePL" operation="CheckPolicyFindAuditEvents" xmlns:tns="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" portType="tns:NhincComponentInternalPolicyEngineFacadePortType" inputVariable="CheckPolicyFindAuditEventsIn" outputVariable="CheckPolicyFindAuditEventsOut"/>
|
---|
104 | <if name="IfPolicyCheck">
|
---|
105 | <condition>'Permit' = $CheckPolicyFindAuditEventsOut.CheckPolicyResponse/nccommonadapter:response/ns2:Result/ns2:Decision</condition>
|
---|
106 | <sequence name="PolicyCheckTrueSeq">
|
---|
107 | <assign name="AssignAuditServiceProperty">
|
---|
108 | <copy>
|
---|
109 | <from>'serviceAuditRepository'</from>
|
---|
110 | <to>$AuditServicePropertyIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
111 | </copy>
|
---|
112 | <copy>
|
---|
113 | <from>'gateway'</from>
|
---|
114 | <to>$AuditServicePropertyIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
115 | </copy>
|
---|
116 | </assign>
|
---|
117 | <invoke name="InvokeAuditServiceProperty" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="AuditServicePropertyIn" outputVariable="AuditServicePropertyOut"/>
|
---|
118 | <if name="IfAuditRepositoryEnabled">
|
---|
119 | <condition>true() = $AuditServicePropertyOut.GetPropertyBooleanResponse/propacc:propertyValue</condition>
|
---|
120 | <sequence name="AuditRepoEnabledSeq">
|
---|
121 | <assign name="AssignAuditPassthruProperty">
|
---|
122 | <copy>
|
---|
123 | <from>'gateway'</from>
|
---|
124 | <to>$AuditPassthruPropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
125 | </copy>
|
---|
126 | <copy>
|
---|
127 | <from>'auditRepositoryPassthrough'</from>
|
---|
128 | <to>$AuditPassthruPropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
129 | </copy>
|
---|
130 | </assign>
|
---|
131 | <invoke name="InvokeAuditPassthruProperty" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="AuditPassthruPropIn" outputVariable="AuditPassthruPropOut"/>
|
---|
132 | <assign name="AssignLocalHcidProperty">
|
---|
133 | <copy>
|
---|
134 | <from>'gateway'</from>
|
---|
135 | <to>$LocalHcidPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
|
---|
136 | </copy>
|
---|
137 | <copy>
|
---|
138 | <from>'localHomeCommunityId'</from>
|
---|
139 | <to>$LocalHcidPropertyIn.GetPropertyRequest/propacc:propertyName</to>
|
---|
140 | </copy>
|
---|
141 | </assign>
|
---|
142 | <invoke name="InvokeLocalHcidProperty" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="LocalHcidPropertyIn" outputVariable="LocalHcidPropertyOut"/>
|
---|
143 | <if name="IfNotAuditPassthru">
|
---|
144 | <condition>false() = $AuditPassthruPropOut.GetPropertyBooleanResponse/propacc:propertyValue</condition>
|
---|
145 | <sequence name="NhinAuditQuerySeq">
|
---|
146 | <assign name="AssignAuditRepoEndpointLookup">
|
---|
147 | <copy>
|
---|
148 | <from>'auditrepository'</from>
|
---|
149 | <to>$AuditRepoEndpointIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
|
---|
150 | </copy>
|
---|
151 | <copy>
|
---|
152 | <from>$LocalHcidPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
|
---|
153 | <to>$AuditRepoEndpointIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
|
---|
154 | </copy>
|
---|
155 | </assign>
|
---|
156 | <invoke name="InvokeAuditRepoEndpointLookup" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="AuditRepoEndpointIn" outputVariable="AuditRepoEndpointOut"/>
|
---|
157 | <assign name="AssignAuditQuery">
|
---|
158 | <copy>
|
---|
159 | <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $AuditRepoEndpointOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
|
---|
160 | <to partnerLink="NhincAuditRepositoryPL"/>
|
---|
161 | </copy>
|
---|
162 | <copy>
|
---|
163 | <from>$NhincAuditLogQueryIn.NhincAuditLogQueryRequest/audit:FindAuditEvents</from>
|
---|
164 | <to>$QueryAuditEventsIn.QueryAuditEventsRequest/audit:FindAuditEvents</to>
|
---|
165 | </copy>
|
---|
166 | <copy>
|
---|
167 | <from>$NhincAuditLogQueryIn.NhincAuditLogQueryRequest/nhinccommonintorch:assertion</from>
|
---|
168 | <to>$QueryAuditEventsIn.QueryAuditEventsRequest/nccommonadapter:assertion</to>
|
---|
169 | </copy>
|
---|
170 | </assign>
|
---|
171 | <invoke name="InvokeAuditQuery" partnerLink="NhincAuditRepositoryPL" operation="QueryAuditEvents" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="QueryAuditEventsIn" outputVariable="QueryAuditEventsOut"/>
|
---|
172 | <assign name="AssignAuditQueryResults">
|
---|
173 | <copy>
|
---|
174 | <from>$QueryAuditEventsOut.QueryAuditEventsResponse/nccommonadapter:findAuditEventResponse</from>
|
---|
175 | <to variable="NhincAuditLogQueryOut" part="NhincAuditLogQueryResponse"/>
|
---|
176 | </copy>
|
---|
177 | </assign>
|
---|
178 | </sequence>
|
---|
179 | <else>
|
---|
180 | <sequence name="AdapterPassthruSeq">
|
---|
181 | <assign name="AssignAdapterEndpointLookup">
|
---|
182 | <copy>
|
---|
183 | <from>'adapterauditquerypassthrough'</from>
|
---|
184 | <to>$AdapterEndpointIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
|
---|
185 | </copy>
|
---|
186 | <copy>
|
---|
187 | <from>$LocalHcidPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
|
---|
188 | <to>$AdapterEndpointIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
|
---|
189 | </copy>
|
---|
190 | </assign>
|
---|
191 | <invoke name="InvokeAdapterEndpointLookup" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="AdapterEndpointIn" outputVariable="AdapterEndpointOut"/>
|
---|
192 | <assign name="AssignAdapterAuditQuery">
|
---|
193 | <copy>
|
---|
194 | <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $AdapterEndpointOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
|
---|
195 | <to partnerLink="AdapterAuditQueryPL"/>
|
---|
196 | </copy>
|
---|
197 | <copy>
|
---|
198 | <from>$NhincAuditLogQueryIn.NhincAuditLogQueryRequest/audit:FindAuditEvents</from>
|
---|
199 | <to>$AdapterAuditQueryIn.FindAuditEventsRequest/audit:FindAuditEvents</to>
|
---|
200 | </copy>
|
---|
201 | <copy>
|
---|
202 | <from>$NhincAuditLogQueryIn.NhincAuditLogQueryRequest/nhinccommonintorch:assertion</from>
|
---|
203 | <to>$AdapterAuditQueryIn.FindAuditEventsRequest/nccommonadapter:assertion</to>
|
---|
204 | </copy>
|
---|
205 | <copy>
|
---|
206 | <from>$AdapterAuditQueryIn.FindAuditEventsRequest/audit:FindAuditEvents</from>
|
---|
207 | <to>$LogAdapterFindAuditEventsIn.LogFindAuditEventsRequest/auditlog:message/audit:FindAuditEvents</to>
|
---|
208 | </copy>
|
---|
209 | <copy>
|
---|
210 | <from>$AdapterAuditQueryIn.FindAuditEventsRequest/nccommonadapter:assertion</from>
|
---|
211 | <to>$LogAdapterFindAuditEventsIn.LogFindAuditEventsRequest/auditlog:message/auditlog:assertion</to>
|
---|
212 | </copy>
|
---|
213 | </assign>
|
---|
214 | <invoke name="InvokePassthruAudit" partnerLink="NhincAuditLogRepositoryPL" operation="LogFindAuditEvents" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogAdapterFindAuditEventsIn" outputVariable="LogAdapterFindAuditEventsOut"/>
|
---|
215 | <invoke name="InvokeAdapterAuditQuery" partnerLink="AdapterAuditQueryPL" operation="findAuditEvents" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterauditlogquery" portType="tns:AdapterAuditLogQueryPortType" inputVariable="AdapterAuditQueryIn" outputVariable="AdapterAuditQueryOut"/>
|
---|
216 | <assign name="AssignAdapterQueryResults">
|
---|
217 | <copy>
|
---|
218 | <from variable="AdapterAuditQueryOut" part="FindAuditEventsResponse"/>
|
---|
219 | <to variable="NhincAuditLogQueryOut" part="NhincAuditLogQueryResponse"/>
|
---|
220 | </copy>
|
---|
221 | </assign>
|
---|
222 | </sequence>
|
---|
223 | </else>
|
---|
224 | </if>
|
---|
225 | </sequence>
|
---|
226 | <else>
|
---|
227 | <assign name="AssignServiceNotEnabled">
|
---|
228 | <sxt:trace>
|
---|
229 | <sxt:log level="info" location="onStart">
|
---|
230 | <from>'Audit Query is not supported'</from>
|
---|
231 | </sxt:log>
|
---|
232 | </sxt:trace>
|
---|
233 | <copy>
|
---|
234 | <from>sxxf:current-dateTime()</from>
|
---|
235 | <to>$NhincAuditLogQueryOut.NhincAuditLogQueryResponse/audit:findAuditEventsReturn/audit:EventIdentification/@EventDateTime</to>
|
---|
236 | </copy>
|
---|
237 | </assign>
|
---|
238 | </else>
|
---|
239 | </if>
|
---|
240 | </sequence>
|
---|
241 | </if>
|
---|
242 |
|
---|
243 | <reply name="ReplyNhincAuditLogQuery" partnerLink="NhincAuditLogQueryPL" operation="NhincAuditLogQuery" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincauditlogquery" portType="tns:NhincAuditLogQueryPortType" variable="NhincAuditLogQueryOut"/>
|
---|
244 | </sequence>
|
---|
245 | </scope>
|
---|
246 | </sequence>
|
---|
247 | </process>
|
---|