In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
The knowledge of this article "how to use DevOps open source tools to develop and deploy the Hygieia platform" is not understood by most people, so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article, let's take a look at this "how to use DevOps open source tools to develop and deploy the Hygieia platform" article.
What is Hygieia?
Capitalone (one of the top ten banks in the United States) is an open source DevOps weapon. After using Hygieia, in the whole software development cycle, users can choose VersionOne or Jira to track user stories, Subversion or GitHub as code repository, Jenkins or Hudson to build, Selenium and SonarQube for quality testing, uDeploy or Jenkins for deployment, and so on. Of course, Hygieia is more than that. Its api is based on rest style plug-in design, and some other software engineering components can be easily connected to Hygieia. His dashboard market can show the entire lifecycle data from software creation to delivery.
Project address: https://github.com/capitalone/Hygieia
Hygieia architecture diagram
As shown in the architecture diagram, Hygieia is mainly composed of three parts: [api module], [connector module (plug-in module)], and [large disk module (ui module)]. UI and api are separate architectures at the front and back ends, which can be packaged and run uncooked separately.
Hygieia development uses technology stack
Hygieia is mainly developed by java, using the spring boot framework, and the front end is developed using angular.js. Read the practice article, you need to understand the following related technology stack:
Front-end correlation: node, npm, bower, gulp
Backend correlation: java, spring boot, maven
Database: mongoDB
All the data are stored in mongoDB.
Hygieia project running deployment
The premise is that there are already environments of java, maven, node and mongoDB, and the construction of these environments is outside the scope of this article.
Start the api module
After downloading the project, mvn install root the module first, and some query objects are compiled and generated using the maven plug-in, so you must compile first
Configure your mongDB connection information in Hygieia\ api\ src\ main\ resources\ application.properties. Basically don't change it. Don't change server.port. Default is 8080.
Run the mian method in Hygieia\ api\ src\ main\ java\ com\ capitalone\ dashboard\ Application.java to start the service
Start the UI module
Go to the Hygieia\ UI directory
Execute npm install, bower install, this process will be relatively long
After all dependencies have been downloaded, execute gulp serve to start the UI module, default port: 3000
The UI module does not configure the access api interface address, and the default range is local port 8080, so the api module just now does not recommend changing the port. Of course, it can also be configured in the config of gulpfile.js.
If there is no problem with the above steps, the browser will jump out of the http://localhost:3000/#/, interface as shown below, indicating that it has been successful.
Start the plug-in module
Take the scm plug-in gitlib as an example. Hygieia supports many plug-ins.
1. Add the file application.properties to the directory Hygieia\ collectors\ scm\ gitlab\ src\ main\ resources. The configuration content is as follows
Gitlab.host=git.yudianbank.com
Gitlab.port=80
Gitlab.cron=0/10 *? # how often do you synchronize gitlib data
Gitlab.protocol=http
Gitlab.apiVersion=3
Gitlab.firstRunHistoryDays=200
Pay attention to the differences in gitlab.apiVersion versions. The interfaces of gitlib api will be different.
two。 Running
The mian method in Hygieia\ collectors\ scm\ gitlab\ src\ main\ java\ com\ capitalone\ dashboard\ Application.java starts the service
Test the gitlib plug-in
Follow the illustration below, and finally you can see the life cycle of the software submission.
The above is about the content of this article on "how to use DevOps open source tools to develop and deploy the Hygieia platform". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more related knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.