- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
58 lines
1.2 KiB
Bash
Executable File
58 lines
1.2 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Generate region codes for all non-US Commercial Azure regions
|
|
|
|
regions=(
|
|
"belgiumcentral:bc"
|
|
"brazilsouth:bs"
|
|
"brazilsoutheast:bse"
|
|
"canadacentral:cc"
|
|
"canadaeast:ce"
|
|
"centralindia:ci"
|
|
"chilecentral:chc"
|
|
"eastasia:ea"
|
|
"francecentral:fc"
|
|
"francesouth:fs"
|
|
"germanynorth:gn"
|
|
"germanywestcentral:gwc"
|
|
"indonesiacentral:ic"
|
|
"israelcentral:ilc"
|
|
"italynorth:in"
|
|
"japaneast:je"
|
|
"japanwest:jw"
|
|
"jioindiacentral:jic"
|
|
"jioindiawest:jiw"
|
|
"koreacentral:kc"
|
|
"koreasouth:ks"
|
|
"malaysiawest:mw"
|
|
"mexicocentral:mc"
|
|
"newzealandnorth:nzn"
|
|
"northeurope:ne"
|
|
"norwayeast:no"
|
|
"norwaywest:nw"
|
|
"polandcentral:pc"
|
|
"qatarcentral:qc"
|
|
"southafricanorth:san"
|
|
"southafricawest:saw"
|
|
"southeastasia:sea"
|
|
"southindia:si"
|
|
"spaincentral:sc"
|
|
"swedencentral:swc"
|
|
"switzerlandnorth:sn"
|
|
"switzerlandwest:sw"
|
|
"uaecentral:uac"
|
|
"uaenorth:uan"
|
|
"uksouth:uks"
|
|
"ukwest:ukw"
|
|
"westeurope:we"
|
|
"westindia:wi"
|
|
)
|
|
|
|
echo "# Region code mapping for all non-US Commercial Azure regions"
|
|
echo "region_codes = {"
|
|
for region in "${regions[@]}"; do
|
|
location="${region%%:*}"
|
|
code="${region##*:}"
|
|
printf " %-25s = \"%s\"\n" "$location" "$code"
|
|
done
|
|
echo " }"
|