Граф коммитов

443 Коммитов

Автор SHA1 Сообщение Дата
Muyao Feng fec7e6c4f8
Update README.md 2024-08-28 09:04:22 +08:00
microsoft-github-policy-service[bot] 9ec65e9c5d
Microsoft mandatory file (#961)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2023-06-05 08:54:41 +08:00
Xiaolu Dai d65108e496
Add CODEOWNERS file (#952)
* Create CODEOWNERS

* move codeowners to .github folder
2022-04-29 13:52:04 +08:00
Xiaolu Dai bb88cd85ab
Update README.md (#951)
Co-authored-by: Yi Liu <yiliu6@microsoft.com>
2022-04-29 13:48:16 +08:00
zhihaoguo b2fbe12800
fix broken links (#947) 2021-09-30 11:15:10 +08:00
Ed Burns 3e5ca0c30b
Sort lines. Add link to storage starter. (#929)
Based on @jialindai 's comment on https://dev.azure.com/azure-spring-integration/spring-integration-private/_workitems/edit/254 we should add the spring boot storage starter.  I did not know we had one because I based my understanding on what are the available starters on this bullet list.
2020-08-03 09:54:48 +08:00
Yi Liu 6a99a0c1ab deprecate azure-spring-boot repo 2020-06-30 15:58:22 +08:00
Manfred Riem b382082a7c
Keyvault Spring Boot Actuator support (#896)
* Added case sensitive constant

* Added documentation and implementation

* Added documentation and implementation

* Rerunning CI/CD

* Merge in changes from master

* Parse case sensitive keys flag

* Merging in master

* Applying requested changes

* Initial draft

* Conveying ConfigurableEnvironment to KeyVaultHealthIndicator

* Conveying ConfigurableEnvironment to KeyVaultHealthIndicator

* Making checking health more robust

* Make the azure key vault visible as properties in /actuator/env endpoint

* Reworked using @AutoWired

* Added conditional enablement of 'azure-key-vault' health indicator

* Added test for Azure KeyVault Spring Boot Health Indicator

* Remove spring framework version. (#900)

Co-authored-by: Rujun Chen <rujche@microsoft.com>

* Added test for /actuator/health/keyVault testing

* Fix build

* Add /actuator/env test

* Addressing PR feedback

* Remove nbactions.xml

* Rework refreshing logic

* Iterate over secrets by page

* Iterate over secrets by page

* Iterate over secrets by page

* Iterate over secrets by page

* Make sure unit tests pass

* Reorder refreshProperties

* Apply requested changes. Made duplicateKey test use case sensitive keys

* Restoring files

* Force build

Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
Co-authored-by: Rujun Chen <rujche@microsoft.com>
2020-06-18 10:54:55 +08:00
Xiaolu Dai 37f928c637
change vm provision region (#924)
* change vm provision region

* change region

Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
2020-06-18 09:06:23 +08:00
Manfred Riem 18fb06dd7a
Keyvault performance (#905)
* Remove nbactions.xml

* Rework refreshing logic

* Iterate over secrets by page

* Iterate over secrets by page

* Iterate over secrets by page

* Iterate over secrets by page

* Make sure unit tests pass

* Reorder refreshProperties

* Apply requested changes. Made duplicateKey test use case sensitive keys

Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
2020-06-16 09:49:59 +08:00
Manish Saluja 63495849d5
Bug fix #918 for azure-active-directory-spring-boot-stateless-sample (#919)
* fix the bug 917, 918

* remove the DS_store files

* updated readme

* removed property for OAuth 2.0
2020-06-11 19:20:02 +08:00
Rujun Chen aef4d0d4a2
Release/2.3.2 (#915)
* Prepare to release 2.3.2.

* Update version to 2.3.3-SNAPSHOT.

Co-authored-by: Rujun Chen <rujche@microsoft.com>
2020-06-09 16:09:38 +08:00
Rujun Chen fabff690a4
Add json-smart dependenby to fix the problem. (#909) (#912)
Co-authored-by: Rujun Chen <rujche@microsoft.com>
2020-06-09 11:34:00 +08:00
Yi Liu 57878adc4c
upgrade jms underlying library with azure-servicebus-jms-0.0.1 (#904) 2020-05-29 12:33:48 +08:00
Manfred Riem 268eff316b
Keyvault case sensitive names (#885)
* Added case sensitive constant

* Added documentation and implementation

* Added documentation and implementation

* Rerunning CI/CD

* Merge in changes from master

* Parse case sensitive keys flag

* Merging in master

* Applying requested changes

Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
2020-05-28 10:22:00 +08:00
Rujun Chen 5de54b6f54
Prepare to release 2.3.1. (#902)
* Prepare to release 2.3.1.

* Update version to 2.3.2-SNAPSHOT.

Co-authored-by: Rujun Chen <rujche@microsoft.com>
Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
2020-05-27 23:02:03 +08:00
Guoqing Geng 93914c900d
msi for asc (#870)
* msi for asc

* add a period

* move asc before app service

* remove space

* system-assigned

Co-authored-by: Guoqing Geng <hellokangning@hotmail.com>
Co-authored-by: Guoqing Geng <gugeng@microsoft.com>
Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
2020-05-27 10:55:07 +08:00
Rujun Chen 9cd1ddfdeb
Remove spring framework version. (#900)
Co-authored-by: Rujun Chen <rujche@microsoft.com>
2020-05-26 17:16:14 +08:00
Rujun Chen f693136263
Release/2.3.0 (#895)
* Upgrade version to 2.3.0.

* Update spring framework version.

* Remove code which make build failed in Jenkins job.

* Update version to 2.3.0 for azure.dependencies.bom.version, spring.data.cosmosdb.version, spring.data.gremlin.version.

* Update version to 2.3.1-SNAPSHOT

* Update version to 2.3.1-SNAPSHOT for samples, tests, and imports.

* Fix error: azure-spring-boot-bom's version should be 2.3.1-SNAPSHOT

* Fix build error caused by spring-boot version up.

* Fix vertion error: it should be SNAPSHOT version.

* Update version in README.md.

* Update version in README.md.

* Update gradle version.

Co-authored-by: Rujun Chen <rujche@microsoft.com>
2020-05-25 17:28:01 +08:00
Vladislav Chernogorov 5726a22a6f
Add missing closing div tag to azure-active-directoy-spring-boot-sample index.html (#881)
* Add missing closing div tag to azure-active-directoy-spring-boot-sample index.html

* Update index.html

Move </div> tag before <scripts> tags in index.html in azure-active-directory-spring-boot-sample.

Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
2020-05-21 14:59:15 +08:00
Xiaolu Dai 831d7abd1b
retire starters for mediaservices, storageblob, and servicebus (#893)
* retire starters for mediaservices, storageblob, and servicebus. Move them into samples

* fix gradle build

* remove dependencies on mediaservices, storage-blob, servicebus in azure-spring-boot

Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
2020-05-21 14:56:18 +08:00
Yi Liu 1018138cbb
modify aad approle stateless IT (#890)
* modify aad approle stateless IT

* modify scope of adding graph permission
2020-05-21 14:36:17 +08:00
Rujun Chen a28b489234
637 cache key vault values (#882)
* Cache both key and value for keyVault. (#637)

* Remove unnecessary locks. (#637)

* Just keep uniformed property name in propertyNames. (#637)

* Fix test failure in KeyVaultOperationUnitTest. (#637)

* Fix 2 bugs reported by findbugs-maven-plugin. (#637)

* Remove reference of io.jsonwebtoken.lang.Collections. (#637)

* Need refresh KeyVaultItems if propertyNames == null. (#637)

* 1. Remove unnecessary 'synchronized'. 2. Use volatile long instead of AutomicLong. (#637)

* secretKey and propertyName mean different things. (#637)

* Property should be distinct. (#637)

* Make KeyVaultPropertySource extend PropertySource to avoid get all property. (#637)

* Rix error. (#637)

* Fix gradle build error. (#637)

* Add some test property in application.properties. (#637)

* Fix mvn build failure. (#637)

* Add another test case: keyVaultValueContainSpel. (#637)

* Make the sample simple: Just keep the basic function. (#637)

* No logic change, just format code. (#637)

* No logic change, just make code easier to read. (#637)

* No logic change, just make code easier to read. (#637)

* Add test: test SpEL in key vault. (#637)

* No logic change, just make code easier to read. (#637)

* Remove useless dependency. (#637)

Co-authored-by: Rujun Chen <rujche@microsoft.com>
2020-05-19 23:37:36 +08:00
Manfred Riem 194b454fe0
Deliver multiple KeyVault support (#880)
* Deliver multiple KeyVault support

* Add AZURE_CLIENT_SECRET check to POM

* Fixed the postfix parameter to be normalizedName and added additional explanation

* Changes .names to .order

* Rework properties to use inline syntax

* Added multiple key vault support to README

* Adjust integration tests

* Fixes integration tests

* Added clarification on the need to migrate the existing key vault configuration if multiple key vaults are to be used
2020-05-18 15:05:55 +08:00
Xiaolu Dai 1041b83e65
skip AAD internal filter when is already authenticated or token not issued by AAD (#872)
Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
2020-05-14 19:01:20 +08:00
jialindai 7a2cb9647f
Update README.md (#873) 2020-05-01 15:22:34 +08:00
Xiaolu Dai 4a7fa41f94
[WIP]Prepend application id to User-Agent header (#859)
* Prepend application id to User-Agent header

* shorten UA header application id

* apply the naming convention for UA header application id

* add UA header application id name convention

Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
2020-04-09 16:45:38 +08:00
Henrick Kakutalua 48257f3204
Add support for emulator blob storage (#866)
Co-authored-by: Xiaolu Dai <31124698+saragluna@users.noreply.github.com>
2020-04-07 13:24:13 +08:00
Xiaolu Dai 370f9c0288
upgrade dependencies and release 2.2.4 (#863)
* upgrade dependencies and release 2.2.4

* upgrade to 2.2.5-SNAPSHOT

Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
2020-04-06 21:16:02 +08:00
Xiaolu Dai 3e96f6ab8b
fix inaccuracy of B2C doc (#843)
Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
2020-03-19 13:32:45 +08:00
Xiaolu Dai bbaea753e3
fix regression of AAD authority (#844)
* fix regression of AAD authority

* fix codacy

Co-authored-by: Xiaolu Dai <xiada@microsoft.com>
2020-03-15 11:55:44 +08:00
Xiaolu Dai 15b2eb950d
release 2.2.3 (#835)
* release 2.2.3

* try fix MSI with App Service

* try fix MSI with App Service

* ignore msi with app service test case

* try fix MSI with App Service

* try fix MSI with App Service

* upgrade to 2.2.4-SNAPSHOT
2020-02-27 08:33:40 +08:00
jialindai f09746f9ec
Update README.md (#832) 2020-02-24 13:37:45 +08:00
Zhou Liu 13e84b16b6 refine the code style to meet the agreement with code style check 2020-02-07 10:45:41 +08:00
bcannariato 6b4f54523f
Adding JWKSetCache Customization (#827)
* Test commit

* Adding support for customized JWKSetCache

* Changing imports

Co-authored-by: Zhou Liu <sumeng.liuz@gmail.com>
2020-02-07 10:31:46 +08:00
Xiaolu Dai 50e422023f
Feature/2.2.x msal (#826)
* change from adal to msal

* fix assert msg

* add debug log

* remove debug info

* comment out resource cleanup

* try to fix IT of  MSI with App Service

* uncomment resource cleanup
2020-02-06 09:15:13 +08:00
Arvind Nadendla 5af2c2b96d
Fix properties for specific tenant-id endpoints (#677)
The given properties for customizing endpoints for tenant-id do not work with spring boot 2.1.1 or later

Co-authored-by: Zhou Liu <sumeng.liuz@gmail.com>
2020-02-03 17:28:46 +08:00
Anton R. Yuste e5fd9cc6ca
Update Azure Storage to document enableHTTPs (#821) 2020-02-03 15:53:49 +08:00
Zhou Liu 62ec52280f
Feature/implement aad conditional access policy (#815)
* support AAD conditional access policy

* add some docs

* rename AADConstants
2020-01-20 17:16:25 +08:00
Zhou Liu 2f7db312c4 correct cosmosdb and gremlin version 2020-01-16 14:15:54 +08:00
Zhou Liu ffc9391be7 update version to 2.2.3-SNAPSHOT 2020-01-16 10:41:23 +08:00
Zhou Liu 5386a2fd8d
Release/2.2.2 (#811)
* release 2.2.2

* update cosmosdb version and gremlin version
2020-01-16 10:35:05 +08:00
Zhou Liu 5333a61de7
refine pom (#808) 2020-01-13 16:14:12 +08:00
Shichao Qiu 567e9323b5 refine the property binding logic using spring binder (#807) 2020-01-13 12:54:48 +08:00
Zhou Liu 4543480ed2 Feature/update keyvault sdk (#806)
* updatet keyvault sdk
2020-01-13 09:50:46 +08:00
Zhou Liu 646a458325
update doc of using Microsoft identity platform. (#797) 2019-12-19 20:42:06 -06:00
Zhou Liu 0171402903 update to 2.2.0-SNAPSHOT (#795) 2019-12-12 11:31:53 +08:00
Xiaolu Dai 0dc348fc1a
Aad integration test (#791)
* add integration tests for aad

* ignore test

* fix checkstyle

* add aad-auth variables group

* add env

* add env check for aad

* fix codacy
2019-12-10 13:27:24 +08:00
Xiaolu Dai 4f6f33967b Update azure-pipelines-snapshot.yml for Azure Pipelines
use variable group
2019-12-02 17:08:17 +08:00
Xiaolu Dai 2fc5d0600c Update azure-pipelines-snapshot.yml for Azure Pipelines 2019-12-02 16:33:15 +08:00