tag:blogger.com,1999:blog-5874979429188093780.post7264470817019814537..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: Target MDS Repository for ADF Applications DeploymentAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-5874979429188093780.post-63121854041966990402015-11-12T19:56:04.515+01:002015-11-12T19:56:04.515+01:00Hi, can I have script which replace the ADF-CONFG ...Hi, can I have script which replace the ADF-CONFG file from build to .ear file.srikanthhttps://www.blogger.com/profile/16964900092685800491noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-76116254916909950262015-05-12T12:16:45.067+02:002015-05-12T12:16:45.067+02:00You would need to call WLST command to add MDS, fr...You would need to call WLST command to add MDS, from CI through ANT, before deploying:<br /><br />log_info('updating MDS config for '+ app_source)<br />archive = getMDSArchiveConfig(fromLocation=app_source)<br />archive.setAppMetadataRepository(repository=..,partition=.., type='File',path=..)<br />archive.save()<br />log_info('updating MDS config done!')Andrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-89475552207793156232015-05-12T11:54:02.575+02:002015-05-12T11:54:02.575+02:00We have a CI that automatically deploing our appli...We have a CI that automatically deploing our application with maven using wls:deploy. <br />How can we achieve that mds information is written into the EAR file prior to deployment.Andrej Fliegernoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-86096761270944976482013-09-13T15:31:25.685+02:002013-09-13T15:31:25.685+02:00How to specify the target MDS repository if the ap...How to specify the target MDS repository if the application deployed using maven in Hudson Radha Knoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-14509661724661737062013-02-14T18:26:44.945+01:002013-02-14T18:26:44.945+01:00hello the solution you propose in picture 7 I try ...hello the solution you propose in picture 7 I try to do in my XML code in the adf-conf and it fails, you can give me some solution?Anonymoushttps://www.blogger.com/profile/09299260106767590183noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-47527940661064113972012-02-13T21:38:53.876+01:002012-02-13T21:38:53.876+01:00You need to use WLST, is described in first commen...You need to use WLST, is described in first comment of this post.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-20485861413650876812012-02-13T21:36:33.628+01:002012-02-13T21:36:33.628+01:00Andrejus,
Thanks for your post.
We use wldeploy....Andrejus, <br />Thanks for your post. <br />We use wldeploy. can you pls let me know how to do it, 'write additional script, which will access packaged EAR and substitute target MDS repository values' ???<br />can we do it in wldeploy?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-10733717002764691142011-05-18T13:02:06.260+02:002011-05-18T13:02:06.260+02:00Hi,
Exactly - its what it is needed. I will test ...Hi,<br /><br />Exactly - its what it is needed. I will test this, but from doc it looks good.<br /><br />Thanks for good pointer.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-20035214023997282062011-05-18T12:54:30.540+02:002011-05-18T12:54:30.540+02:00Hi Andrejus,
we are using WLST commands to update...Hi Andrejus,<br /><br />we are using WLST commands to update MDS config of EAR before actually deploying it.<br /><br />log_info('updating MDS config for '+ app_source)<br />archive = getMDSArchiveConfig(fromLocation=app_source)<br />archive.setAppMetadataRepository(repository=..,partition=.., type='File',path=..)<br />archive.save()<br />log_info('updating MDS config done!')<br /><br />http://download.oracle.com/docs/cd/E12839_01/web.1111/e13813/custom_mds.htm<br /><br />This might also work for Database based MDS repo as well. Is this an option for you? What do you think?<br /><br />Greetz,<br />AndreasAnonymoushttps://www.blogger.com/profile/04129837159001672919noreply@blogger.com