@@ -110,9 +110,9 @@ Run each readiness probe until it exits successfully:
110110
111111.. code-block :: console
112112
113- $ container exec vuforia-target-manager-mock python /app/src/mock_vws/_flask_server/healthcheck.py
114- $ container exec vuforia-vws-mock python /app/src/mock_vws/_flask_server/healthcheck.py
115- $ container exec vuforia-vwq-mock python /app/src/mock_vws/_flask_server/healthcheck.py
113+ $ container exec vuforia-target-manager-mock python -m vws_mock_server.healthcheck
114+ $ container exec vuforia-vws-mock python -m vws_mock_server.healthcheck
115+ $ container exec vuforia-vwq-mock python -m vws_mock_server.healthcheck
116116
117117 To stop and remove this deployment:
118118
@@ -134,7 +134,7 @@ To mimic this functionality, this mock provides a target manager container which
134134
135135To add a database, make a request to the following endpoint against the target manager container:
136136
137- .. autoflask :: mock_vws._flask_server .target_manager:TARGET_MANAGER_FLASK_APP
137+ .. autoflask :: vws_mock_server .target_manager:TARGET_MANAGER_FLASK_APP
138138 :endpoints: create_cloud_database
139139
140140For example, with either deployment above, use ``curl ``:
@@ -170,7 +170,7 @@ Deleting a database
170170
171171To delete a database use the following endpoint:
172172
173- .. autoflask :: mock_vws._flask_server .target_manager:TARGET_MANAGER_FLASK_APP
173+ .. autoflask :: vws_mock_server .target_manager:TARGET_MANAGER_FLASK_APP
174174 :endpoints: delete_cloud_database
175175
176176Setting the recognition counts of a target
@@ -179,7 +179,7 @@ Setting the recognition counts of a target
179179The mock does not count recognitions, because the counts which the real Vuforia Web Services report lag behind its queries by longer than a test runs.
180180To make the target summary report and the reco counts report show non-zero counts, set the counts with the following endpoint:
181181
182- .. autoflask :: mock_vws._flask_server .target_manager:TARGET_MANAGER_FLASK_APP
182+ .. autoflask :: vws_mock_server .target_manager:TARGET_MANAGER_FLASK_APP
183183 :endpoints: set_target_recognition_counts
184184
185185
@@ -281,7 +281,7 @@ These commands build the images with ``docker buildx``.
281281.. code-block :: console
282282
283283 $ export REPOSITORY_ROOT="$PWD"
284- $ export DOCKERFILE="$REPOSITORY_ROOT/src/mock_vws/_flask_server /Dockerfile"
284+ $ export DOCKERFILE="$REPOSITORY_ROOT/server /Dockerfile"
285285
286286 $ export TARGET_MANAGER_TAG=ghcr.io/vws-python/vuforia-target-manager-mock:latest
287287 $ export VWS_TAG=ghcr.io/vws-python/vuforia-vws-mock:latest
0 commit comments