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

doc: update develop.md #129

Merged
merged 2 commits into from
Dec 25, 2020
Merged

doc: update develop.md #129

merged 2 commits into from
Dec 25, 2020

Conversation

tokers
Copy link
Contributor

@tokers tokers commented Dec 24, 2020

Fixing #30.

@codecov-io
Copy link

codecov-io commented Dec 24, 2020

Codecov Report

Merging #129 (0e4ecc9) into master (38d98a7) will increase coverage by 0.56%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
+ Coverage   61.22%   61.79%   +0.56%     
==========================================
  Files          16       16              
  Lines         539      547       +8     
==========================================
+ Hits          330      338       +8     
  Misses        185      185              
  Partials       24       24              
Impacted Files Coverage Δ
pkg/api/server.go 74.07% <0.00%> (+10.91%) ⬆️

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 38d98a7...0e4ecc9. Read the comment docs.

Copy link
Contributor

@gxthrj gxthrj left a comment

Choose a reason for hiding this comment

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

I checked the license of postmanlabs/httpbin is ISC, which is live in harmony with Apache license.

@@ -89,12 +93,14 @@ spec:
http:
paths:
- backend:
serviceName: httpserver
serviceName: httpbin.default.svc.cluster.local
Copy link
Contributor

Choose a reason for hiding this comment

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

I found the port of httpbin container is 80, the port should be change to 80 instead of 8080.
Or we do need a service file to describe the port Mapping.

Copy link
Contributor Author

@tokers tokers Dec 24, 2020

Choose a reason for hiding this comment

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

OK, let me add the service/deployment description in doc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed @gxthrj .

@@ -115,7 +121,7 @@ spec:
http:
paths:
- backend:
serviceName: httpserver
serviceName: httpbin.default.svc.cluster.local
servicePort: 8080
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

@@ -165,7 +171,7 @@ kubectl apply -f - <<EOF
apiVersion: apisix.apache.org/v1
kind: ApisixUpstream # apisix upstream
metadata:
name: httpserver # default/httpserver
name: httpbin # default/httpbin
spec:
ports:
- port: 8080
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

@tokers
Copy link
Contributor Author

tokers commented Dec 25, 2020

@membphis Please take a look when you have time.

@moonming moonming merged commit e58e6d6 into apache:master Dec 25, 2020
@tokers tokers deleted the doc/develop-md branch December 25, 2020 07:25
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

4 participants