简体   繁体   English

在 WSO2 EI 6.4 中批量导入注册表工件

[英]importing registry artifacts in bulk in WSO2 EI 6.4

The way we handle multiple deploy environments in the company I'm currently working for is, for every project, to have a registry resources project and a composite application project per environment , together with a config project that holds the business logic.在我目前工作的公司中,我们处理多个部署环境的方式是,对于每个项目,每个环境都有一个注册资源项目和一个复合应用程序项目,以及一个包含业务逻辑的配置项目。 So for each project we have a ProjectRegistry.DEV/ProjectCompositeApp.DEV, ProjectRegistry.QA/ProjectCompositeApp.QA, ProjectRegistry.PRD/ProjectCompositeApp.PRD.因此,对于每个项目,我们都有一个 ProjectRegistry.DEV/ProjectCompositeApp.DEV、ProjectRegistry.QA/ProjectCompositeApp.QA、ProjectRegistry.PRD/ProjectCompositeApp.PRD。 This structure makes it easy to keep track of the artifacts for each environment, but it can be a pain in the ass to keep.这种结构使跟踪每个环境的工件变得容易,但保持起来可能很麻烦。 When a new registry project is created, we have to either create by hand or import each registry artifact, one by one, and even when we import we still have to manualy update the registry path to the artifact.当创建一个新的注册表项目时,我们必须手动创建或导入每个注册表工件,一个接一个,甚至在我们导入时,我们仍然必须手动更新工件的注册表路径。 Once you have a reasonable number of artifacts, this can take a while to do for all the environments.一旦您拥有合理数量的工件,这可能需要一段时间才能用于所有环境。 There my question would be: is there any way to import registry artifacts in bulk?我的问题是:有没有办法批量导入注册表工件? So that I could just create a new RegistryProject.QA and import all the artifacts from DEV?这样我就可以创建一个新的 RegistryProject.QA 并从 DEV 导入所有工件? This would make things a lot easier.这会让事情变得容易很多。 Alternatively, do you use other way to organize registry artifacts by environment?或者,您是否使用其他方式按环境组织注册表工件? I know a single registry project could be used, and environment-specific artifacts be identified by the name (_dev, _qa, etc) but I' not sure this would help things much.我知道可以使用单个注册表项目,并且特定于环境的工件由名称(_dev、_qa 等)标识,但我不确定这对事情有多大帮助。

Appreciate any inputs.感谢任何输入。

Thanks!谢谢!

You can refer to the documentation on maintaining artifacts across multiple environments in the document [1].您可以参考文档 [1] 中有关跨多个环境维护工件的文档。

[1]- https://wso2.com/library/articles/2014/03/development-and-deployment-of-c-app-based-artifacts-on-multiple-environments/ [1]- https://wso2.com/library/articles/2014/03/development-and-deployment-of-c-app-based-artifacts-on-multiple-environments/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM