MDS setting for testing PDef business components using AM tester

Monday, July 8, 2013

MDS setting for testing PDef business components using AM tester

In case if you want to test the ADF Model project containing PDef  business components outside of the container using AM tester, you can use the following MDS setting in adf-config.xml. See metadata-path  entry in the below snippet, this entry sets MDS repository path to D:\my_mds_repo. Note that, when you deploy this app as web app, container will not use this path. If you don't know what a PDef object is, see this post http://www.jobinesh.com/2011/08/long-living-dynamic-business-components.html 

<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
 <mds-config version="11.1.1.000" xmlns="http://xmlns.oracle.com/mds/config">
  <persistence-config>
   <metadata-namespaces>
    <namespace path="/sessiondef" metadata-store-usage="mdsRepos"/>
    <namespace path="/persdef" metadata-store-usage="mdsRepos"/>
    <namespace path="/xliffBundles" metadata-store-usage="mdsRepos"/>
   </metadata-namespaces>
   <metadata-store-usages>
    <metadata-store-usage id="mdsRepos" deploy-target="true" default-cust-store="true">
     <!-- Note the following entry gets overwritten during deployment -->
     <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
      <property name="metadata-path" value="D:\my_mds_repo"/>
      <property name="partition-name" value="demo"/>
     </metadata-store>
    </metadata-store-usage>
   </metadata-store-usages>
  </persistence-config>
  <cust-config>
   <match path="/">
    <customization-class name="oracle.adf.share.config.SiteCC"/>
   </match>
  </cust-config>
 </mds-config>
</adf-mds-config>
No comments:
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值