Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.

Conversation

@luiz-couto
Copy link
Contributor

@luiz-couto luiz-couto commented Oct 8, 2021

Description

Kind: Feature

Section: Python Client and examples

Summary: Added send request and handle route methods to the Inspr's python client to deal with routes. Also created a simple route demo example to test everything.

Changelog

  • added send new request function to python rest package. Now you can pass the method as a parameter.
  • created send request method in python client
  • created handle route method in python client
  • created a full route demo example
  • update lb sidecar to not crash when not finding the route env variables (added a return statement when an error occured)

@luiz-couto luiz-couto requested a review from a team as a code owner October 8, 2021 12:33
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 8, 2021
@codecov
Copy link

codecov bot commented Oct 8, 2021

Codecov Report

Merging #148 (dc82f36) into develop (964f017) will increase coverage by 0.86%.
The diff coverage is 91.51%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #148      +/-   ##
===========================================
+ Coverage    75.05%   75.91%   +0.86%     
===========================================
  Files          116      117       +1     
  Lines         6538     6756     +218     
===========================================
+ Hits          4907     5129     +222     
+ Misses        1391     1380      -11     
- Partials       240      247       +7     
Flag Coverage Δ
unittests 75.91% <91.51%> (+0.86%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/api/handlers/token_handler.go 5.63% <0.00%> (+0.15%) ⬆️
pkg/controller/client/auth.go 100.00% <ø> (ø)
pkg/utils/string_slice.go 70.21% <20.00%> (-3.60%) ⬇️
pkg/sidecars/server/handlers.go 50.60% <66.66%> (-6.55%) ⬇️
cmd/insprd/operators/nodes/converter.go 71.70% <70.00%> (-0.63%) ⬇️
pkg/rest/middleware.go 95.50% <73.33%> (-4.50%) ⬇️
pkg/sidecars/lbsidecar/handlers.go 80.79% <91.37%> (+3.99%) ⬆️
cmd/sidecars/kafka/client/reader.go 81.65% <92.30%> (+3.33%) ⬆️
cmd/insprctl/cli/apply_type.go 68.18% <100.00%> (+3.18%) ⬆️
cmd/insprd/memory/tree/dapp_utils.go 87.98% <100.00%> (+1.71%) ⬆️
... and 13 more

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 ba08870...dc82f36. Read the comment docs.

@luiz-couto luiz-couto removed the documentation Improvements or additions to documentation label Oct 8, 2021
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 8, 2021
@lucasABLima lucasABLima removed the documentation Improvements or additions to documentation label Oct 8, 2021
@luiz-couto luiz-couto merged commit 5531c7c into develop Oct 8, 2021
@luiz-couto luiz-couto deleted the story/CORE-593 branch October 8, 2021 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants