-
Notifications
You must be signed in to change notification settings - Fork 2.1k
add module-info for azure-resourcemanager #15163
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
Merged
Merged
Changes from 25 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
44577b4
add module-info for azure-resourcemanager-resources
xseeseesee 176829b
add module-info for azure-resourcemanager-storage
xseeseesee 6138e6a
add module-info for azure-resourcemanager-appservice
xseeseesee 2e3665e
add module-info for azure-resourcemanager-authorization
xseeseesee 202440c
add module-info for azure-resourcemanager-compute
xseeseesee f6733b7
add module-info for azure-resourcemanager-msi
xseeseesee d9a54d4
add module-info for azure-resourcemanager-appplatform
xseeseesee 78e952b
add module-info for azure-resourcemanager-containerinstance
xseeseesee 66885b1
add module-info for azure-resourcemanager-cosmos
xseeseesee 3097eca
add module-info for azure-resourcemanager-monitor
xseeseesee ad32839
add module-info for azure-resourcemanager-privatedns
xseeseesee 4c4d764
add module-info for azure-resourcemanager-redis
xseeseesee bd7c192
add module-info for azure-resourcemanager-containerregistry
xseeseesee dc62ba5
add module-info for azure-resourcemanager-containerservice
xseeseesee 9869b98
add module-info for azure-resourcemanager-dns
xseeseesee f913540
add module-info for azure-resourcemanager-eventhubs
xseeseesee d3e89d2
add module-info for azure-resourcemanager-keyvault
xseeseesee c67a2d7
add module-info for azure-resourcemanager-network
xseeseesee 386a2c1
add module-info for azure-resourcemanager-servicebus
xseeseesee 28c672d
add module-info for azure-resourcemanager-sql
xseeseesee 3e5c652
add module-info for azure-resourcemanager-trafficmanager
xseeseesee 8e046cb
add module-info for azure-resourcemanager
xseeseesee e7a1896
Merge branch 'master' into add-mgmt-module-info
xseeseesee 5ad93c3
update module-info for exception added and transitive required
xseeseesee d5aec28
update keyvault module-info
xseeseesee cd4743b
Merge branch 'master' into add-mgmt-module-info
xseeseesee fc2d001
Merge branch 'master' into add-mgmt-module-info
xseeseesee 0c397b7
add module for cdn
xseeseesee 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
21 changes: 21 additions & 0 deletions
21
sdk/resourcemanager/azure-resourcemanager-appplatform/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,21 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.appplatform { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
| requires com.azure.storage.file.share; | ||
|
|
||
| // export public APIs of appplatform | ||
| exports com.azure.resourcemanager.appplatform; | ||
| exports com.azure.resourcemanager.appplatform.fluent; | ||
| exports com.azure.resourcemanager.appplatform.fluent.inner; | ||
| exports com.azure.resourcemanager.appplatform.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.appplatform.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.appplatform.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
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
24 changes: 24 additions & 0 deletions
24
sdk/resourcemanager/azure-resourcemanager-appservice/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,24 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.appservice { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
| requires transitive com.azure.resourcemanager.dns; | ||
| requires transitive com.azure.resourcemanager.keyvault; | ||
| requires transitive com.azure.resourcemanager.msi; | ||
| requires transitive com.azure.resourcemanager.storage; | ||
|
|
||
| // export public APIs of appservice | ||
| exports com.azure.resourcemanager.appservice; | ||
| exports com.azure.resourcemanager.appservice.fluent; | ||
| exports com.azure.resourcemanager.appservice.fluent.inner; | ||
| exports com.azure.resourcemanager.appservice.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.appservice.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.appservice.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
2 changes: 1 addition & 1 deletion
2
.../implementation/RoleAssignmentHelper.java → ...orization/utils/RoleAssignmentHelper.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
7 changes: 7 additions & 0 deletions
7
...thorization/src/main/java/com/azure/resourcemanager/authorization/utils/package-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,7 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| /** | ||
| * This package contains utility classes for working with Azure authorization. | ||
| */ | ||
| package com.azure.resourcemanager.authorization.utils; |
21 changes: 21 additions & 0 deletions
21
sdk/resourcemanager/azure-resourcemanager-authorization/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,21 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.authorization { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
|
|
||
| // export public APIs of authorization | ||
| exports com.azure.resourcemanager.authorization; | ||
| exports com.azure.resourcemanager.authorization.fluent; | ||
| exports com.azure.resourcemanager.authorization.fluent.inner; | ||
| exports com.azure.resourcemanager.authorization.models; | ||
| exports com.azure.resourcemanager.authorization.utils; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.authorization.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.authorization.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
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
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
23 changes: 23 additions & 0 deletions
23
sdk/resourcemanager/azure-resourcemanager-compute/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,23 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.compute { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
| requires transitive com.azure.resourcemanager.msi; | ||
| requires transitive com.azure.resourcemanager.network; | ||
| requires transitive com.azure.resourcemanager.storage; | ||
|
|
||
| // export public APIs of compute | ||
| exports com.azure.resourcemanager.compute; | ||
| exports com.azure.resourcemanager.compute.fluent; | ||
| exports com.azure.resourcemanager.compute.fluent.inner; | ||
| exports com.azure.resourcemanager.compute.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.compute.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.compute.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } | ||
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
24 changes: 24 additions & 0 deletions
24
sdk/resourcemanager/azure-resourcemanager-containerinstance/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,24 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.containerinstance { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
| requires transitive com.azure.resourcemanager.msi; | ||
| requires com.azure.resourcemanager.storage; | ||
| requires com.azure.resourcemanager.network; | ||
| requires com.azure.storage.file.share; | ||
|
|
||
| // export public APIs of containerinstance | ||
| exports com.azure.resourcemanager.containerinstance; | ||
| exports com.azure.resourcemanager.containerinstance.fluent; | ||
| exports com.azure.resourcemanager.containerinstance.fluent.inner; | ||
| exports com.azure.resourcemanager.containerinstance.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.containerinstance.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.containerinstance.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
21 changes: 21 additions & 0 deletions
21
sdk/resourcemanager/azure-resourcemanager-containerregistry/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,21 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.containerregistry { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
| requires transitive com.azure.resourcemanager.storage; | ||
|
|
||
| // export public APIs of containerregistry | ||
| exports com.azure.resourcemanager.containerregistry; | ||
| exports com.azure.resourcemanager.containerregistry.fluent; | ||
| exports com.azure.resourcemanager.containerregistry.fluent.inner; | ||
| exports com.azure.resourcemanager.containerregistry.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.containerregistry.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.containerregistry.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
20 changes: 20 additions & 0 deletions
20
sdk/resourcemanager/azure-resourcemanager-containerservice/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,20 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.containerservice { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
|
|
||
| // export public APIs of containerservice | ||
| exports com.azure.resourcemanager.containerservice; | ||
| exports com.azure.resourcemanager.containerservice.fluent; | ||
| exports com.azure.resourcemanager.containerservice.fluent.inner; | ||
| exports com.azure.resourcemanager.containerservice.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.containerservice.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.containerservice.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
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
20 changes: 20 additions & 0 deletions
20
sdk/resourcemanager/azure-resourcemanager-cosmos/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,20 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.cosmos { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
|
|
||
| // export public APIs of cosmos | ||
| exports com.azure.resourcemanager.cosmos; | ||
| exports com.azure.resourcemanager.cosmos.fluent; | ||
| exports com.azure.resourcemanager.cosmos.fluent.inner; | ||
| exports com.azure.resourcemanager.cosmos.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.cosmos.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.cosmos.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
20 changes: 20 additions & 0 deletions
20
sdk/resourcemanager/azure-resourcemanager-dns/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,20 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.dns { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
|
|
||
| // export public APIs of dns | ||
| exports com.azure.resourcemanager.dns; | ||
| exports com.azure.resourcemanager.dns.fluent; | ||
| exports com.azure.resourcemanager.dns.fluent.inner; | ||
| exports com.azure.resourcemanager.dns.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.dns.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.dns.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
21 changes: 21 additions & 0 deletions
21
sdk/resourcemanager/azure-resourcemanager-eventhubs/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,21 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.eventhubs { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
| requires com.azure.resourcemanager.storage; | ||
|
|
||
| // export public APIs of eventhubs | ||
| exports com.azure.resourcemanager.eventhubs; | ||
| exports com.azure.resourcemanager.eventhubs.fluent; | ||
| exports com.azure.resourcemanager.eventhubs.fluent.inner; | ||
| exports com.azure.resourcemanager.eventhubs.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.eventhubs.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.eventhubs.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
23 changes: 23 additions & 0 deletions
23
sdk/resourcemanager/azure-resourcemanager-keyvault/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,23 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module com.azure.resourcemanager.keyvault { | ||
| requires transitive com.azure.resourcemanager.resources; | ||
| requires transitive com.azure.security.keyvault.keys; | ||
| requires transitive com.azure.security.keyvault.secrets; | ||
| requires transitive com.azure.resourcemanager.authorization; | ||
|
|
||
| // export public APIs of keyvault | ||
| exports com.azure.resourcemanager.keyvault; | ||
| exports com.azure.resourcemanager.keyvault.fluent; | ||
| exports com.azure.resourcemanager.keyvault.fluent.inner; | ||
| exports com.azure.resourcemanager.keyvault.models; | ||
|
|
||
| // open packages specifically for azure core and jackson | ||
| opens com.azure.resourcemanager.keyvault.fluent.inner to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| opens com.azure.resourcemanager.keyvault.models to | ||
| com.azure.core, | ||
| com.fasterxml.jackson.databind; | ||
| } |
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.
Do you need network and storage also to be transitive?
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.
In fluent interfaces, we provide convenient configs when creating virtual machine, like withExistingPrimaryNetwork(Network network), withExistingStorageAccount(StorageAccount storageAccount). The
Networkcomes from module ofcom.azure.resourcemanager.network, and theStorageAccountis fromcom.azure.resourcemanager.storage.Thus it requires transitive keyword. Otherwise, the end users have to add additional requires statement explicitly when calling
withExistingPrimaryNetwork/withExistingStorageAccount.