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

[WIP]Add updateTrustedDomain GraphQL API #276

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

henry0715-dev
Copy link
Contributor

Closes #2

@henry0715-dev
Copy link
Contributor Author

The pr below should be merged first.
#258

@@ -522,6 +522,9 @@ struct MockAgentManager {}
#[cfg(test)]
#[async_trait::async_trait]
impl AgentManager for MockAgentManager {
async fn broadcast_trusted_domains(&self) -> Result<(), anyhow::Error> {
Ok(())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The broadcast_trusted_domains function in MockAgentManager has been modified to return Ok(()) for the purpose of executing test code

@sophie-cluml sophie-cluml removed the request for review from sehkone August 22, 2024 09:36
@henry0715-dev henry0715-dev changed the title [DRAFT] Add updateTrustedDomain GraphQL API [Draft] Add updateTrustedDomain GraphQL API Aug 22, 2024
new.name
};

let agent_manager = ctx.data::<BoxedAgentManager>()?;
Copy link
Contributor Author

@henry0715-dev henry0715-dev Aug 22, 2024

Choose a reason for hiding this comment

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

@sophie-cluml
It is necessary to determine whether it is important to use broadcasts.
It doesn't seem to be used in the source in review-web, but I think if it's an unnecessary source, it's better to remove it.
If there is an AgentManager implementation in the review, we will keep it as it is.

@henry0715-dev henry0715-dev changed the title [Draft] Add updateTrustedDomain GraphQL API Add updateTrustedDomain GraphQL API Aug 27, 2024
@henry0715-dev henry0715-dev marked this pull request as ready for review August 27, 2024 00:11
@sophie-cluml
Copy link
Contributor

Could you rebase please?

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.05%. Comparing base (69e2db0) to head (63f58fa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #276      +/-   ##
==========================================
+ Coverage   61.58%   62.05%   +0.47%     
==========================================
  Files          66       66              
  Lines       11630    11741     +111     
==========================================
+ Hits         7162     7286     +124     
+ Misses       4468     4455      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@henry0715-dev henry0715-dev changed the title Add updateTrustedDomain GraphQL API [WIP]Add updateTrustedDomain GraphQL API Aug 29, 2024
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.

trusted domains목록을 수정할 수 있는 GraphQL API 구현
2 participants