Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:valmi-io/valmi-app-backend into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Nagendra committed Jul 2, 2024
2 parents 1ec72ce + 6b195bf commit 0b37c6d
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 156 deletions.
282 changes: 139 additions & 143 deletions core/routes/oauth_schema.json
Original file line number Diff line number Diff line change
@@ -1,151 +1,147 @@
{
"schema": {
"DEST_FACEBOOK-ADS": {
"type": "object",
"properties": {
"AUTH_FACEBOOK_CLIENT_ID": {
"type": "string",
"description": "Facebook client id",
"title":"Client Id"
},
"AUTH_FACEBOOK_CLIENT_SECRET": {
"type": "string",
"description": "Facebook client secret",
"title":"Client Secret",
"format":"password"

}
},
"required": [
"AUTH_FACEBOOK_CLIENT_ID",
"AUTH_FACEBOOK_CLIENT_SECRET"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
"schema": {
"DEST_FACEBOOK-ADS": {
"type": "object",
"properties": {
"AUTH_FACEBOOK_CLIENT_ID": {
"type": "string",
"description": "Facebook client id",
"title": "Client Id"
},
"DEST_GOOGLE-SHEETS": {
"type": "object",
"properties": {
"AUTH_GOOGLE_CLIENT_ID": {
"type": "string",
"description": "Google client id",
"title":"Client Id"

},
"AUTH_GOOGLE_CLIENT_SECRET": {
"type": "string",
"description": "Google client secret",
"title":"Client Secret",
"format":"password"
}
},
"required": [
"AUTH_GOOGLE_CLIENT_ID",
"AUTH_GOOGLE_CLIENT_SECRET"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
"AUTH_FACEBOOK_CLIENT_SECRET": {
"type": "string",
"description": "Facebook client secret",
"title": "Client Secret",
"format": "password"
}
},
"required": ["AUTH_FACEBOOK_CLIENT_ID", "AUTH_FACEBOOK_CLIENT_SECRET"],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
},
"DEST_GOOGLE-SHEETS": {
"type": "object",
"properties": {
"AUTH_GOOGLE_CLIENT_ID": {
"type": "string",
"description": "Google client id",
"title": "Client Id"
},
"DEST_GOOGLE-ADS": {
"type": "object",
"properties": {
"AUTH_GOOGLE_CLIENT_ID": {
"type": "string",
"description": "Google client id",
"title":"Client Id"

},
"AUTH_GOOGLE_CLIENT_SECRET": {
"type": "string",
"description": "Google client secret",
"title":"Client Secret",
"format":"password"

},
"AUTH_GOOGLE_DEVELOPER_TOKEN": {
"type": "string",
"description": "Google developer token",
"title":"Developer Token",
"format":"password"
}
},
"required": [
"AUTH_GOOGLE_CLIENT_ID",
"AUTH_GOOGLE_CLIENT_SECRET",
"AUTH_GOOGLE_DEVELOPER_TOKEN"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
"AUTH_GOOGLE_CLIENT_SECRET": {
"type": "string",
"description": "Google client secret",
"title": "Client Secret",
"format": "password"
}
},
"required": ["AUTH_GOOGLE_CLIENT_ID", "AUTH_GOOGLE_CLIENT_SECRET"],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
},
"DEST_GOOGLE-ADS": {
"type": "object",
"properties": {
"AUTH_GOOGLE_CLIENT_ID": {
"type": "string",
"description": "Google client id",
"title": "Client Id"
},
"DEST_SLACK": {
"type": "object",
"properties": {
"AUTH_SLACK_CLIENT_ID": {
"type": "string",
"description": "Slack client id",
"title":"Client Id"
},
"AUTH_SLACK_CLIENT_SECRET": {
"type": "string",
"description": "Slack client secret",
"title":"Client Secret",
"format":"password"

}
},
"required": [
"AUTH_SLACK_CLIENT_ID",
"AUTH_SLACK_CLIENT_SECRET"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
"AUTH_GOOGLE_CLIENT_SECRET": {
"type": "string",
"description": "Google client secret",
"title": "Client Secret",
"format": "password"
},
"DEST_HUBSPOT": {
"type": "object",
"properties": {
"AUTH_HUBSPOT_CLIENT_ID": {
"type": "string",
"description": "Hubspot client id",
"title":"Client Id"

},
"AUTH_HUBSPOT_CLIENT_SECRET": {
"type": "string",
"description": "Hubspot client secret",
"title":"Client Secret",
"format":"password"

}
},
"required": [
"AUTH_HUBSPOT_CLIENT_ID",
"AUTH_HUBSPOT_CLIENT_SECRET"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
"AUTH_GOOGLE_DEVELOPER_TOKEN": {
"type": "string",
"description": "Google developer token",
"title": "Developer Token",
"format": "password"
}
},
"required": [
"AUTH_GOOGLE_CLIENT_ID",
"AUTH_GOOGLE_CLIENT_SECRET",
"AUTH_GOOGLE_DEVELOPER_TOKEN"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
},
"DEST_SLACK": {
"type": "object",
"properties": {
"AUTH_SLACK_CLIENT_ID": {
"type": "string",
"description": "Slack client id",
"title": "Client Id"
},
"AUTH_SLACK_CLIENT_SECRET": {
"type": "string",
"description": "Slack client secret",
"title": "Client Secret",
"format": "password"
}
},
"required": ["AUTH_SLACK_CLIENT_ID", "AUTH_SLACK_CLIENT_SECRET"],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
},
"DEST_HUBSPOT": {
"type": "object",
"properties": {
"AUTH_HUBSPOT_CLIENT_ID": {
"type": "string",
"description": "Hubspot client id",
"title": "Client Id"
},
"AUTH_HUBSPOT_CLIENT_SECRET": {
"type": "string",
"description": "Hubspot client secret",
"title": "Client Secret",
"format": "password"
}
},
"required": ["AUTH_HUBSPOT_CLIENT_ID", "AUTH_HUBSPOT_CLIENT_SECRET"],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
},
"SRC_SHOPIFY": {
"type": "object",
"properties": {
"AUTH_SHOPIFY_CLIENT_ID": {
"type": "string",
"description": "Shopify client id",
"title": "Client Id"
},
"AUTH_SHOPIFY_CLIENT_SECRET": {
"type": "string",
"description": "Shopify client secret",
"title": "Client Secret",
"format": "password"
}
},
"required": ["AUTH_SHOPIFY_CLIENT_ID", "AUTH_SHOPIFY_CLIENT_SECRET"],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
},
"SRC_GOOGLE-ANALYTICS": {
"type": "object",
"properties": {
"AUTH_GOOGLE_CLIENT_ID": {
"type": "string",
"description": "Google client id",
"title": "Client Id"
},
"SRC_SHOPIFY": {
"type": "object",
"properties": {
"AUTH_SHOPIFY_CLIENT_ID": {
"type": "string",
"description": "Shopify client id",
"title":"Client Id"
},
"AUTH_SHOPIFY_CLIENT_SECRET": {
"type": "string",
"description": "Shopify client secret",
"title":"Client Secret",
"format":"password"

}
},
"required": [
"AUTH_SHOPIFY_CLIENT_ID",
"AUTH_SHOPIFY_CLIENT_SECRET"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
"AUTH_GOOGLE_CLIENT_SECRET": {
"type": "string",
"description": "Google client secret",
"title": "Client Secret",
"format": "password"
}
},
"required": ["AUTH_GOOGLE_CLIENT_ID", "AUTH_GOOGLE_CLIENT_SECRET"],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}
}
}
}
26 changes: 13 additions & 13 deletions init_db/connector_def.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"docker_tag": "latest",
"display_name": "Shopify",
"oauth": "True",
"oauth_keys":"private",
"mode":["etl"]
"oauth_keys": "private",
"mode": ["etl"]
},
{
"type": "DEST",
Expand All @@ -17,8 +17,8 @@
"docker_tag": "latest",
"display_name": "Facebook Ads",
"oauth": "True",
"oauth_keys":"private",
"mode":["etl"]
"oauth_keys": "private",
"mode": ["etl"]
},
{
"type": "DEST",
Expand All @@ -27,8 +27,8 @@
"docker_tag": "dev",
"display_name": "Dest Postgres",
"oauth": "False",
"oauth_keys":"private",
"mode":["etl"]
"oauth_keys": "private",
"mode": ["etl"]
},
{
"type": "SRC",
Expand All @@ -37,18 +37,18 @@
"docker_tag": "latest",
"display_name": "Postgres",
"oauth": "True",
"oauth_keys":"private",
"mode":["retl"]
"oauth_keys": "private",
"mode": ["retl"]
},
{
"type": "SRC",
"unique_name": "GOOGLE_ANALYTICS",
"unique_name": "GOOGLE-ANALYTICS",
"docker_image": "valmiio/source-google-analytics-data-api",
"docker_tag": "latest",
"display_name": "Google Analytics 4 (GA4)",
"oauth": "True",
"oauth_keys":"private",
"mode":["etl"]
"oauth_keys": "private",
"mode": ["etl"]
},
{
"type": "DEST",
Expand All @@ -57,8 +57,8 @@
"docker_tag": "latest",
"display_name": "Google Sheets",
"oauth": "True",
"oauth_keys":"private",
"mode":["retl"]
"oauth_keys": "private",
"mode": ["retl"]
}
]
}

0 comments on commit 0b37c6d

Please sign in to comment.