Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync: hosted cloud #642

Merged
merged 233 commits into from
Mar 27, 2023
Merged

sync: hosted cloud #642

merged 233 commits into from
Mar 27, 2023

Conversation

yort-feng
Copy link

No description provided.

boris-w and others added 30 commits March 2, 2023 16:42
…634)

Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

Signed-off-by: wangkailang <wangkailang@vikadata.com>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

---------

Signed-off-by: wangkailang <wangkailang@vikadata.com>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

---------

Co-authored-by: Chambers <chenbochao@vikadata.com>
Co-authored-by: 苏简 <JaneSu@AriadeMac-mini.local>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->
[feat: 优化PATCH
/records接口](https://github.com/vikadata/vikadata/issues/3657)'s
task:增加日志,跟进排查具体耗时分布
…… (#3664)

…layed.



Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

Co-authored-by: Kilian <wangkailang@users.noreply.github.com>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

---------

Signed-off-by: wangkailang <wangkailang@vikadata.com>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

---------

Signed-off-by: wangkailang <wangkailang@vikadata.com>
Co-authored-by: Aria <jianweisummer@gmail.com>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

Signed-off-by: wangkailang <wangkailang@vikadata.com>
JaneSu and others added 17 commits March 24, 2023 11:38
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->
troubleshoot high CPU and memory usage in the `room-server` issue

# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
disable open telemetry module
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

Co-authored-by: Aria <jianweisummer@gmail.com>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Signed-off-by: wangkailang <wangkailang@vikadata.com>
Co-authored-by: Kilian <wangkailang@users.noreply.github.com>
Co-authored-by: SkyHuang <huangchangpeng@vikadata.com>
Co-authored-by: Chambers <chenbochao@vikadata.com>
# Why? 
百度如流私有化部署场景,发现在调用接口时候,出现后端丢失参数无法解析,导致调用链失败,经排查,如流特定的AOP在拦截返回数据时存在错误使用


# How?
非同步场景下调用ServletRequest代码都移除掉,替换存储器使用
@yort-feng yort-feng requested a review from a team March 27, 2023 08:34
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.


private setNode(nodesMap: ITreeNodeMap, group: string, key: string, value: CascaderChildren) {
const keySha1 = sha1(key);
nodesMap[group]![keySha1] = value;

Check warning

Code scanning / CodeQL

Prototype-polluting assignment

This assignment may alter Object.prototype if a malicious '__proto__' string is injected from [user controlled input](1).
describe('getCascaderLinkedFields', () => {
it('get all permission fields - should return all fields', async() => {
const datasheet = await cascaderDataBusService.getDatasheet('datasheetId');
const view = await cascaderDataBusService.getView(datasheet!, { auth: { token: 'token' }, viewId: 'viewId' });

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "token" is used as [authorization header](1).

it('have unreadable field--should remove unreadable fields', async() => {
const datasheet = await cascaderDataBusService.getDatasheet('datasheetId');
const view = await cascaderDataBusService.getView(datasheet!, { auth: { token: 'unreadableToken' }, viewId: 'viewId' });

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "unreadableToken" is used as [authorization header](1).

it('without field permission--should return all fields', async() => {
const datasheet = await cascaderDataBusService.getDatasheet('datasheetId');
const view = await cascaderDataBusService.getView(datasheet!, { auth: { token: 'normalToken' }, viewId: 'viewId' });

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "normalToken" is used as [authorization header](1).
describe('getCascaderLinkedRecords', () => {
it('should return cascader list', async() => {
const datasheet = await cascaderDataBusService.getDatasheet('datasheetId');
const cascaderSourceDataView = await cascaderDataBusService.getView(datasheet!, { auth: { token: 'token' }, viewId: 'viewId' });

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "token" is used as [authorization header](1).
@yort-feng yort-feng merged commit 01384fa into develop Mar 27, 2023
@yort-feng yort-feng deleted the sync/hosted branch March 27, 2023 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet