Skip to content

Commit b1ecfb0

Browse files
committed
More link fixes.
1 parent 403f5a2 commit b1ecfb0

File tree

5 files changed

+21
-21
lines changed
  • sdk
    • formrecognizer/azure-ai-formrecognizer
    • spring

5 files changed

+21
-21
lines changed

sdk/formrecognizer/azure-ai-formrecognizer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ See [StronglyTypedRecognizedForm][strongly_typed_sample] for a suggested approac
274274

275275
<!-- embedme ./src/samples/java/com/azure/ai/formrecognizer/ReadmeSamples.java#L154-L210-->
276276
```java
277-
String receiptUrl = "https://raw.githubusercontent.com/Azure/azure-sdk-for-java/master/sdk/formrecognizer"
277+
String receiptUrl = "https://raw.githubusercontent.com/Azure/azure-sdk-for-java/main/sdk/formrecognizer"
278278
+ "/azure-ai-formrecognizer/src/samples/resources/sample-forms/receipts/contoso-allinone.jpg";
279279
SyncPoller<FormRecognizerOperationResult, List<RecognizedForm>> syncPoller =
280280
formRecognizerClient.beginRecognizeReceiptsFromUrl(receiptUrl);

sdk/spring/azure-spring-boot-starter-active-directory-b2c/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ accept or deny access after validating access_token obtained from Azure AD. We w
5050
1. Accessing a resource server.
5151
1. Resource server accessing other resource servers.
5252

53-
![B2C Web application & Web Api Overall](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/b2c-webapp-webapi-overall.png)
53+
![B2C Web application & Web Api Overall](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/b2c-webapp-webapi-overall.png)
5454

5555
### Accessing a web application
5656

@@ -72,7 +72,7 @@ This scenario uses the [The OAuth 2.0 authorization code grant] flow to login in
7272
select **Delegated permissions**, check **offline_access** and **openid** permissions, select **Add permission** to complete the process.
7373

7474
1. Grant admin consent for ***Graph*** permissions.
75-
![Add Graph permissions](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-graph-permissions.png)
75+
![Add Graph permissions](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-graph-permissions.png)
7676

7777
1. Add the following dependencies in your *pom.xml*.
7878

@@ -220,13 +220,13 @@ This scenario is based on **Accessing a web application** scenario to allow appl
220220
}
221221
```
222222

223-
![Configure WebApiA appRoles](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/configure-app-roles.png)
223+
![Configure WebApiA appRoles](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/configure-app-roles.png)
224224

225225
1. Select **API permissions** > **Add a permission** > **My APIs**, select ***WebApiA*** application name,
226226
select **Application Permissions**, select **WebApiA.SampleScope** permission, select **Add permission** to complete the process.
227227

228228
1. Grant admin consent for ***WebApiA*** permissions.
229-
![Add WebApiA permission](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-webapia-permission.png)
229+
![Add WebApiA permission](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-webapia-permission.png)
230230

231231
1. Add the following dependency on the basis of **Accessing a web application** scenario.
232232

@@ -393,10 +393,10 @@ This scenario is an upgrade of **Accessing a resource server**, supports access
393393
}
394394
```
395395

396-
![Configure WebApiB appRoles](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/expose-web-api-b-approle.png)
396+
![Configure WebApiB appRoles](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/expose-web-api-b-approle.png)
397397

398398
1. Grant admin consent for ***WebApiB*** permissions.
399-
![Add WebApiB permission](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-webapib-permission-to-webapia.png)
399+
![Add WebApiB permission](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-webapib-permission-to-webapia.png)
400400

401401
1. On the basis of **Accessing a resource server**, add a dependency in your *pom.xml*.
402402

sdk/spring/azure-spring-boot-starter-active-directory/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ This scenario uses the [The OAuth 2.0 authorization code grant] flow to login in
3232

3333
**System diagram**:
3434

35-
![Standalone Web Application](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application.png)
35+
![Standalone Web Application](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application.png)
3636

3737

3838
* Step 1: Make sure `redirect URI` has been set to `{application-base-uri}/login/oauth2/code/`, for
3939
example `http://localhost:8080/login/oauth2/code/`. Note the tailing `/` cannot be omitted.
4040

41-
![web-application-set-redirect-uri-1.png](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-set-redirect-uri-1.png)
42-
![web-application-set-redirect-uri-2.png](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-set-redirect-uri-2.png)
41+
![web-application-set-redirect-uri-1.png](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-set-redirect-uri-1.png)
42+
![web-application-set-redirect-uri-2.png](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-set-redirect-uri-2.png)
4343

4444
* Step 2: Add the following dependencies in your pom.xml.
4545

@@ -97,7 +97,7 @@ example `http://localhost:8080/login/oauth2/code/`. Note the tailing `/` cannot
9797

