SAP / spartacus

Spartacus is a lean, Angular-based JavaScript storefront for SAP Commerce Cloud that communicates exclusively through the Commerce REST API.
Apache License 2.0
744 stars 388 forks source link

feat: CXSPA-7935:Modify the OCC API endpoint for SPA consumes #19574

Closed i53577 closed 4 days ago

i53577 commented 4 days ago

The below old OCC API endpoints are deprecated: https://api.cg79x9wuu9-eccommerc1-p1-public.model-t.myhybris.cloud/occ/v2/swagger-ui/index.html#/Users/replaceUserLogin https://api.cg79x9wuu9-eccommerc1-p1-public.model-t.myhybris.cloud/occ/v2/swagger-ui/index.html#/Users/replaceUserPassword https://api.cg79x9wuu9-eccommerc1-p1-public.model-t.myhybris.cloud/occ/v2/swagger-ui/index.html#/Forgotten%20Passwords/doRestorePassword

SPA should be consume the below new OCC API endpoints instead of the deprecated ones: https://api.cg79x9wuu9-eccommerc1-p1-public.model-t.myhybris.cloud/occ/v2/swagger-ui/index.html#/Users/changeUserLoginId https://api.cg79x9wuu9-eccommerc1-p1-public.model-t.myhybris.cloud/occ/v2/swagger-ui/index.html#/Users/changeUserPassword https://api.cg79x9wuu9-eccommerc1-p1-public.model-t.myhybris.cloud/occ/v2/swagger-ui/index.html#/Forgotten%20Passwords/sendPasswordRestoreToken

i53577 commented 4 days ago

original PR: https://github.com/SAP/spartacus/pull/19141

github-actions[bot] commented 4 days ago

Merge Checks Failed

Please push a commit to re-trigger the build. 
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`
cypress[bot] commented 4 days ago

spartacus    Run #45800

Run Properties:  status check passed Passed #45800  •  git commit efe230e528 ℹ️: Merge e50dc0f3fd8976211f5d1192902b77455e06a2ae into 5caa9c3a3fa7576411e03d9c2c40...
Project spartacus
Branch Review feature/CXSPA-7935
Run status status check passed Passed #45800
Run duration 03m 59s
Commit git commit efe230e528 ℹ️: Merge e50dc0f3fd8976211f5d1192902b77455e06a2ae into 5caa9c3a3fa7576411e03d9c2c40...
Committer Grace Dong
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 4
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 125
View all changes introduced in this branch ↗︎