Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add AWS AppConfig API Data Source#758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
FalkWolsky merged 5 commits intolowcoder-org:devfromsnowe2010:add-appconfig-query
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletionsserver/api-service/api-examples.http
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
### login?
POST http://localhost:8080/api/auth/form/login
Content-Type: application/json

{
"register": false,
"loginId": "test@test.com",
"password": "test1234",
"source": "EMAIL"
}

### get apps
GET http://localhost:8080/api/applications/list

### Send POST request with json body
POST http://localhost:8080/api/applications
Content-Type: application/json

{
"orgId": "65ea883d248b9d61b5ec8eaf",
"name": "testingapi2",
"appUrlName": "thisIsASlug"
}
2 changes: 2 additions & 0 deletionsserver/node-service/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,6 +29,8 @@
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@aws-sdk/client-appconfig": "^3.533.0",
"@aws-sdk/client-appconfigdata": "^3.533.0",
"@aws-sdk/client-athena": "^3.333.0",
"@aws-sdk/client-dynamodb": "^3.332.0",
"@aws-sdk/client-lambda": "^3.332.0",
Expand Down
31 changes: 31 additions & 0 deletionsserver/node-service/src/plugins/appconfig/dataSourceConfig.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
import { ConfigToType } from "lowcoder-sdk/dataSource";

const dataSourceConfig = {
type: "dataSource",
params: [
{
key: "region",
type: "textInput",
label: "Region",
rules: [{ required: true, message: "Please input the AWS Region" }],
defaultValue: "us-west-1",
},
{
key: "accessKey",
label: "Access key ID",
type: "textInput",
placeholder: "<Your Access key ID>",
rules: [{ required: true, message: "Please input the Access Key ID" }],
},
{
key: "secretKey",
label: "Secret key",
type: "password",
rules: [{ required: true, message: "Please input the Secret Key" }],
},
],
} as const;

export default dataSourceConfig;

export type DataSourceDataType = ConfigToType<typeof dataSourceConfig>;
Loading

[8]ページ先頭

©2009-2025 Movatter.jp