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: use swagger for table model in search #110

Merged
merged 3 commits into from
Jun 9, 2020

Conversation

feng-tao
Copy link
Member

@feng-tao feng-tao commented Jun 8, 2020

Summary of Changes

Use swagger for table model in search to make it consistent.

Tests

What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line

Documentation

What documentation did you add or modify and why? Add any relevant links then remove this line

CheckList

Make sure you have checked all steps below to ensure a timely review.

  • PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"
  • PR includes a summary of changes.
  • PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
  • In case of new functionality, my PR adds documentation that describes how to use it.
    • All the public functions and the classes in the PR contain docstrings that explain what it does
  • PR passes make test

@feng-tao feng-tao force-pushed the tfeng_table_swagger branch from 8a9dd7d to ffce8be Compare June 8, 2020 19:58
@codecov-commenter
Copy link

codecov-commenter commented Jun 8, 2020

Codecov Report

Merging #110 into master will increase coverage by 0.08%.
The diff coverage is 84.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
+ Coverage   75.20%   75.28%   +0.08%     
==========================================
  Files          17       17              
  Lines         613      615       +2     
  Branches       76       77       +1     
==========================================
+ Hits          461      463       +2     
  Misses        127      127              
  Partials       25       25              
Impacted Files Coverage Δ
search_service/api/table.py 100.00% <ø> (ø)
search_service/proxy/base.py 68.18% <ø> (ø)
search_service/proxy/atlas.py 49.03% <33.33%> (ø)
search_service/models/table.py 100.00% <100.00%> (ø)
search_service/proxy/elasticsearch.py 76.57% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e02a563...95741a3. Read the comment docs.

jinhyukchang
jinhyukchang previously approved these changes Jun 8, 2020
Copy link
Contributor

@jinhyukchang jinhyukchang left a comment

Choose a reason for hiding this comment

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

Looks good.

setup.py Outdated
@@ -2,7 +2,7 @@

from setuptools import setup, find_packages

__version__ = '2.3.3'
__version__ = '2.3.4rc0'
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't forget to remove rc0

Copy link
Member Author

Choose a reason for hiding this comment

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

will test on staging first :)

Copy link
Member Author

Choose a reason for hiding this comment

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

works

Copy link
Member

@Golodhros Golodhros left a comment

Choose a reason for hiding this comment

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

LGTM

@feng-tao feng-tao requested review from Golodhros and ttannis June 9, 2020 00:46
@feng-tao feng-tao merged commit a56bea6 into master Jun 9, 2020
@feng-tao feng-tao deleted the tfeng_table_swagger branch June 9, 2020 00:46
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.

4 participants