自动部署DSS数据源配置 [英] Automated deployment of DSS datasource configuration

查看:155
本文介绍了自动部署DSS数据源配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个简化的项目,其中包含多个容器(wso2esb,wso2dss,tomcat)和许多要部署到它们的组件。

We have a "mavenized" project with several containers (wso2esb, wso2dss, tomcat) and many components to deploy to them.

我们正在寻找一种方法为我们所有的DSS服务部署数据源配置,但我注意到它存储在自己的数据库(H2)中。

We are trying to find a way to deploy the datasource configuration for all our DSS services but I notice it is stored in its own DB (H2).

您知道是否有任何方法可以声明某些内容像XML文件一样,以便以自动化方式在DSS中创建数据源?

Do you know if there is any way to declare something like a XML file in order to create the datasource in the DSS in an automated way?

我试图查看文档,但没有发现对自动部署有用的任何东西(这意味着

I tried to see the documentation but did not find anything useful for automatic deployment (meaning without using the admin pages).

推荐答案

是的,您可以使用Carbon数据源配置文件 datasources .properties ,以提供此信息。该文件应位于 $ SERVER_ROOT / repository / conf

Yeah, you can use the Carbon data source configuration file datasources.properties, to provide this information. This file should be located at $SERVER_ROOT/repository/conf.

可以在 BPS来源

使用此定义数据源后,可以使用数据服务中数据类型为碳数据源的碳源。

After the data sources are defined using this, you can use them using the data source type "carbon data source" from data services.

这篇关于自动部署DSS数据源配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