Skip to content

Commit

Permalink
update to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
qdriven committed Apr 28, 2024
1 parent 01ef888 commit 774dfbe
Show file tree
Hide file tree
Showing 433 changed files with 26,459 additions and 496 deletions.
1 change: 0 additions & 1 deletion .erupt/erupt-job.loaded

This file was deleted.

1 change: 0 additions & 1 deletion .erupt/erupt-magic-api.loaded

This file was deleted.

1 change: 0 additions & 1 deletion .erupt/erupt-upms-user.loaded

This file was deleted.

1 change: 0 additions & 1 deletion .erupt/erupt-upms.loaded

This file was deleted.

1 change: 0 additions & 1 deletion .erupt/fluent-github.loaded

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.idea/
.erupt/
.env
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
Expand All @@ -11,6 +13,7 @@ target/
*.iws
*.iml
*.ipr
srcipts/jaxb-ri/*

### Eclipse ###
.apt_generated
Expand Down
3 changes: 3 additions & 0 deletions docs/ai-help/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ADD API Support

- Generators
4 changes: 4 additions & 0 deletions docs/bpm/README.md
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)
3 changes: 3 additions & 0 deletions docs/cicd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# README

- [cds](https://github.com/ovh/cds.git)
3 changes: 3 additions & 0 deletions docs/data/database-client.md
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)
9 changes: 9 additions & 0 deletions docs/data/tis.md
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


2 changes: 2 additions & 0 deletions docs/features/authing-integrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Authing Integration

6 changes: 6 additions & 0 deletions docs/features/ngrox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ngrox

```shell
brew install ngrok/ngrok/ngrok
```

3 changes: 3 additions & 0 deletions docs/framework/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# README

- [caf-framework](https://gitee.com/ubml/caf-framework)
37 changes: 37 additions & 0 deletions docs/low-code/README.md
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)
42 changes: 42 additions & 0 deletions docs/tools/1-akita.md
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)

This file was deleted.

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;
// }
// }
//
//}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.fluent.wrappers.feishu.bitable.dto.req;

import com.cloudminds.data.smith.external.feishu.common.dto.PageReqDTO;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.fluent.wrappers.feishu.common.dto.PageReqDTO;
import lombok.Data;
import lombok.NoArgsConstructor;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.fluent.wrappers.feishu.bitable.dto.req;

import com.cloudminds.data.smith.external.feishu.common.dto.PageReqDTO;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.fluent.wrappers.feishu.common.dto.PageReqDTO;
import lombok.Data;
import lombok.NoArgsConstructor;

Expand Down
Loading

0 comments on commit 774dfbe

Please sign in to comment.