-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IGNITE-28754 Replace SecurityAwareCustomMessageWrapper with OperationContextMessage #13284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Vladsz83
wants to merge
55
commits into
apache:master
Choose a base branch
from
Vladsz83:Replace-SecurityAwareCustomMessageWrapper-with-OpCtxMsg_v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
1740273
impl
Vladsz83 77910fa
Merge branch 'master' into IGNITE-28770-Introduce-a-operation-context…
Vladsz83 baa1473
in-progress
Vladsz83 9f8e09d
raw
Vladsz83 72b5c17
Merge branch 'master' into IGNITE-28770-Introduce-a-operation-context…
Vladsz83 9f4ccec
impl
Vladsz83 c73b97c
Merge branch 'master' into IGNITE-28770-Introduce-a-operation-context…
Vladsz83 1987030
review fixes
Vladsz83 d293eb0
fix
Vladsz83 1395caf
review fixes
Vladsz83 79dab0b
reimpol
Vladsz83 695f18d
review fixes
Vladsz83 f0d579f
review fixes
Vladsz83 13d5f11
renaming
Vladsz83 61ef963
Merge branch 'master' into IGNITE-28770-Introduce-a-operation-context…
Vladsz83 1bc5fa8
review fixes
Vladsz83 cb024d1
fix
Vladsz83 4f5d180
fix
Vladsz83 a25c2f2
review fixes
Vladsz83 4af4ccd
typo
Vladsz83 f863cc4
typo
Vladsz83 0e2fcd7
trivial
Vladsz83 3d7a8bd
raw
Vladsz83 c545034
txt
Vladsz83 8875351
fix
Vladsz83 41d5e1f
fix
Vladsz83 ec3b241
fix
Vladsz83 69b5916
fix
Vladsz83 2f1cf8d
fix
Vladsz83 33bb3a8
fix
Vladsz83 47aac3e
fix
Vladsz83 7d2778b
revert
Vladsz83 1858db5
review comment fix
Vladsz83 a0ed08a
minor style fix
Vladsz83 b034a48
Merge branch 'IGNITE-28770-Introduce-a-operation-context-attributes-r…
Vladsz83 b147380
raw
Vladsz83 68615dc
raw
Vladsz83 3876075
Merge branch 'refs/heads/master' into IGNITE-28808-Disallow-creation-…
Vladsz83 6b03860
raw
Vladsz83 65348ca
raw
Vladsz83 91a65a1
fixes
Vladsz83 2884487
fix
Vladsz83 915cfd5
review fixes
Vladsz83 48d9dcf
renaming
Vladsz83 927ea03
Merge branch 'master' into IGNITE-28808-Disallow-creation-of-operatio…
Vladsz83 4fb30a5
fixes
Vladsz83 048ed2f
test refactoring
Vladsz83 5cee094
javadoc
Vladsz83 9190461
minor coding
Vladsz83 d570302
raw
Vladsz83 4952235
Merge branch 'master' into Replace-SecurityAwareCustomMessageWrapper-…
Vladsz83 0955e65
raw
Vladsz83 e1d7832
test fixes
Vladsz83 3eb7f8c
reimpl
Vladsz83 352c048
fix
Vladsz83 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -35,7 +35,6 @@ | |
| import org.apache.ignite.internal.managers.deployment.GridDeploymentInfoBean; | ||
| import org.apache.ignite.internal.managers.deployment.GridDeploymentRequest; | ||
| import org.apache.ignite.internal.managers.deployment.GridDeploymentResponse; | ||
| import org.apache.ignite.internal.managers.discovery.SecurityAwareCustomMessageWrapper; | ||
| import org.apache.ignite.internal.managers.encryption.ChangeCacheEncryptionRequest; | ||
| import org.apache.ignite.internal.managers.encryption.EncryptionDataBagItem; | ||
| import org.apache.ignite.internal.managers.encryption.GenerateEncryptionKeyRequest; | ||
|
|
@@ -239,6 +238,7 @@ | |
| import org.apache.ignite.internal.processors.rollingupgrade.RollingUpgradeNodeData; | ||
| import org.apache.ignite.internal.processors.rollingupgrade.feature.IgniteFeatureSet; | ||
| import org.apache.ignite.internal.processors.rollingupgrade.feature.IgniteProductFeatures; | ||
| import org.apache.ignite.internal.processors.security.SecurityContextImpl; | ||
| import org.apache.ignite.internal.processors.service.ServiceChangeBatchRequest; | ||
| import org.apache.ignite.internal.processors.service.ServiceClusterDeploymentResult; | ||
| import org.apache.ignite.internal.processors.service.ServiceClusterDeploymentResultBatch; | ||
|
|
@@ -437,7 +437,7 @@ public CoreMessagesProvider(Marshaller dfltMarsh, Marshaller schemaAwareMarsh, C | |
| withNoSchema(FullMessage.class); | ||
| withNoSchema(InitMessage.class); | ||
| withNoSchema(CacheStatisticsModeChangeMessage.class); | ||
| withNoSchema(SecurityAwareCustomMessageWrapper.class); | ||
| ++msgIdx; // Former SecurityAwareCustomMessageWrapper | ||
| withNoSchema(MetadataRemoveAcceptedMessage.class); | ||
| withNoSchema(MetadataRemoveProposedMessage.class); | ||
| withNoSchema(WalStateFinishMessage.class); | ||
|
|
@@ -606,7 +606,9 @@ public CoreMessagesProvider(Marshaller dfltMarsh, Marshaller schemaAwareMarsh, C | |
| // [11500 - 11600]: IO, networking messages. | ||
| msgIdx = NODE_ID_MSG_TYPE; | ||
| withNoSchema(NodeIdMessage.class); | ||
| msgIdx = HANDSHAKE_MSG_TYPE; | ||
| withNoSchema(HandshakeMessage.class); | ||
| msgIdx = HANDSHAKE_WAIT_MSG_TYPE; | ||
| withNoSchema(HandshakeWaitMessage.class); | ||
| withNoSchema(GridIoMessage.class); | ||
| withNoSchema(IgniteIoTestMessage.class); | ||
|
|
@@ -688,9 +690,10 @@ public CoreMessagesProvider(Marshaller dfltMarsh, Marshaller schemaAwareMarsh, C | |
| // [13400 - 13500]: Operation context messages. | ||
| msgIdx = 13400; | ||
| withNoSchema(OperationContextMessage.class); | ||
| withNoSchema(SecurityContextImpl.class); | ||
|
|
||
| // [13500 - 13600]: Rolling Upgrade messages. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We kept a 100-numbers-space earlier. |
||
| msgIdx = 13500; | ||
| // [13600 - 13700]: Rolling Upgrade messages. | ||
| msgIdx = 13600; | ||
| withNoSchema(IgniteFeatureSet.class); | ||
| withNoSchema(IgniteProductFeatures.class); | ||
| withNoSchema(RollingUpgradeNodeData.class); | ||
|
|
||
This file contains hidden or 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
75 changes: 0 additions & 75 deletions
75
...java/org/apache/ignite/internal/managers/discovery/SecurityAwareCustomMessageWrapper.java
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor reliability fix. Wanted to bring long ago.