From 291dd3bc666939fffbc3780eaefd9059c756878a Mon Sep 17 00:00:00 2001 From: Peter Somogyvari Date: Tue, 20 Jul 2021 11:44:54 -0700 Subject: [PATCH] fix(connector-corda): fix build broken by operationId rename Also: Update the readmes of other packages where the old name of the operation/endpoint was still being used as well. Signed-off-by: Peter Somogyvari --- packages/cactus-cmd-api-server/README.md | 2 +- packages/cactus-plugin-consortium-manual/README.md | 2 +- packages/cactus-plugin-keychain-memory/README.md | 2 +- packages/cactus-plugin-keychain-vault/README.md | 2 +- packages/cactus-plugin-ledger-connector-besu/README.md | 2 +- .../server/impl/ApiPluginLedgerConnectorCordaServiceImpl.kt | 2 +- packages/cactus-plugin-ledger-connector-quorum/README.md | 2 +- packages/cactus-plugin-ledger-connector-xdai/README.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/cactus-cmd-api-server/README.md b/packages/cactus-cmd-api-server/README.md index 90d78e8d0e..62b7a3a258 100644 --- a/packages/cactus-cmd-api-server/README.md +++ b/packages/cactus-cmd-api-server/README.md @@ -363,7 +363,7 @@ This class creates a prometheus exporter, which scrapes the total Cactus node co The prometheus exporter object is initialized in the `ApiServer` class constructor itself, so instantiating the object of the `ApiServer` class, gives access to the exporter object. You can also initialize the prometheus exporter object seperately and then pass it to the `IApiServerConstructorOptions` interface for `ApiServer` constructor. -`getPrometheusExporterMetricsV1` function returns the prometheus exporter metrics, currently displaying the total plugins imported, which currently refreshes to match the plugin count, everytime `setTotalPluginImports` method is called. +`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total plugins imported, which currently refreshes to match the plugin count, everytime `setTotalPluginImports` method is called. ### Prometheus Integration To use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/). diff --git a/packages/cactus-plugin-consortium-manual/README.md b/packages/cactus-plugin-consortium-manual/README.md index 0041c96252..6e00b204fd 100644 --- a/packages/cactus-plugin-consortium-manual/README.md +++ b/packages/cactus-plugin-consortium-manual/README.md @@ -7,7 +7,7 @@ This class creates a prometheus exporter, which scrapes the total Cactus node co The prometheus exporter object is initialized in the `PluginConsortiumManual` class constructor itself, so instantiating the object of the `PluginConsortiumManual` class, gives access to the exporter object. You can also initialize the prometheus exporter object seperately and then pass it to the `IPluginConsortiumManualOptions` interface for `PluginConsortiumManual` constructor. -`getPrometheusExporterMetricsV1` function returns the prometheus exporter metrics, currently displaying the total cactus node count, which currently refreshes to match the node count in the consortium, everytime `updateMetricNodeCount` method of the `PluginConsortiumManual` class is called. +`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total cactus node count, which currently refreshes to match the node count in the consortium, everytime `updateMetricNodeCount` method of the `PluginConsortiumManual` class is called. ### Prometheus Integration To use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/). diff --git a/packages/cactus-plugin-keychain-memory/README.md b/packages/cactus-plugin-keychain-memory/README.md index a751f43a4b..5bd00a44f0 100644 --- a/packages/cactus-plugin-keychain-memory/README.md +++ b/packages/cactus-plugin-keychain-memory/README.md @@ -9,7 +9,7 @@ This class creates a prometheus exporter, which scrapes the transactions (total The prometheus exporter object is initialized in the `PluginKeychainMemory` class constructor itself, so instantiating the object of the `PluginKeychainMemory` class, gives access to the exporter object. You can also initialize the prometheus exporter object seperately and then pass it to the `IPluginKeychainMemoryOptions` interface for `PluginKeychainMemory` constructor. -`getPrometheusExporterMetricsV1` function returns the prometheus exporter metrics, currently displaying the total key count, which currently updates everytime a new key is added/removed from the list of total keys. +`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total key count, which currently updates everytime a new key is added/removed from the list of total keys. ### Prometheus Integration To use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/). diff --git a/packages/cactus-plugin-keychain-vault/README.md b/packages/cactus-plugin-keychain-vault/README.md index da0802eb83..4f1879410c 100644 --- a/packages/cactus-plugin-keychain-vault/README.md +++ b/packages/cactus-plugin-keychain-vault/README.md @@ -9,7 +9,7 @@ This class creates a prometheus exporter, which scrapes the transactions (total The prometheus exporter object is initialized in the `PluginKeychainVault` class constructor itself, so instantiating the object of the `PluginKeychainVault` class, gives access to the exporter object. You can also initialize the prometheus exporter object seperately and then pass it to the `IPluginKeychainVaultOptions` interface for `PluginKeychainVault` constructor. -`getPrometheusExporterMetricsV1` function returns the prometheus exporter metrics, currently displaying the total key count, which currently increments everytime the `set()` and `delete()` method of the `PluginKeychainVault` class is called. +`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total key count, which currently increments everytime the `set()` and `delete()` method of the `PluginKeychainVault` class is called. ### Prometheus Integration To use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/). diff --git a/packages/cactus-plugin-ledger-connector-besu/README.md b/packages/cactus-plugin-ledger-connector-besu/README.md index 1ff3081d12..c1b4bfcdc5 100644 --- a/packages/cactus-plugin-ledger-connector-besu/README.md +++ b/packages/cactus-plugin-ledger-connector-besu/README.md @@ -226,7 +226,7 @@ This class creates a prometheus exporter, which scrapes the transactions (total The prometheus exporter object is initialized in the `PluginLedgerConnectorBesu` class constructor itself, so instantiating the object of the `PluginLedgerConnectorBesu` class, gives access to the exporter object. You can also initialize the prometheus exporter object seperately and then pass it to the `IPluginLedgerConnectorBesuOptions` interface for `PluginLedgerConnectoBesu` constructor. -`getPrometheusExporterMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorBesu` class is called. +`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorBesu` class is called. ### Prometheus Integration To use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/). diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main-server/kotlin/gen/kotlin-spring/src/main/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/impl/ApiPluginLedgerConnectorCordaServiceImpl.kt b/packages/cactus-plugin-ledger-connector-corda/src/main-server/kotlin/gen/kotlin-spring/src/main/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/impl/ApiPluginLedgerConnectorCordaServiceImpl.kt index fb88854514..3981773e8e 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main-server/kotlin/gen/kotlin-spring/src/main/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/impl/ApiPluginLedgerConnectorCordaServiceImpl.kt +++ b/packages/cactus-plugin-ledger-connector-corda/src/main-server/kotlin/gen/kotlin-spring/src/main/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/impl/ApiPluginLedgerConnectorCordaServiceImpl.kt @@ -279,7 +279,7 @@ class ApiPluginLedgerConnectorCordaServiceImpl( return DiagnoseNodeV1Response(nodeDiagnosticInfo = nodeDiagnosticInfoCactus) } - override fun getPrometheusExporterMetricsV1(): String { + override fun getPrometheusMetricsV1(): String { TODO("Not yet implemented") } diff --git a/packages/cactus-plugin-ledger-connector-quorum/README.md b/packages/cactus-plugin-ledger-connector-quorum/README.md index 82658d32e4..bee8ec1b5b 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/README.md +++ b/packages/cactus-plugin-ledger-connector-quorum/README.md @@ -94,7 +94,7 @@ This class creates a prometheus exporter, which scrapes the transactions (total The prometheus exporter object is initialized in the `PluginLedgerConnectorQuorum` class constructor itself, so instantiating the object of the `PluginLedgerConnectorQuorum` class, gives access to the exporter object. You can also initialize the prometheus exporter object seperately and then pass it to the `IPluginLedgerConnectorQuorumOptions` interface for `PluginLedgerConnectoQuorum` constructor. -`getPrometheusExporterMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorQuorum` class is called. +`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorQuorum` class is called. ### Prometheus Integration To use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/). diff --git a/packages/cactus-plugin-ledger-connector-xdai/README.md b/packages/cactus-plugin-ledger-connector-xdai/README.md index 17998d2d4a..655f36b858 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/README.md +++ b/packages/cactus-plugin-ledger-connector-xdai/README.md @@ -107,7 +107,7 @@ This class creates a prometheus exporter, which scrapes the transactions (total The prometheus exporter object is initialized in the `PluginLedgerConnectorXdai` class constructor itself, so instantiating the object of the `PluginLedgerConnectorXdai` class, gives access to the exporter object. You can also initialize the prometheus exporter object seperately and then pass it to the `IPluginLedgerConnectorXdaiOptions` interface for `PluginLedgerConnectoXdai` constructor. -`getPrometheusExporterMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorXdai` class is called. +`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorXdai` class is called. ### Prometheus Integration To use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/).