webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | Administering webMethods OneData | Configuring Connections | Adding Repositories
 
Adding Repositories
To add more repositories, modify the file repository.xml in the < Software AG_directory > \profiles\ODE\bin\onedata\config directory.
Note: Alternatively, you can add new repositories in the interface: on the Menu toolbar, click Administer > System > Metadata Repository Configuration.
* To add a repository
1. Navigate to the configuration directory, < Software AG_directory >\profiles\ODE\bin\onedata\config.
2. Open the file, repository.xml.
3. Define the repository in the file. Use the following code for a DB3 database as an example.
<Repository>
<REPOSITORYID> <![CDATA[DB3]]> </REPOSITORY_ID>
<NAME> <![CDATA[DB3_MD]]> </NAME>
<DBMS> <![CDATA[Oracle]]> </DBMS>
<DBMS_VER> <![CDATA[x]]> </DBMS_VER>
<APPSRV> <![CDATA[Other]]> </APPSRV>
<APPSRV_VER> <![CDATA[x]]> </APPSRV_VER>
<CNCTN_TYP> <![CDATA[POOL]]> </CNCTN_TYP>
<CNCTN_STR> <![CDATA[java:comp/env/jdbc/db3md]]> </CNCTN_STR>
<USR> </USR>
<PWD> </PWD>
<ADMINEMAIL> <![CDATA[onedata@]]> </ADMINEMAIL>
<SMTPGATEWAY> <![CDATA[mailhost.hq.sag]]> </SMTPGATEWAY>
<REPOSITORYINFO> <![CDATA[OneData 4]]> </REPOSITORYINFO>
<REPOSITORYOWNER> </REPOSITORYOWNER>
<CONTACTPERSON> </CONTACTPERSON>
<SchedulerDisabled> <![CDATA[false]]> </SchedulerDisabled>
<LICENSEKEY> <![CDATA[sag-license.xml]]> </LICENSEKEY>
</Repository>
4. Define the login module for the repository as follows:
a. Navigate to the directory, < Software AG_directory >\SoftwareAG\profiles\ ODE\configuration.
b. Open the file, jaas.config.
c. Add the parameter OnedataLoginModule, as follows:
onedata.DB3 {
com.datafoundations.onedata.security.auth.module.
OnedataLoginModule required debug=false:
};
d. Save and close the file.
5. Restart OneData.
Note: If you are using Tomcat 7 as your application server, in the context.xml file, include the parameter useHttpOnly="true" in the context tag, as follows: <Context useHttpOnly="true"> </context>

Copyright © 2011-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release