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

Refactor computer: abstract computer-api from computer-core #196

Merged
merged 4 commits into from
Nov 24, 2022

Conversation

coderzc
Copy link
Member

@coderzc coderzc commented Nov 23, 2022

  • Abstract computer-api from computer-core.
  • Remove com/baidu/hugegraph/computer/driver/config/ComputerOptions
  • Make computer-algorithm and computer-driver only depend on computer-api.

@coderzc coderzc force-pushed the refactor_computer branch 6 times, most recently from 28e451b to e0ac55b Compare November 23, 2022 07:49
@codecov
Copy link

codecov bot commented Nov 23, 2022

Codecov Report

Merging #196 (7500280) into master (8b7dbd6) will decrease coverage by 0.24%.
The diff coverage is 75.75%.

@@             Coverage Diff              @@
##             master     #196      +/-   ##
============================================
- Coverage     86.07%   85.82%   -0.25%     
+ Complexity     3240     3239       -1     
============================================
  Files           345      344       -1     
  Lines         12292    12106     -186     
  Branches       1097     1097              
============================================
- Hits          10580    10390     -190     
- Misses         1182     1187       +5     
+ Partials        530      529       -1     
Impacted Files Coverage Δ
...ality/betweenness/BetweennessCentralityParams.java 100.00% <ø> (ø)
...entrality/closeness/ClosenessCentralityParams.java 100.00% <ø> (ø)
...ithm/centrality/degree/DegreeCentralityParams.java 100.00% <ø> (ø)
.../algorithm/centrality/pagerank/PageRankParams.java 100.00% <ø> (ø)
...omputer/algorithm/community/kcore/KcoreParams.java 100.00% <ø> (ø)
...ph/computer/algorithm/community/lpa/LpaParams.java 100.00% <ø> (ø)
...m/community/trianglecount/TriangleCountParams.java 100.00% <ø> (ø)
...ph/computer/algorithm/community/wcc/WccParams.java 100.00% <ø> (ø)
...h/rings/filter/RingsDetectionWithFilterParams.java 100.00% <ø> (ø)
.../hugegraph/computer/algorithm/AlgorithmParams.java 85.71% <0.00%> (-14.29%) ⬇️
... and 32 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@coderzc coderzc self-assigned this Nov 23, 2022
@coderzc coderzc added this to the 1.0.0 milestone Nov 23, 2022
@javeme
Copy link
Contributor

javeme commented Nov 23, 2022

The code looks more reasonable than before

@coderzc coderzc requested a review from javeme November 24, 2022 06:56
Copy link
Member

@imbajin imbajin left a comment

Choose a reason for hiding this comment

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

the network is so bad

@imbajin imbajin merged commit 5320190 into master Nov 24, 2022
@imbajin imbajin deleted the refactor_computer branch November 24, 2022 14:59
coderzc added a commit that referenced this pull request Nov 24, 2022
* address comment
* improve pom and options
imbajin added a commit that referenced this pull request Nov 25, 2022
* improve package

* Refactor computer: abstract computer-api from computer-core (#196)

* address comment
* improve pom and options

* fix package

* improve build image

* improve start-computer.sh

* improve log file

* improve start-computer.sh

* improve build image

* trigger maven cache invalidation

* Update ci.yml

Co-authored-by: imbajin <jin@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants