-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/WTCH-285' into 'dev'
[WTCH-285] Move components from outdated `we` package to actual `sdk` package Closes WTCH-285 See merge request development/we/java-sdk/we-tx-observer!48
- Loading branch information
Showing
327 changed files
with
1,423 additions
and
1,541 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
2 changes: 1 addition & 1 deletion
2
...ommon/conditional/ConditionalOnJpaMode.kt → ...ommon/conditional/ConditionalOnJpaMode.kt
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
2 changes: 1 addition & 1 deletion
2
...ommon/conditional/ConditionalOnTracker.kt → ...ommon/conditional/ConditionalOnTracker.kt
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
2 changes: 1 addition & 1 deletion
2
...observer/common/jpa/util/EntityManager.kt → ...observer/common/jpa/util/EntityManager.kt
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
2 changes: 1 addition & 1 deletion
2
...e/tx/observer/common/jpa/util/JpaUtils.kt → ...k/tx/observer/common/jpa/util/JpaUtils.kt
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
2 changes: 1 addition & 1 deletion
2
...observer/common/tx/executor/TxExecutor.kt → ...observer/common/tx/executor/TxExecutor.kt
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
2 changes: 1 addition & 1 deletion
2
...rver/common/tx/executor/TxExecutorImpl.kt → ...rver/common/tx/executor/TxExecutorImpl.kt
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
2 changes: 1 addition & 1 deletion
2
...x/observer/common/tx/handler/TxHandler.kt → ...x/observer/common/tx/handler/TxHandler.kt
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
2 changes: 1 addition & 1 deletion
2
...rver/common/tx/subscriber/TxSubscriber.kt → ...rver/common/tx/subscriber/TxSubscriber.kt
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
4 changes: 2 additions & 2 deletions
4
.../common/tx/subscriber/TxSubscriberImpl.kt → .../common/tx/subscriber/TxSubscriberImpl.kt
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
2 changes: 1 addition & 1 deletion
2
...e/we/tx/observer/api/block/WeBlockInfo.kt → .../sdk/tx/observer/api/block/WeBlockInfo.kt
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
2 changes: 1 addition & 1 deletion
2
...e/tx/observer/api/block/WeRollbackInfo.kt → ...k/tx/observer/api/block/WeRollbackInfo.kt
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
4 changes: 2 additions & 2 deletions
4
...r/api/block/subscriber/BlockSubscriber.kt → ...r/api/block/subscriber/BlockSubscriber.kt
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
7 changes: 7 additions & 0 deletions
7
...ain/kotlin/com/wavesenterprise/sdk/tx/observer/api/block/subscriber/RollbackSubscriber.kt
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,7 @@ | ||
package com.wavesenterprise.sdk.tx.observer.api.block.subscriber | ||
|
||
import com.wavesenterprise.sdk.tx.observer.api.block.WeRollbackInfo | ||
|
||
interface RollbackSubscriber { | ||
fun onRollback(weRollbackInfo: WeRollbackInfo) | ||
} |
2 changes: 1 addition & 1 deletion
2
...terprise/we/tx/observer/api/exceptions.kt → ...erprise/sdk/tx/observer/api/exceptions.kt
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
4 changes: 2 additions & 2 deletions
4
...rprise/we/tx/observer/api/key/KeyEvent.kt → ...prise/sdk/tx/observer/api/key/KeyEvent.kt
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
4 changes: 2 additions & 2 deletions
4
...prise/we/tx/observer/api/key/KeyFilter.kt → ...rise/sdk/tx/observer/api/key/KeyFilter.kt
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
2 changes: 1 addition & 1 deletion
2
...api/partition/TxQueuePartitionResolver.kt → ...api/partition/TxQueuePartitionResolver.kt
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
4 changes: 2 additions & 2 deletions
4
.../tx/observer/api/privacy/MessageFilter.kt → .../tx/observer/api/privacy/MessageFilter.kt
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
2 changes: 1 addition & 1 deletion
2
...e/tx/observer/api/privacy/PolicyFilter.kt → ...k/tx/observer/api/privacy/PolicyFilter.kt
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
2 changes: 1 addition & 1 deletion
2
...ver/api/privacy/PrivateContentResolver.kt → ...ver/api/privacy/PrivateContentResolver.kt
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
4 changes: 2 additions & 2 deletions
4
.../observer/api/privacy/PrivateDataEvent.kt → .../observer/api/privacy/PrivateDataEvent.kt
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
2 changes: 1 addition & 1 deletion
2
.../tx/observer/api/tx/TxEnqueuePredicate.kt → .../tx/observer/api/tx/TxEnqueuePredicate.kt
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
7 changes: 0 additions & 7 deletions
7
...main/kotlin/com/wavesenterprise/we/tx/observer/api/block/subscriber/RollbackSubscriber.kt
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...spring/component/AndTxEnqueuePredicate.kt → ...spring/component/AndTxEnqueuePredicate.kt
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
4 changes: 2 additions & 2 deletions
4
...ng/component/CachingTxEnqueuePredicate.kt → ...ng/component/CachingTxEnqueuePredicate.kt
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
4 changes: 2 additions & 2 deletions
4
...re/spring/component/HttpApiWeBlockInfo.kt → ...re/spring/component/HttpApiWeBlockInfo.kt
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
6 changes: 3 additions & 3 deletions
6
...pring/component/LoggingBlockSubscriber.kt → ...pring/component/LoggingBlockSubscriber.kt
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
4 changes: 2 additions & 2 deletions
4
...component/MethodArgumentClassExtractor.kt → ...component/MethodArgumentClassExtractor.kt
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
2 changes: 1 addition & 1 deletion
2
...r/core/spring/component/OffsetProvider.kt → ...r/core/spring/component/OffsetProvider.kt
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
2 changes: 1 addition & 1 deletion
2
.../spring/component/RandomOffsetProvider.kt → .../spring/component/RandomOffsetProvider.kt
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
4 changes: 2 additions & 2 deletions
4
...ring/component/TxTypeEnqueuedPredicate.kt → ...ring/component/TxTypeEnqueuedPredicate.kt
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
12 changes: 6 additions & 6 deletions
12
...executor/AppContextPollingTxSubscriber.kt → ...executor/AppContextPollingTxSubscriber.kt
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
13 changes: 13 additions & 0 deletions
13
...tlin/com/wavesenterprise/sdk/tx/observer/core/spring/executor/MetricRollbackSubscriber.kt
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,13 @@ | ||
package com.wavesenterprise.sdk.tx.observer.core.spring.executor | ||
|
||
import com.wavesenterprise.sdk.tx.observer.api.block.WeRollbackInfo | ||
import com.wavesenterprise.sdk.tx.observer.api.block.subscriber.RollbackSubscriber | ||
import com.wavesenterprise.sdk.tx.observer.core.spring.metrics.AddableLongMetricsContainer | ||
|
||
class MetricRollbackSubscriber( | ||
private val rollbackCountMetricsContainer: AddableLongMetricsContainer, | ||
) : RollbackSubscriber { | ||
override fun onRollback(weRollbackInfo: WeRollbackInfo) { | ||
rollbackCountMetricsContainer.add(1) | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...rver/core/spring/executor/MetricsUtils.kt → ...rver/core/spring/executor/MetricsUtils.kt
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
10 changes: 5 additions & 5 deletions
10
.../executor/PersistingRollbackSubscriber.kt → .../executor/PersistingRollbackSubscriber.kt
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
Oops, something went wrong.