Commit graph

4 commits

Author SHA1 Message Date
Spencer
c7713f216d
[7.x] [functional_cors] use pre-defined unique port in CI (#88919) (#88978)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-01-21 10:46:28 -07:00
Spencer
78f6d9ae8a
[7.x] [test/functional_cors] 9000 is sometimes in use, make getPort random (#87050) (#87066)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-12-30 14:31:24 -07:00
Mikhail Shustov
f125b0feb2
align cors settings names with elasticsearch (#85738) (#85768)
* align cors settings names with elasticsearch

* server.cors.origin: * --> server.cors.origin: ["*"]
2020-12-14 18:30:58 +01:00
Mikhail Shustov
ca97dcd4cd
Add ability to specify CORS accepted origins (#84316) (#85570)
* add settings

* update abab package to version with types

* add test case for CORS

* add tests for cors config

* fix jest tests

* add deprecation message

* tweak deprecation

* make test runable on Cloud

* add docs

* fix type error

* add test to throw on invalid URL

* address comments

* Update src/core/server/http/http_config.test.ts

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Update docs/setup/settings.asciidoc

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

* allow kbn-xsrf headers to be set on CORS request

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
# Conflicts:
#	src/core/server/config/deprecation/core_deprecations.ts
#	x-pack/scripts/functional_tests.js
2020-12-10 19:15:58 +01:00