This change uses the CloudRegion injected during the build
process and passes it to the Search Core config. It also
passes the environment using the environment provided from
the config rather than manually constructing the endpoints.
J=BACK-2269
TEST=manual
Manually tested the eu assets with an eu test site
and confirmed the requests were being made correctly. Also
tested the search-bar only integration in eu. Confirmed the
us build still worked as expected.
Coverage: 61.394% (-0.006%) from 61.4% when pulling 83784321f307f446a1b9bc01ae746e8adb1056c5 on dev/pass-cloud-region-to-core into fa0e71226b76dcf5164e33725c62f8dedea4f293 on develop.
This change uses the CloudRegion injected during the build process and passes it to the Search Core config. It also passes the environment using the environment provided from the config rather than manually constructing the endpoints.
J=BACK-2269 TEST=manual
Manually tested the eu assets with an eu test site and confirmed the requests were being made correctly. Also tested the search-bar only integration in eu. Confirmed the us build still worked as expected.