-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add module-info to jca and jca test modules. #21965
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
Closed
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e93e483
add module-info to jca and jca test modules
8ec7e54
Merge remote-tracking branch into add-module-info-jca-test
3fdbc95
Added module-info to jca and jca test modules
6c6853b
Merge remote-tracking branch into add-module-info-jca-test
6771ffb
minor change
f61975e
minor change
8562435
Minor change
9d4361b
Minor change
ad72eae
Minor change
3c7faf8
Merge remote-tracking branch into add-module-info-jca-test
99bf0c8
set surefire forkcount to 0 for jca test module
533e699
Minor change
2872d30
Minor change
ae51c1d
restore the pom.xml file
0cf2f1c
change the pacakge name of the jca test module
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
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
15 changes: 15 additions & 0 deletions
15
sdk/keyvault/azure-security-keyvault-jca/src/main/java/module-info.java
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 |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| /** | ||
| * This module info is only for development purpose. Maven shade plugin will ignore this file. The one actually deployed is src/main/module-info.java | ||
| */ | ||
| module azure.security.keyvault.jca { | ||
| requires java.logging; | ||
| requires org.apache.httpcomponents.httpclient; | ||
| requires org.apache.httpcomponents.httpcore; | ||
| requires com.fasterxml.jackson.databind; | ||
|
|
||
| exports com.azure.security.keyvault.jca; | ||
| exports com.azure.security.keyvault.jca.model; | ||
| } |
7 changes: 7 additions & 0 deletions
7
sdk/keyvault/azure-security-keyvault-jca/src/main/module-info.java
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
16 changes: 16 additions & 0 deletions
16
...t-keyvault-jca/src/main/java/com/azure/security/keyvault/jca/test/TestModularization.java
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 |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
| package com.azure.security.keyvault.jca.test; | ||
|
|
||
| import com.azure.security.keyvault.jca.KeyVaultJcaProvider; | ||
| import com.azure.security.keyvault.jca.model.CertificateBundle; | ||
|
|
||
| public class TestModularization { | ||
| /** | ||
| * Simply test compiling ok. | ||
| */ | ||
| void testCompile() { | ||
| KeyVaultJcaProvider keyVaultJcaProvider = new KeyVaultJcaProvider(); | ||
| CertificateBundle certificateBundle = new CertificateBundle(); | ||
| } | ||
| } |
9 changes: 9 additions & 0 deletions
9
sdk/keyvault/azure-security-test-keyvault-jca/src/main/java/module-info.java
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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| /** | ||
| * This is for testing the modularization of module azure.security.keyvault.jca | ||
| */ | ||
| module azure.security.keyvault.jca.test { | ||
| requires azure.security.keyvault.jca; | ||
| } | ||
3 changes: 2 additions & 1 deletion
3
...security/keyvault/jca/AuthClientTest.java → ...ecurity/keyvault/test/AuthClientTest.java
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
4 changes: 3 additions & 1 deletion
4
...ecurity/keyvault/jca/JreKeyStoreTest.java → ...curity/keyvault/test/JreKeyStoreTest.java
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
4 changes: 3 additions & 1 deletion
4
...eyvault/jca/KeyVaultCertificatesTest.java → ...yvault/test/KeyVaultCertificatesTest.java
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
3 changes: 2 additions & 1 deletion
3
...rity/keyvault/jca/KeyVaultClientTest.java → ...ity/keyvault/test/KeyVaultClientTest.java
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
3 changes: 2 additions & 1 deletion
3
...keyvault/jca/KeyVaultJcaProviderTest.java → ...eyvault/test/KeyVaultJcaProviderTest.java
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
4 changes: 3 additions & 1 deletion
4
.../keyvault/jca/KeyVaultKeyManagerTest.java → ...keyvault/test/KeyVaultKeyManagerTest.java
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
5 changes: 4 additions & 1 deletion
5
...ty/keyvault/jca/KeyVaultKeyStoreTest.java → ...y/keyvault/test/KeyVaultKeyStoreTest.java
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
3 changes: 2 additions & 1 deletion
3
...t/jca/KeyVaultLoadStoreParameterTest.java → .../test/KeyVaultLoadStoreParameterTest.java
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
4 changes: 3 additions & 1 deletion
4
.../keyvault/jca/PropertyConvertorUtils.java → ...keyvault/test/PropertyConvertorUtils.java
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
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.
Did you test this:
if there is something wrong in
sdk/keyvault/azure-security-keyvault-jca/src/main/module-info.java?will pipeline failure?