lib/datadog/ci/ext/transport.rb in datadog-ci-0.8.3 vs lib/datadog/ci/ext/transport.rb in datadog-ci-1.0.0.beta1

- old
+ new

@@ -21,10 +21,13 @@ } TEST_VISIBILITY_INTAKE_HOST_PREFIX = "citestcycle-intake" TEST_VISIBILITY_INTAKE_PATH = "/api/v2/citestcycle" + TEST_COVERAGE_INTAKE_HOST_PREFIX = "citestcov-intake" + TEST_COVERAGE_INTAKE_PATH = "/api/v2/citestcov" + DD_API_HOST_PREFIX = "api" DD_API_SETTINGS_PATH = "/api/v2/libraries/tests/services/setting" DD_API_SETTINGS_TYPE = "ci_app_test_service_libraries_settings" DD_API_SETTINGS_RESPONSE_DIG_KEYS = %w[data attributes].freeze DD_API_SETTINGS_RESPONSE_ITR_ENABLED_KEY = "itr_enabled" @@ -33,9 +36,10 @@ DD_API_SETTINGS_RESPONSE_REQUIRE_GIT_KEY = "require_git" DD_API_SETTINGS_RESPONSE_DEFAULT = {DD_API_SETTINGS_RESPONSE_ITR_ENABLED_KEY => false}.freeze CONTENT_TYPE_MESSAGEPACK = "application/msgpack" CONTENT_TYPE_JSON = "application/json" + CONTENT_TYPE_MULTIPART_FORM_DATA = "multipart/form-data" CONTENT_ENCODING_GZIP = "gzip" end end end end