mirror of
https://github.com/enso-org/enso.git
synced 2025-01-03 17:44:36 +03:00
impr(cloud-v2#494): Remove OpenSSL as a dependency (#7404)
* add npekin auth config * fix: use rustls * remove native-tls * impr: update npekin pool details * set env to production * remove deps * prettier
This commit is contained in:
parent
6f90711f0f
commit
acce6108d9
25
Cargo.lock
generated
25
Cargo.lock
generated
@ -2036,9 +2036,6 @@ name = "enso-build-utilities"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"ide-ci",
|
||||
"path-clean",
|
||||
"reqwest",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -4155,19 +4152,6 @@ dependencies = [
|
||||
"tokio-io-timeout",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hyper-tls"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hyper",
|
||||
"native-tls",
|
||||
"tokio",
|
||||
"tokio-native-tls",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hyperx"
|
||||
version = "1.4.0"
|
||||
@ -5381,12 +5365,6 @@ dependencies = [
|
||||
"path-dedot",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "path-clean"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ecba01bf2678719532c5e3059e0b5f0811273d94b397088b82e3bd0a78c78fdd"
|
||||
|
||||
[[package]]
|
||||
name = "path-dedot"
|
||||
version = "3.0.18"
|
||||
@ -5930,12 +5908,10 @@ dependencies = [
|
||||
"http-body",
|
||||
"hyper",
|
||||
"hyper-rustls 0.23.2",
|
||||
"hyper-tls",
|
||||
"ipnet",
|
||||
"js-sys",
|
||||
"log",
|
||||
"mime",
|
||||
"native-tls",
|
||||
"once_cell",
|
||||
"percent-encoding",
|
||||
"pin-project-lite",
|
||||
@ -5945,7 +5921,6 @@ dependencies = [
|
||||
"serde_json",
|
||||
"serde_urlencoded",
|
||||
"tokio",
|
||||
"tokio-native-tls",
|
||||
"tokio-rustls 0.23.4",
|
||||
"tokio-util",
|
||||
"tower-service",
|
||||
|
@ -123,7 +123,9 @@ byte-unit = { version = "4.0.14", features = ["serde"] }
|
||||
bytes = { version = "1.1.0" }
|
||||
matches = { version = "0.1" }
|
||||
console_error_panic_hook = { version = "0.1.6" }
|
||||
reqwest = { version = "0.11.5" }
|
||||
reqwest = { version = "0.11.5", default-features = false, features = [
|
||||
"rustls-tls"
|
||||
] }
|
||||
proc-macro2 = { version = "1.0.50" }
|
||||
syn = { version = "2.0", features = [
|
||||
"full",
|
||||
|
@ -61,8 +61,8 @@ const BASE_AMPLIFY_CONFIG = {
|
||||
const AMPLIFY_CONFIGS = {
|
||||
/** Configuration for @indiv0's Cognito user pool. */
|
||||
npekin: {
|
||||
userPoolId: auth.UserPoolId('eu-west-1_AXX1gMvpx'),
|
||||
userPoolWebClientId: auth.UserPoolWebClientId('1rpnb2n1ijn6o5529a7ob017o'),
|
||||
userPoolId: auth.UserPoolId('eu-west-1_7yB1Lr0fS'),
|
||||
userPoolWebClientId: auth.UserPoolWebClientId('ulc9knbbf0anduetrq9nnrlg2'),
|
||||
domain: auth.OAuthDomain('npekin-enso-domain.auth.eu-west-1.amazoncognito.com'),
|
||||
...BASE_AMPLIFY_CONFIG,
|
||||
} satisfies Partial<auth.AmplifyConfig>,
|
||||
|
@ -44,7 +44,7 @@ const CLOUD_REDIRECTS = {
|
||||
/** All possible API URLs, sorted by environment. */
|
||||
const API_URLS = {
|
||||
pbuchu: ApiUrl('https://xw0g8j3tsb.execute-api.eu-west-1.amazonaws.com'),
|
||||
npekin: ApiUrl('https://s02ejyepk1.execute-api.eu-west-1.amazonaws.com'),
|
||||
npekin: ApiUrl('https://lkxuay3ha1.execute-api.eu-west-1.amazonaws.com'),
|
||||
production: ApiUrl('https://7aqkn3tnbc.execute-api.eu-west-1.amazonaws.com'),
|
||||
}
|
||||
|
||||
|
@ -6,9 +6,3 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
ide-ci = { path = "../../ci_utils" }
|
||||
path-clean = "0.1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
[dependencies.reqwest]
|
||||
version = "0.11.12"
|
||||
features = ["blocking", "json"]
|
||||
|
Loading…
Reference in New Issue
Block a user