9898
**System diagram**:
9999

100-
![web-application-visiting-resource-servers.png](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-visiting-resource-servers.png)
100+
![web-application-visiting-resource-servers.png](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-visiting-resource-servers.png)
101101

102102
* Step 1: Make sure `redirect URI` has been set, just like [Accessing a web application].
103103

@@ -151,7 +151,7 @@ This scenario not support login. Just protect the server by validating the acces
151151

152152
**System diagram**:
153153

154-
![Standalone resource server usage](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/resource-server.png)
154+
![Standalone resource server usage](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/resource-server.png)
155155

156156
To use **aad-starter** in this scenario, we need these steps:
157157

@@ -180,8 +180,8 @@ To use **aad-starter** in this scenario, we need these steps:
180180
```
181181
Both `client-id` and `app-id-uri` can be used to verify access token. `app-id-uri` can be get in Azure Portal:
182182

183-
![get-app-id-uri-1.png](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/get-app-id-uri-1.png)
184-
![get-app-id-uri-2.png](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/get-app-id-uri-2.png)
183+
![get-app-id-uri-1.png](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/get-app-id-uri-1.png)
184+
![get-app-id-uri-2.png](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/get-app-id-uri-2.png)
185185

186186
* Step 3: Write Java code:
187187

@@ -213,7 +213,7 @@ This scenario support visit other resource servers in resource servers.
213213

214214
**System diagram**:
215215

216-
![resource-server-visiting-other-resource-servers.png](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/resource-server-visiting-other-resource-servers.png)
216+
![resource-server-visiting-other-resource-servers.png](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/resource-server-visiting-other-resource-servers.png)
217217

218218
To use **aad-starter** in this scenario, we need these steps:
219219

@@ -486,7 +486,7 @@ This starter supports [Conditional Access] policy. By using [Conditional Access]
486486

487487
In [Resource server visiting other resource server] scenario(For better description, we think that resource server with OBO function as **webapiA** and the other resource servers as **webapiB**), When we configure the webapiB application with Conditional Access(such as [multi-factor authentication]), this stater will help us send the Conditional Access information of the webapiA to the web application and the web application will help us complete the Conditional Access Policy. As shown below:
488488

489-
![aad-conditional-access-flow.png](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-flow.png)
489+
![aad-conditional-access-flow.png](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-flow.png)
490490

491491

492492

@@ -497,13 +497,13 @@ In [Resource server visiting other resource server] scenario(For better descript
497497

498498
* Step 1: Follow the guide to create conditional access policy for webapiB.
499499

500-
![aad-create-conditional-access](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-create-conditional-access.png)
500+
![aad-create-conditional-access](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-create-conditional-access.png)
501501

502-
![aad-conditional-access-add-application](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-add-application.png)
502+
![aad-conditional-access-add-application](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-add-application.png)
503503

504504
* Step 2: [Require MFA for all users] or specify the user account in your policy.
505505

506-
![aad-create-conditional-access](https://github.com/Azure/azure-sdk-for-java/raw/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-add-user.png)
506+
![aad-create-conditional-access](https://github.com/Azure/azure-sdk-for-java/raw/main/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-add-user.png)
507507

508508
* Step 3: Follow the guide, configure our samples.
509509
1. **webapiB**: [configure webapiB]

sdk/spring/azure-spring-cloud-starter-eventhubs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## 2.3.0 (2021-03-22)
1717
### New Features
1818
- Upgrade to `Spring Boot` [2.4.3](https://github.com/spring-projects/spring-boot/releases/tag/v2.4.3).
19-
- Upgrade to `azure-messaging-eventhubs` [5.6.0](https://github.com/azure-sdk/azure-sdk-for-java/blob/master/sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md#560-2021-03-10).
19+
- Upgrade to `azure-messaging-eventhubs` [5.6.0](https://github.com/azure-sdk/azure-sdk-for-java/blob/main/sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md#560-2021-03-10).
2020

2121
## 2.2.0 (2021-03-03)
2222

sdk/spring/azure-spring-cloud-stream-binder-eventhubs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
## 2.3.0 (2021-03-22)
1818
### New Features
1919
- Upgrade to `Spring Boot` [2.4.3](https://github.com/spring-projects/spring-boot/releases/tag/v2.4.3).
20-
- Upgrade to `azure-messaging-eventhubs` [5.6.0](https://github.com/azure-sdk/azure-sdk-for-java/blob/master/sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md#560-2021-03-10).
20+
- Upgrade to `azure-messaging-eventhubs` [5.6.0](https://github.com/azure-sdk/azure-sdk-for-java/blob/main/sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md#560-2021-03-10).
2121

2222
## 2.2.0 (2021-03-03)
2323

0 commit comments

Comments
 (0)