commit | de13d783a07dbe7f64d377256be465486c65309b | [log] [tgz] |
---|---|---|
author | Julien Fontaine <julien.fontaine@bell.ca> | Fri Feb 05 14:18:06 2021 -0500 |
committer | Julien Fontaine <julien.fontaine@bell.ca> | Thu Feb 11 16:14:30 2021 -0500 |
tree | 7dd100839e4c06696c6ce8f6799956964d434939 | |
parent | 136e3e19a1821a694d799e7c8d670407720c9e66 [diff] |
Added Kafka metrics for CDS workers Added counters to gather metrics on CDS Kafka workers. This will enable us to get metrics on how many messages we consumer and produce to/from kafka. For consumers we count how many messages we consume and how many failed ie. consumed but not able to be processed (parsing error). For producers we count how many messages we produce and how many failed ie. failed to be pushed to the cluster (unavailable brokers, network error, ...). Relocated metrics tag constants to BlueprintConstants so that they can be use by any CDS module. If they make sense for other metrics then they should be shared. Issue-ID: CCSDK-3155 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: Iad6aba588766f655f3a74cd626e0f74e29188f96
mvn process-sources -P format
Reference: ktlint docs | ktlint codebase
Before you can build this project, you must install and configure the following dependencies on your machine:
Running mvn clean install
command to install all libraries and dependencies for the maven and npm. Running mvn clean install -Pdocker
command to install all libraries and create below docker images.
Note: run mvn clean install -Pdocker -Ddocker.skip.push=true
to build but skip pushing docker image.
Back-end MS
Create
sdnctl
table in MySQL
(Optional) You could run the project in a specific profile(dev, local) by adding-Dspring.profiles.active=profile-name
Loop-back server:
That allow your request to reach the backend from cds-ui
Move to./cds-ui/server/
folder and run the commandnpm start
cds-ui
Move to
./cds-ui/designer-client/
folder and run the commandnpm start
This command will make sure all the files follow the linting rules and then connect to the loopback server.
Front-end: you could use vscode
or webstorm
Back-end: IntelliJ
with kotlin plugin or any other editor
For more information check: CDS Docs