All Downloads are FREE. Search and download functionalities are using the official Maven repository.

th.ipf.tutorials.ipf-tutorials-iheclient.5.0.0.source-code.atna-context.xml Maven / Gradle / Ivy

Go to download

This project demonstrates how a client-side application can make use of IHE Producer Endpoints

There is a newer version: 5.0-rc2
Show newest version
<!--
    Copyright 2017 the original author or authors.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">

    <!-- ATNA Auditing Infrastructure. Everything simply goes into the AuditContext -->

    <bean id="auditContext" class="org.openehealth.ipf.commons.audit.DefaultAuditContext">

        <!-- Whether auditing is enabled. Default is false -->
        <property name="auditEnabled" value="${atna.audit.enabled}" />
        <!-- Audit Source ID. Default is "IPF" -->
        <property name="auditSourceId" value="${atna.audit.sourceId}" />
        <!-- Enterprise Site ID. Default is "IPF" -->
        <property name="auditEnterpriseSiteId" value="${atna.audit.enterpriseSiteId}" />
        <!-- Default is "localhost" -->
        <property name="auditRepositoryHost" value="${atna.audit.host}" />
        <!-- Default is 514 -->
        <property name="auditRepositoryPort" value="${atna.audit.port}" />
        <!-- Audit Transport (UDP, TLS). Default is "UDP" -->
        <property name="auditRepositoryTransport" value="${atna.audit.transport}" />
        <!-- Audit Source Type. Default is "Other" -->
        <property name="auditSource">
            <value type="org.openehealth.ipf.commons.audit.codes.AuditSourceType">ApplicationServerProcess</value>
        </property>

        <!-- Advanced -->

        <!-- Adding a custom sender implementation. Overrules auditRepositoryTransport.

        <property name="auditTransmissionProtocol" ref="xyz"/>
        -->

        <!-- Setting if the message is sent synchronously (default), asynchronously, via JMS,  or whatever

        <property name="auditMessageQueue" ref="xyz"/>
        -->

        <!-- Setting the strategy to serialize an AuditMessage. By default, the latest DICOM Audit
             standard is used, but you may choose an older one (e.g. Dicom2016c). Or write your own that
             is maybe not even DICOM based, e.g. rending FHIR AuditEvents.

        <property name="serializationStrategy">
            <bean class="org.openehealth.ipf.commons.audit.marshal.dicom.Current"/>
        </property>
        -->

    </bean>
    <bean id="auditMetadataProvider" factory-bean="auditContext" factory-method="getAuditMetadataProvider">
        <!-- Sending Application for SYSLOG frame. Default is "IPF" -->
        <property name="sendingApplication" value="demo"/>
    </bean>


</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy