Skip to content

Commit 145084c

Browse files
Merge pull request #1670 from VWS-Python/check-anchor
Update vuforia links
2 parents b8248e2 + 39c5f47 commit 145084c

File tree

7 files changed

+21
-25
lines changed

7 files changed

+21
-25
lines changed

docs/source/conf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@
7676

7777
# Retry link checking to avoid transient network errors.
7878
linkcheck_retries = 5
79-
linkcheck_ignore = [
80-
# Requires login.
81-
"https://developer.vuforia.com/targetmanager",
82-
]
8379

8480
spelling_word_list_filename = "../../spelling_private_dict.txt"
8581

docs/source/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ When this happens, create a new target database to use for testing.
9292
To create databases without using the browser, use `vws web tools`_.
9393
See https://github.com/VWS-Python/vws-python-mock/issues/901 for a start on how to use the database details created by that tool.
9494

95-
.. _Vuforia License Manager: https://developer.vuforia.com/targetmanager/licenseManager/licenseListing
96-
.. _Vuforia Target Manager: https://developer.vuforia.com/targetmanager
95+
.. _Vuforia License Manager: https://developer.vuforia.com/vui/develop/licenses
96+
.. _Vuforia Target Manager: https://developer.vuforia.com/vui/develop/databases
9797
.. _vws web tools: https://github.com/VWS-Python/vws-web-tools
9898

9999
Skipping Some Tests

src/mock_vws/_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class TargetStatuses(Enum):
4141
Constants representing VWS target statuses.
4242
4343
See the 'status' field in
44-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record
44+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record
4545
"""
4646

4747
PROCESSING = "processing"

src/mock_vws/_flask_server/vws.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A fake implementation of the Vuforia Web Services API.
33
44
See
5-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API
5+
https://library.vuforia.com/web-api/cloud-targets-web-services-api
66
"""
77

88
import base64
@@ -144,7 +144,7 @@ def add_target() -> Response:
144144
Add a target.
145145
146146
Fake implementation of
147-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Add-a-Target
147+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#add
148148
"""
149149
settings = VWSSettings.model_validate(obj={})
150150
databases = get_all_databases()
@@ -217,7 +217,7 @@ def get_target(target_id: str) -> Response:
217217
Get details of a target.
218218
219219
Fake implementation of
220-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record
220+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record
221221
"""
222222
databases = get_all_databases()
223223
database = get_database_matching_server_keys(
@@ -271,7 +271,7 @@ def delete_target(target_id: str) -> Response:
271271
Delete a target.
272272
273273
Fake implementation of
274-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Delete-a-Target
274+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#delete
275275
"""
276276
settings = VWSSettings.model_validate(obj={})
277277
databases = get_all_databases()
@@ -324,7 +324,7 @@ def database_summary() -> Response:
324324
Get a database summary report.
325325
326326
Fake implementation of
327-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Get-a-Database-Summary-Report
327+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#summary-report
328328
"""
329329
databases = get_all_databases()
330330
database = get_database_matching_server_keys(
@@ -377,7 +377,7 @@ def target_summary(target_id: str) -> Response:
377377
Get a summary report for a target.
378378
379379
Fake implementation of
380-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Summary-Report
380+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#retrieve-report
381381
"""
382382
databases = get_all_databases()
383383
database = get_database_matching_server_keys(
@@ -428,7 +428,7 @@ def get_duplicates(target_id: str) -> Response:
428428
Get targets which may be considered duplicates of a given target.
429429
430430
Fake implementation of
431-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Check-for-Duplicate-Targets
431+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#check
432432
"""
433433
databases = get_all_databases()
434434
settings = VWSSettings.model_validate(obj={})
@@ -488,7 +488,7 @@ def target_list() -> Response:
488488
Get a list of all targets.
489489
490490
Fake implementation of
491-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Get-a-Target-List-for-a-Cloud-Database
491+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#details-list
492492
"""
493493
databases = get_all_databases()
494494
database = get_database_matching_server_keys(
@@ -529,7 +529,7 @@ def update_target(target_id: str) -> Response:
529529
Update a target.
530530
531531
Fake implementation of
532-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Update-a-Target
532+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#update
533533
"""
534534
settings = VWSSettings.model_validate(obj={})
535535
# We do not use ``request.get_json(force=True)`` because this only works

src/mock_vws/_requests_mock_server/mock_web_services_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def add_target(
130130
Add a target.
131131
132132
Fake implementation of
133-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Add-a-Target
133+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#add
134134
"""
135135
try:
136136
run_services_validators(
@@ -208,7 +208,7 @@ def delete_target(
208208
Delete a target.
209209
210210
Fake implementation of
211-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Delete-a-Target
211+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#delete
212212
"""
213213
try:
214214
run_services_validators(
@@ -275,7 +275,7 @@ def database_summary(
275275
Get a database summary report.
276276
277277
Fake implementation of
278-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Get-a-Database-Summary-Report
278+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#summary-report
279279
"""
280280
try:
281281
run_services_validators(
@@ -341,7 +341,7 @@ def target_list(
341341
Get a list of all targets.
342342
343343
Fake implementation of
344-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Get-a-Target-List-for-a-Cloud-Database
344+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#details-list
345345
"""
346346
try:
347347
run_services_validators(
@@ -398,7 +398,7 @@ def get_target(
398398
Get details of a target.
399399
400400
Fake implementation of
401-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record
401+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record
402402
"""
403403
try:
404404
run_services_validators(
@@ -466,7 +466,7 @@ def get_duplicates(
466466
Get targets which may be considered duplicates of a given target.
467467
468468
Fake implementation of
469-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Check-for-Duplicate-Targets
469+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#check
470470
"""
471471
try:
472472
run_services_validators(
@@ -647,7 +647,7 @@ def target_summary(
647647
Get a summary report for a target.
648648
649649
Fake implementation of
650-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Summary-Report
650+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#retrieve-report
651651
"""
652652
try:
653653
run_services_validators(

tests/mock_vws/test_get_duplicates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_active_flag(
164164
Targets with `active_flag` set to `False` can have duplicates.
165165
Targets with `active_flag` set to `False` are not found as duplicates.
166166
167-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API#How-To-Check-for-Duplicate-Targets
167+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#check
168168
says:
169169
170170
'''

tests/mock_vws/test_get_target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Tests for getting a target record.
33
4-
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Retrieve-a-Target-Record
4+
https://library.vuforia.com/web-api/cloud-targets-web-services-api#target-record
55
"""
66
from __future__ import annotations
77

0 commit comments

Comments
 (0)