Skip to content

Commit

Permalink
MWPW-139506: added lower level endpoints to caas configurator (#1644)
Browse files Browse the repository at this point in the history
* MWPW-139506: added lower level endpoints to configurator

* updated the hashed config for unit tests

---------

Co-authored-by: Sheridan Sunier <sunier@sheridans-mbp.corp.adobe.com>
Co-authored-by: Sheridan Sunier <sunier@Sheridans-MacBook-Pro.local>
  • Loading branch information
3 people authored Dec 14, 2023
1 parent 60ab26a commit 132479c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions libs/blocks/caas-config/caas-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ const defaultOptions = {
'14257-chimera.adobeioruntime.net/api/v1/web/chimera-0.0.1/collection',
'14257-chimera-stage.adobeioruntime.net/api/v1/web/chimera-0.0.1/collection':
'14257-chimera-stage.adobeioruntime.net/api/v1/web/chimera-0.0.1/collection',
'14257-chimera-dev.adobeioruntime.net/api/v1/web/chimera-0.0.1/collection':
'14257-chimera-dev.adobeioruntime.net/api/v1/web/chimera-0.0.1/collection',
'14257-chimera-feature.adobeioruntime.net/api/v1/web/chimera-0.0.1/collection':
'14257-chimera-feature.adobeioruntime.net/api/v1/web/chimera-0.0.1/collection',
},
filterBuildPanel: {
automatic: 'Automatic',
Expand Down
2 changes: 1 addition & 1 deletion test/blocks/caas-config/caas-config.test.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
// This does not affect the decoded hash value,
// so either of these are valid hashes for the same content

const windowsHash = '~~H4sIAAAAAAAAA3VVTXPbOAz9LzqnjbvZ3YNvsZNMPeM0bu1MDzs7OzAJWRxThJak7Kid/vcC+pbr3qSHL+LhEfyegNYmGnJgv+D/JYa4AQ95SOb//HuTAMNVNCosyVpU4vcJckzmSTIy7jyo4yovPIbAHsk8BRtQHPSaDkbt4NDlKyMtqXTRV2twh95zT3TMwR9XitwWpVJTYoy/ujCyKPB6GysrZ8nApu8yNIcstpadiRbvlZID7Y01sVrjCW0y/5v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Expand Down

0 comments on commit 132479c

Please sign in to comment.