This commit is contained in:
syukri-radius 2024-10-24 06:08:50 +07:00
parent 3b3ead94b0
commit 50f85ec100
11 changed files with 251 additions and 1 deletions

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="windows-1252" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config" xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
xmlns:sec="http://xmlns.oracle.com/adf/security/config">
<adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
<adf-property name="adfAppUID" value="SPANOSBLOG-9744"/>
</adf:adf-properties-child>
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
</sec:adf-security-child>
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config">
<persistence-config>
<metadata-namespaces>
<namespace path="/apps" metadata-store-usage="mstore-usage_1"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="mstore-usage_1">
<metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
<property name="metadata-path" value="${soamds.apps.home}"/>
</metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>
</adf-config>

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<ser:businessServiceEntry xmlns:ser="http://xmlns.oracle.com/servicebus/business/config" xmlns:svc="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:jca="http://www.bea.com/wli/sb/transports/jca" xmlns:ops="http://xmlns.oracle.com/servicebus/business/operations" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ser:coreEntry>
<ser:binding type="SOAP" isSoap12="false" xsi:type="con:SoapBindingType" xmlns:con="http://www.bea.com/wli/sb/services/bindings/config">
<con:wsdl ref="OsbLogger/Resources/jmsLogging-concrete"/>
<con:binding>
<con:name>Produce_Message_ptt-binding</con:name>
<con:namespace>http://xmlns.oracle.com/pcbpel/adapter/jms/SPANOSBLOG/OsbLogger/jmsLogging</con:namespace>
</con:binding>
</ser:binding>
<ops:operations enabled="true">
<ops:sla-alerting enabled="true"/>
</ops:operations>
<ser:ws-policy>
<svc:binding-mode>no-policies</svc:binding-mode>
</ser:ws-policy>
<ser:xqConfiguration>
<svc:snippetVersion>1.0</svc:snippetVersion>
</ser:xqConfiguration>
</ser:coreEntry>
<ser:endpointConfig>
<tran:provider-id>jca</tran:provider-id>
<tran:inbound>false</tran:inbound>
<tran:URI>
<env:value>jca://eis/jms/SpanPubCF</env:value>
</tran:URI>
<tran:outbound-properties>
<tran:load-balancing-algorithm>round-robin</tran:load-balancing-algorithm>
<tran:retry-count>0</tran:retry-count>
<tran:retry-interval>30</tran:retry-interval>
<tran:retry-application-errors>true</tran:retry-application-errors>
</tran:outbound-properties>
<tran:all-headers>false</tran:all-headers>
<tran:provider-specific>
<jca:jca-file ref="OsbLogger/Resources/jmsLogging_jms"/>
<jca:adapter-name>jmsLogging</jca:adapter-name>
<jca:adapter-type>JMS</jca:adapter-type>
<jca:dispatch-policy>SBDefaultResponseWorkManager</jca:dispatch-policy>
<jca:always-use-wsdl>true</jca:always-use-wsdl>
<jca:connection-mode>managed</jca:connection-mode>
<jca:outbound-properties>
<jca:operation-properties>
<jca:operation-name>Produce_Message</jca:operation-name>
<jca:spec-properties>
<jca:property>
<jca:name>TimeToLive</jca:name>
<jca:value>0</jca:value>
</jca:property>
<jca:property>
<jca:name>DestinationName</jca:name>
<jca:value>jms/SPAN/LogQueue</jca:value>
</jca:property>
<jca:property>
<jca:name>DeliveryMode</jca:name>
<jca:value>Persistent</jca:value>
</jca:property>
<jca:property>
<jca:name>PayloadType</jca:name>
<jca:value>TextMessage</jca:value>
</jca:property>
</jca:spec-properties>
</jca:operation-properties>
</jca:outbound-properties>
</tran:provider-specific>
</ser:endpointConfig>
</ser:businessServiceEntry>

@ -0,0 +1,4 @@
JNDI
JMS Connection Factory : jms/SPAN/OsbLogReceiverQCF
JMS Queue : jms/SPAN/LogQueue
JMS Adapter : eis/jms/SpanPubCF

@ -0,0 +1,51 @@
<?xml version= '1.0' encoding= 'UTF-8' ?>
<wsdl:definitions
name="LoggingService"
targetNamespace="http://xmlns.oracle.com/SPANOSBLOG/OsbLogger/LoggingService"
xmlns:tns="http://xmlns.oracle.com/SPANOSBLOG/OsbLogger/LoggingService"
xmlns:inp1="http://span.kemenkeu.go.id/Schemas/RequestLog"
xmlns:inp2="http://span.kemenkeu.go.id/Schemas/ResponseLog"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://span.kemenkeu.go.id/Schemas/RequestLog" schemaLocation="../Schemas/RequestLog.xsd"/>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://span.kemenkeu.go.id/Schemas/ResponseLog" schemaLocation="../Schemas/ResponseLog.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="requestMessage">
<wsdl:part name="inp1" element="inp1:RequestLog"/>
</wsdl:message>
<wsdl:message name="replyMessage">
<wsdl:part name="out1" element="inp2:ResponseLog"/>
</wsdl:message>
<wsdl:message name="faultMessage">
<wsdl:part name="fault" element="inp2:ResponseLog"/>
</wsdl:message>
<wsdl:portType name="add_log_ptt">
<wsdl:operation name="addLog">
<wsdl:input message="tns:requestMessage"/>
<wsdl:output message="tns:replyMessage"/>
<wsdl:fault name="addLogfault" message="tns:faultMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="add_log" type="tns:add_log_ptt">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="addLog">
<soap:operation style="document" soapAction="addLog"/>
<wsdl:input>
<soap:body use="literal" namespace="http://xmlns.oracle.com/SPANOSBLOG/OsbLogger/LoggingService"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://xmlns.oracle.com/SPANOSBLOG/OsbLogger/LoggingService"/>
</wsdl:output>
<wsdl:fault name="addLogfault">
<soap:fault name="addLogfault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

