Desenvolvimento e proteção de APIs com a Apigee X: laboratório com desafio avaliações

7719 avaliações

Ilham S. · Revisado há 2 months

Nathan C. · Revisado há 2 months

Irfan M. · Revisado há 2 months

Ajeng T. · Revisado há 2 months

Sébastien V. · Revisado há 2 months

Subject: Critical verification issues and validation script bugs in "Proxy the Cloud Translation API" Lab I am submitting feedback regarding severe technical issues with the automated validation scripts ("Check my progress") for Task 1 and Task 2 in this lab. Despite configuring the API proxy perfectly, making successful translation requests, and receiving correct 200 OK JSON responses from the Translation API, the grading script completely fails to register the progress. Here are the specific technical issues and bugs identified in this lab: 1. API Proxy Revision Hardcoding in Validator: The validation script for Task 1 and Task 2 is hardcoded to inspect "Revision 1" of the API proxy (e.g., querying '/revisions/1' via the Apigee Management API). Because the Apigee UI automatically increments the revision number every time a user saves a change (which is necessary to fix typos or adjust variables), any changes saved in newer revisions (like Revision 2+) are completely ignored by the grading system. If a student does not get everything 100% perfect on the very first save of Revision 1, they are locked out of earning points. 2. Path Suffix and Path Trailing Slash Mismatch: The lab instructions ask students to test the proxy using: `POST https://eval.example.com/translate/v1` (without a trailing slash). However, in Apigee, omitting the trailing slash results in an empty `proxy.pathsuffix` (""). The default conditional flow condition provided in the lab `(proxy.pathsuffix MatchesPath "/")` does not match empty suffixes. This mismatch causes the policy to bypass execution on the standard test command, leading to "Missing required field target" errors from the Google Translation backend. The instructions should specify `(proxy.pathsuffix MatchesPath "/" or proxy.pathsuffix = "")`. 3. Message Template Evaluation Bug for Property Sets: The Translation API fails to resolve the default target language because Apigee's message template engine treats `propertyset.language.output` as a literal string unless it is explicitly wrapped in double brackets or parsed as a variable inside the 'firstnonnull' function. The payload sent to the backend ends up being literally: `{"q": "Hello world", "target": "propertyset.language.output"}` which causes a 400 "Invalid Value" error from the Google Cloud Translation API. 4. Quota Lockout on Verification: The Quota policy introduced in Task 3 (`Q-EnforceQuota`) limits requests to 5 per hour. If a student runs the curl command a few times to troubleshoot why the grading is failing, they hit the quota limit. At that point, the Qwiklabs automated grading bot itself gets blocked by the Quota policy and constantly fails the check with a "Quota Violation" status, making it impossible to pass. Please update the lab's verification scripts to query the ACTIVE/DEPLOYED revision instead of hardcoded 'Revision 1', and fix the message template syntax in the instructions.

KATARZYNA S. · Revisado há 2 months

By far the worst lab in the whole learning path.

Zsolt N. · Revisado há 2 months

vishal r. · Revisado há 2 months

Luis Adrian L. · Revisado há 2 months

Abhijeet K. · Revisado há 2 months

SOURISH M. · Revisado há 2 months

Sergio D. · Revisado há 2 months

Rehan A. · Revisado há 2 months

Sudarshan T. · Revisado há 2 months

Sudarshan T. · Revisado há 2 months

Ankit S. · Revisado há 2 months

Sheebah R. · Revisado há 2 months

Billie M. · Revisado há 2 months

Aditya Ram V. · Revisado há 2 months

Đạt N. · Revisado há 2 months

Ommkar B. · Revisado há 2 months

Rupali S. · Revisado há 2 months

KV C. · Revisado há 2 months

Tashu G. · Revisado há 2 months

too long for given time

SUDE MELIS P. · Revisado há 2 months

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.