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

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

问题描述

我们有一个mavenized"项目,其中包含多个容器(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天全站免登陆