-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2897 from lorthirk/fix-sonarCloud_2020_03_06
Fix sonar cloud 2020 03 06
- Loading branch information
Showing
362 changed files
with
3,976 additions
and
3,583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
broker/core/src/main/java/org/eclipse/kapua/broker/core/converter/ConverterMetrics.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2020 Eurotech and/or its affiliates and others | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Eurotech - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.kapua.broker.core.converter; | ||
|
||
public class ConverterMetrics { | ||
|
||
private ConverterMetrics() { } | ||
|
||
public static final String METRIC_MODULE_NAME = "converter"; | ||
|
||
public static final String METRIC_COMPONENT_NAME = "kapua"; | ||
|
||
public static final String METRIC_JMS = "jms"; | ||
public static final String METRIC_MESSAGE = "message"; | ||
public static final String METRIC_MESSAGES = "messages"; | ||
public static final String METRIC_ERROR = "error"; | ||
public static final String METRIC_COUNT = "count"; | ||
public static final String METRIC_KAPUA_MESSAGE = "kapua_message"; | ||
public static final String METRIC_DATA = "data"; | ||
|
||
public static final String METRIC_APP = "app"; | ||
public static final String METRIC_BIRTH = "birth"; | ||
public static final String METRIC_DC = "dc"; | ||
public static final String METRIC_MISSING = "missing"; | ||
public static final String METRIC_NOTIFY = "notify"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
broker/core/src/main/java/org/eclipse/kapua/broker/core/listener/DataStoreMetrics.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2020 Eurotech and/or its affiliates and others | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Eurotech - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.kapua.broker.core.listener; | ||
|
||
public class DataStoreMetrics { | ||
|
||
private DataStoreMetrics() { } | ||
|
||
public static final String METRIC_MODULE_NAME = "datastore"; | ||
|
||
public static final String METRIC_COMPONENT_NAME = "datastore"; | ||
|
||
public static final String METRIC_STORE = "store"; | ||
public static final String METRIC_QUEUE = "queue"; | ||
public static final String METRIC_COMMUNICATION = "communication"; | ||
public static final String METRIC_CONFIGURATION = "configuration"; | ||
public static final String METRIC_GENERIC = "generic"; | ||
|
||
public static final String METRIC_ERROR = "error"; | ||
public static final String METRIC_COUNT = "count"; | ||
|
||
} |
Oops, something went wrong.