-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/add-verification-status-to-cmd
- Loading branch information
Showing
15 changed files
with
307 additions
and
264 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
integrationos-domain/src/domain/access_key/access_key_data.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
pub mod caller_client; | ||
pub mod secrets_client; | ||
#[cfg(feature = "unified")] | ||
pub mod unified_destination_client; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[package] | ||
name = "integrationos-unified" | ||
description = "Unified service library for IntegrationOS" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
jsonpath_lib = "0.3.0" | ||
bson = "2.9.0" | ||
chrono = { version = "0.4.32", features = ["serde"] } | ||
integrationos-domain = { path = "../integrationos-domain" } | ||
futures = "0.3.30" | ||
handlebars = { version = "4.4.0" } | ||
http = "1.1.0" | ||
http-serde-ext = "1.0.2" | ||
js-sandbox-ios = "0.1.0" | ||
moka.workspace = true | ||
mongodb = "2.8.0" | ||
reqwest = { version = "0.12.3", features = [ | ||
"json", | ||
"rustls-tls", | ||
], default-features = false } | ||
serde = { version = "1.0.195", features = ["derive", "rc"] } | ||
serde_json = "1.0.111" | ||
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] } | ||
tracing = "0.1.40" | ||
uuid = { version = "1.7.0", features = ["v4"] } | ||
|
||
[lib] | ||
path = "src/lib.rs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pub mod request; | ||
pub mod unified; | ||
pub mod utility; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
use bson::doc; | ||
use http::HeaderMap; | ||
use serde::{Deserialize, Serialize}; | ||
use serde_json::Value; | ||
use std::collections::HashMap; | ||
|
||
#[derive(Debug, Clone, PartialEq, Serialize)] | ||
#[serde(rename_all = "camelCase")] | ||
pub struct RequestCrudBorrowed<'a> { | ||
pub query_params: &'a HashMap<String, String>, | ||
#[serde(with = "http_serde_ext::header_map", default)] | ||
pub headers: &'a HeaderMap, | ||
pub path_params: Option<PathParams<'a>>, | ||
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Serialize)] | ||
#[serde(rename_all = "camelCase")] | ||
pub struct PathParams<'a> { | ||
pub id: &'a str, | ||
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] | ||
#[serde(rename_all = "camelCase")] | ||
pub struct RequestCrud { | ||
pub query_params: Option<HashMap<String, String>>, | ||
#[serde(with = "http_serde_ext::header_map", default)] | ||
pub headers: HeaderMap, | ||
pub path_params: Option<HashMap<String, String>>, | ||
pub body: Option<Value>, | ||
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Serialize)] | ||
#[serde(rename_all = "camelCase")] | ||
pub struct ResponseCrudToMap<'a> { | ||
#[serde(with = "http_serde_ext::header_map")] | ||
pub headers: &'a HeaderMap, | ||
pub pagination: Option<Value>, | ||
pub request: ResponseCrudToMapRequest<'a>, | ||
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Serialize)] | ||
#[serde(rename_all = "camelCase")] | ||
pub struct ResponseCrudToMapRequest<'a> { | ||
pub query_params: &'a HashMap<String, String>, | ||
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] | ||
#[serde(rename_all = "camelCase")] | ||
pub struct ResponseCrud { | ||
pub pagination: Option<Value>, | ||
} |
Oops, something went wrong.