-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Camunda 7.14 - and allow telemetry to be configured.
- Loading branch information
1 parent
5825795
commit c8b2b48
Showing
7 changed files
with
52 additions
and
2 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
1 change: 1 addition & 0 deletions
1
micronaut-camunda-bpm-example/src/main/resources/application.yml
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
micronaut: | ||
application: | ||
name: micronaut-camunda-example | ||
camunda.bpm.telemetry.initializeTelemetry: true |
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
21 changes: 21 additions & 0 deletions
21
...feature/src/main/java/info/novatec/micronaut/camunda/bpm/feature/MnTelemetryRegistry.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,21 @@ | ||
package info.novatec.micronaut.camunda.bpm.feature; | ||
|
||
import org.camunda.bpm.engine.impl.telemetry.TelemetryRegistry; | ||
|
||
import javax.inject.Singleton; | ||
|
||
/** | ||
* Micronaut specific implementation of {@link TelemetryRegistry}. | ||
* | ||
* @author Tobias Schäfer | ||
*/ | ||
@Singleton | ||
public class MnTelemetryRegistry extends TelemetryRegistry { | ||
|
||
private static final String INTEGRATION_NAME = "micronaut-camunda-bpm"; | ||
|
||
@Override | ||
public String getCamundaIntegration() { | ||
return INTEGRATION_NAME; | ||
} | ||
} |