-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
433 changed files
with
26,459 additions
and
496 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# ADD API Support | ||
|
||
- Generators |
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,4 @@ | ||
# README | ||
|
||
|
||
- [camunda-bpm-platform](https://github.com/camunda/camunda-bpm-platform.git) |
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 @@ | ||
# README | ||
|
||
- [cds](https://github.com/ovh/cds.git) |
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 @@ | ||
# README | ||
|
||
- [Simple SQL Client for lightweight data analysis.](https://github.com/bdash-app/bdash) |
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,9 @@ | ||
# TIS | ||
|
||
一个完整的TIS应用,由以下三个子工程构成: | ||
|
||
TIS主干逻辑 https://github.com/datavane/tis | ||
TIS插件 https://github.com/qlangtech/plugins | ||
前端逻辑 https://github.com/qlangtech/ng-tis | ||
|
||
|
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,2 @@ | ||
# Authing Integration | ||
|
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,6 @@ | ||
# ngrox | ||
|
||
```shell | ||
brew install ngrok/ngrok/ngrok | ||
``` | ||
|
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 @@ | ||
# README | ||
|
||
- [caf-framework](https://gitee.com/ubml/caf-framework) |
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,37 @@ | ||
# README | ||
|
||
- [baserow](https://gitlab.com/baserow/baserow) | ||
|
||
|
||
## Backend | ||
|
||
- [https://github.com/ConduitPlatform/Conduit.git] | ||
|
||
## Integration | ||
|
||
- [connections](https://github.com/buildable/connections.git) | ||
|
||
## Webhook | ||
|
||
- [convoy](https://github.com/frain-dev/convoy.git) | ||
|
||
## Generator | ||
|
||
- [youyaboot](https://gitee.com/magicalcoder/youyaboot) | ||
|
||
## Admin | ||
|
||
- [admin-ui-vue](https://gitee.com/yudaocode/yudao-ui-admin-vben) | ||
- [wukong-nocode](https://gitee.com/wukongcrm/wukong-nocode) | ||
|
||
## Data integration | ||
|
||
- [wrangler](https://github.com/data-integrations/wrangler) | ||
- []( https://github.com/WeBankFinTech/DataSphereStudio.git) | ||
- [](https://github.com/dataease/dataease.git) | ||
- [](https://github.com/multiprocessio/datastation) | ||
|
||
## Tools | ||
|
||
- [](https://github.com/formbricks/formbricks) | ||
- [](https://github.com/httpie/cli) |
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,42 @@ | ||
# Akita | ||
|
||
[akita](https://docs.akita.software/docs/how-akita-works) | ||
> Akita watches your API traffic for automatic discovery and dashboards | ||
根据提供的文档《How Akita Works》,以下是Akita软件的要点总结: | ||
|
||
1. **API流量监控**:Akita通过使用eBPF技术自动发现API流量,并为监控和仪表板生成数据。 | ||
|
||
2. **低摩擦部署**:Akita代理(Agent)可以无摩擦地部署,不需要通过SDK提供访问权限,也不需要更改代码或代理。 | ||
|
||
3. **低风险部署**:Akita代理在服务器上运行,仅将请求/响应的元数据发送回云端,确保敏感数据不会暴露给Akita服务器。 | ||
|
||
4. **自动API行为建模**:Akita自动对API流量进行建模,推断API路径,为每个端点提供监控和警报功能。 | ||
|
||
5. **流量分析技术**:Akita代理使用salted hash对有效载荷数据进行加密,并且永远不会解密(unhash),确保敏感数据不会被Akita云服务看到。 | ||
|
||
6. **高级流量分析算法**:Akita云使用先进的流量分析算法自动推断端点结构(包括路径参数)、数据类型、认证等,减少了编写API规范或制作仪表板的工作。 | ||
|
||
7. **数据访问和处理政策**:Akita有明确的数据访问和处理政策,确保用户数据的安全性和隐私性。 | ||
|
||
8. **支持的技术栈**:Akita支持多种技术栈,以适应不同的部署环境和需求。 | ||
|
||
## How to Run | ||
|
||
```shell | ||
docker pull public.ecr.aws/akitasoftware/akita-cli:latest | ||
``` | ||
|
||
start agent | ||
```shell | ||
docker run --rm --network host | ||
-e AKITA_API_KEY_ID= API KEY ID \ | ||
-e AKITA_API_KEY_SECRET= API KEY SECRET \ | ||
akitasoftware/cli:latest apidump \ | ||
--project PROJECT NAME | ||
``` | ||
|
||
## codes | ||
|
||
- [akita-cli](https://github.com/akitasoftware/akita-cli) | ||
- [akita-libs](https://github.com/akitasoftware/akita-libs.git) |
4 changes: 0 additions & 4 deletions
4
fluent-wrappers/fluent-feishu/src/main/java/io/fluent/wrappers/feishu/FeishuWrapper.java
This file was deleted.
Oops, something went wrong.
156 changes: 78 additions & 78 deletions
156
...rs/fluent-feishu/src/main/java/io/fluent/wrappers/feishu/auth/service/AuthApiService.java
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,78 +1,78 @@ | ||
package io.fluent.wrappers.feishu.auth.service; | ||
|
||
import cn.hutool.core.util.StrUtil; | ||
import cn.hutool.http.HttpUtil; | ||
import io.fluent.wrappers.feishu.auth.dto.req.TenantAccessTokenGetReqDTO; | ||
import io.fluent.wrappers.feishu.auth.dto.resp.TenantAccessTokenGetRespDTO; | ||
import lombok.Data; | ||
|
||
import java.util.concurrent.TimeUnit; | ||
import java.util.concurrent.atomic.AtomicLong; | ||
|
||
/** | ||
* 飞书认证api接口 | ||
* | ||
* @author Tao.Liu | ||
* @date 2022/6/29 13:55 | ||
*/ | ||
@Data | ||
public class AuthApiService { | ||
|
||
public final static String BASE_URL = "https://open.feishu.cn/open-apis/auth"; | ||
|
||
|
||
|
||
|
||
/** | ||
* 过期时间 | ||
*/ | ||
private AtomicLong EXPIRE_TIMES = new AtomicLong(); | ||
|
||
/** | ||
* 企业自建应用token | ||
*/ | ||
private String tenantAccessToken = ""; | ||
|
||
/** | ||
* 应用ID | ||
*/ | ||
private String appId; | ||
|
||
/** | ||
* 应用名称 | ||
*/ | ||
private String appSecret; | ||
|
||
|
||
public AuthApiService(final String appId, final String appSecret) { | ||
this.appId = appId; | ||
this.appSecret = appSecret; | ||
} | ||
|
||
/** | ||
* 企业自建应用token | ||
* | ||
* @return | ||
*/ | ||
public String getTenantAccessToken() { | ||
if (StrUtil.isNotBlank(tenantAccessToken) && System.currentTimeMillis() < EXPIRE_TIMES.get()) { | ||
return this.tenantAccessToken; | ||
} | ||
|
||
synchronized (this) { | ||
final TenantAccessTokenGetReqDTO tokenGetReqDTO = new TenantAccessTokenGetReqDTO(appId, appSecret); | ||
final TenantAccessTokenGetRespDTO tokenRespDTO = HttpUtil.post(BASE_URL + "/v3/tenant_access_token/internal", | ||
tokenGetReqDTO, TenantAccessTokenGetRespDTO.class); | ||
if (tokenGetReqDTO == null && Strings.isBlank(tokenRespDTO.getTenantAccessToken())) { | ||
throw new FeishuException(FeishuErrorCodeEnum.TABLE_ERROR, "获取飞书token出错"); | ||
} | ||
|
||
// 设置过期时间,提前半小时失效 | ||
final long expireMills = TimeUnit.SECONDS.toMillis(tokenRespDTO.getExpire() - 1800); | ||
EXPIRE_TIMES.set(System.currentTimeMillis() + expireMills); | ||
this.tenantAccessToken = tokenRespDTO.getTenantAccessToken(); | ||
return this.tenantAccessToken; | ||
} | ||
} | ||
|
||
} | ||
//package io.fluent.wrappers.feishu.auth.service; | ||
// | ||
//import cn.hutool.core.util.StrUtil; | ||
//import cn.hutool.http.HttpUtil; | ||
//import io.fluent.wrappers.feishu.auth.dto.req.TenantAccessTokenGetReqDTO; | ||
//import io.fluent.wrappers.feishu.auth.dto.resp.TenantAccessTokenGetRespDTO; | ||
//import lombok.Data; | ||
// | ||
//import java.util.concurrent.TimeUnit; | ||
//import java.util.concurrent.atomic.AtomicLong; | ||
// | ||
///** | ||
// * 飞书认证api接口 | ||
// * | ||
// * @author Tao.Liu | ||
// * @date 2022/6/29 13:55 | ||
// */ | ||
//@Data | ||
//public class AuthApiService { | ||
// | ||
// public final static String BASE_URL = "https://open.feishu.cn/open-apis/auth"; | ||
// | ||
// | ||
// | ||
// | ||
// /** | ||
// * 过期时间 | ||
// */ | ||
// private AtomicLong EXPIRE_TIMES = new AtomicLong(); | ||
// | ||
// /** | ||
// * 企业自建应用token | ||
// */ | ||
// private String tenantAccessToken = ""; | ||
// | ||
// /** | ||
// * 应用ID | ||
// */ | ||
// private String appId; | ||
// | ||
// /** | ||
// * 应用名称 | ||
// */ | ||
// private String appSecret; | ||
// | ||
// | ||
// public AuthApiService(final String appId, final String appSecret) { | ||
// this.appId = appId; | ||
// this.appSecret = appSecret; | ||
// } | ||
// | ||
// /** | ||
// * 企业自建应用token | ||
// * | ||
// * @return | ||
// */ | ||
// public String getTenantAccessToken() { | ||
// if (StrUtil.isNotBlank(tenantAccessToken) && System.currentTimeMillis() < EXPIRE_TIMES.get()) { | ||
// return this.tenantAccessToken; | ||
// } | ||
// | ||
// synchronized (this) { | ||
// final TenantAccessTokenGetReqDTO tokenGetReqDTO = new TenantAccessTokenGetReqDTO(appId, appSecret); | ||
// final TenantAccessTokenGetRespDTO tokenRespDTO = HttpUtil.post(BASE_URL + "/v3/tenant_access_token/internal", | ||
// tokenGetReqDTO, TenantAccessTokenGetRespDTO.class); | ||
// if (tokenGetReqDTO == null && Strings.isBlank(tokenRespDTO.getTenantAccessToken())) { | ||
// throw new FeishuException(FeishuErrorCodeEnum.TABLE_ERROR, "获取飞书token出错"); | ||
// } | ||
// | ||
// // 设置过期时间,提前半小时失效 | ||
// final long expireMills = TimeUnit.SECONDS.toMillis(tokenRespDTO.getExpire() - 1800); | ||
// EXPIRE_TIMES.set(System.currentTimeMillis() + expireMills); | ||
// this.tenantAccessToken = tokenRespDTO.getTenantAccessToken(); | ||
// return this.tenantAccessToken; | ||
// } | ||
// } | ||
// | ||
//} |
2 changes: 1 addition & 1 deletion
2
...nt-feishu/src/main/java/io/fluent/wrappers/feishu/bitable/dto/req/BiFieldQueryReqDTO.java
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
2 changes: 1 addition & 1 deletion
2
...shu/src/main/java/io/fluent/wrappers/feishu/bitable/dto/req/BiTableRecordQueryReqDTO.java
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
Oops, something went wrong.