@ -0,0 +1,12 @@
<wsdl:definitions targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/jms/SPANOSBLOG/OsbLogger/jmsLogging" name="jmsLogging-concrete" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import location="jmsLogging.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/jms/SPANOSBLOG/OsbLogger/jmsLogging"/>
<wsdl:binding name="Produce_Message_ptt-binding" type="jms:Produce_Message_ptt" xmlns:jms="http://xmlns.oracle.com/pcbpel/adapter/jms/SPANOSBLOG/OsbLogger/jmsLogging">
<soap:binding style="document" transport="http://www.bea.com/wli/sb/transports/jca"/>
<wsdl:operation name="Produce_Message">
<soap:operation soapAction="Produce_Message"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

@ -0,0 +1,28 @@
<wsdl:definitions
name="jmsLogging"
targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/jms/SPANOSBLOG/OsbLogger/jmsLogging"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/jms/SPANOSBLOG/OsbLogger/jmsLogging"
xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:imp1="http://span.kemenkeu.go.id/Schemas/RequestLog"
>
<plt:partnerLinkType name="Produce_Message_plt" >
<plt:role name="Produce_Message_role" >
<plt:portType name="tns:Produce_Message_ptt" />
</plt:role>
</plt:partnerLinkType>
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" >
<import namespace="http://span.kemenkeu.go.id/Schemas/RequestLog" schemaLocation="../Schemas/RequestLog.xsd" />
</schema>
</wsdl:types>
<wsdl:message name="Produce_Message_msg">
<wsdl:part name="body" element="imp1:RequestLog"/>
</wsdl:message>
<wsdl:portType name="Produce_Message_ptt">
<wsdl:operation name="Produce_Message">
<wsdl:input message="tns:Produce_Message_msg"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

@ -0,0 +1,14 @@
<!--Generated by Oracle SOA Modeler version 12.2.1.4.0.190828 at [10/24/24 6:00 AM].-->
<adapter-config name="jmsLogging" adapter="jms" wsdlLocation="jmsLogging.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory UIConnectionName="local-dev" location="eis/jms/SpanPubCF" UIJmsProvider="WLSJMS"/>
<endpoint-interaction portType="Produce_Message_ptt" operation="Produce_Message">
<interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
<property name="TimeToLive" value="7200000"/>
<property name="DestinationName" value="jms/SPAN/LogQueue"/>
<property name="DeliveryMode" value="Persistent"/>
<property name="PayloadType" value="TextMessage"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://span.kemenkeu.go.id/Schemas/RequestLog">
<xs:element name="RequestLog">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="serviceName" type="xs:string" />
<xs:element minOccurs="0" name="requestPayload" type="xs:string" />
<xs:element minOccurs="0" name="moduleName" type="xs:string" />
<xs:element minOccurs="0" name="systemID" type="xs:string" />
<xs:element minOccurs="0" name="sessionID" type="xs:string" />
<xs:element minOccurs="0" name="extraData" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://span.kemenkeu.go.id/Schemas/ResponseLog">
<xs:element name="ResponseLog">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" name="RequestID" type="xs:string" maxOccurs="1"/>
<xs:element minOccurs="1" name="Status" type="xs:string" maxOccurs="1"/>
<xs:element minOccurs="1" name="Message" type="xs:string" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

@ -1,5 +1,8 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<jws:workspace xmlns:jws="http://xmlns.oracle.com/ide/project">
<hash n="adrs-workspace-properties">
<value n="adrs-instance-binding" v="DefaultServer"/>
</hash>
<value n="appTemplateId" v="sbApplicationAndProjectTemplate"/>
<hash n="component-versions">
<value n="oracle.adf.share.dt.migration.jps.JaznCredStoreMigratorHelper" v="11.1.1.1.0"/>
@ -43,6 +46,6 @@
</hash>
</hash>
<hash n="oracle.sb.tooling.ide.core.internal.application.SbApplication">
<value n="configContextSessionName" v="OSB-IDE_build_1729657069201"/>
<value n="configContextSessionName" v="OSB-IDE_build_1729724798643"/>
</hash>
</jws:workspace>

@ -0,0 +1,18 @@
<?xml version = '1.0' encoding = 'windows-1252'?>
<jpsConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd jps-config-11_1.xsd" xmlns="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd">
<serviceProviders>
<serviceProvider type="CREDENTIAL_STORE" name="credstore.provider" class="oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider">
<description>Credential Store Service Provider</description>
</serviceProvider>
</serviceProviders>
<serviceInstances>
<serviceInstance name="credstore" provider="credstore.provider">
<property name="location" value="./"/>
</serviceInstance>
</serviceInstances>
<jpsContexts default="SPANOSBLOG">
<jpsContext name="SPANOSBLOG">
<serviceInstanceRef ref="credstore"/>
</jpsContext>
</jpsContexts>
</jpsConfig>