Développer et sécuriser des API avec Apigee X : atelier challenge avis

7719 avis

Ilham S. · Examiné il y a 2 mois

Nathan C. · Examiné il y a 2 mois

Irfan M. · Examiné il y a 2 mois

Ajeng T. · Examiné il y a 2 mois

Sébastien V. · Examiné il y a 2 mois

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. · Examiné il y a 2 mois

By far the worst lab in the whole learning path.

Zsolt N. · Examiné il y a 2 mois

vishal r. · Examiné il y a 2 mois

Luis Adrian L. · Examiné il y a 2 mois

Abhijeet K. · Examiné il y a 2 mois

SOURISH M. · Examiné il y a 2 mois

Sergio D. · Examiné il y a 2 mois

Rehan A. · Examiné il y a 2 mois

Sudarshan T. · Examiné il y a 2 mois

Sudarshan T. · Examiné il y a 2 mois

Ankit S. · Examiné il y a 2 mois

Sheebah R. · Examiné il y a 2 mois

Billie M. · Examiné il y a 2 mois

Aditya Ram V. · Examiné il y a 2 mois

Đạt N. · Examiné il y a 2 mois

Ommkar B. · Examiné il y a 2 mois

Rupali S. · Examiné il y a 2 mois

KV C. · Examiné il y a 2 mois

Tashu G. · Examiné il y a 2 mois

too long for given time

SUDE MELIS P. · Examiné il y a 2 mois

Nous ne pouvons pas certifier que les avis publiés proviennent de consommateurs qui ont acheté ou utilisé les produits. Les avis ne sont pas vérifiés par Google.