-
Notifications
You must be signed in to change notification settings - Fork 30
Spelling #100
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
base: master
Are you sure you want to change the base?
Spelling #100
Changes from all commits
0b3b93a
686fe48
0686be7
45a62d0
4ccfac0
81f59f3
9be4806
70ef707
bec1855
05b6acf
8859b89
6103a92
4b035af
b5524b4
0a75d58
de27a1e
64a9de0
7d0247a
035f98e
e6ad658
5bd884f
bcf8042
9b4ef05
59387cb
9efbd90
b0ca0d0
d33173c
b15ab69
f2882b9
f1434ef
33490b4
a3fbb2b
b235f00
b83d7ac
4e48a25
a8b7c03
0ca5e46
c17ec56
8abb634
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,7 +90,7 @@ workflow: | |
|
|
||
| - name: create forwarding class | ||
| request: | ||
| path: /forwarding-classs | ||
| path: /forwarding-class | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
| method: POST | ||
| expected: | ||
| - 200 | ||
|
|
@@ -101,7 +101,7 @@ workflow: | |
|
|
||
| - name: try to create forwarding class with already used id | ||
| request: | ||
| path: /forwarding-classs | ||
| path: /forwarding-class | ||
| method: POST | ||
| expected: | ||
| - 400 | ||
|
|
@@ -114,7 +114,7 @@ workflow: | |
|
|
||
| - name: create second forwarding class | ||
| request: | ||
| path: /forwarding-classs | ||
| path: /forwarding-class | ||
| method: POST | ||
| expected: | ||
| - 200 | ||
|
|
@@ -159,7 +159,7 @@ workflow: | |
|
|
||
| - name: create forwarding class demo | ||
| request: | ||
| path: /forwarding-classs | ||
| path: /forwarding-class | ||
| method: POST | ||
| expected: | ||
| - 200 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -114,7 +114,7 @@ workflow: | |
|
|
||
| - name: create network policy with security group entries | ||
| request: | ||
| path: /network-policys | ||
| path: /network-policies | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
| method: POST | ||
| expected: | ||
| - 400 | ||
|
|
@@ -124,7 +124,7 @@ workflow: | |
|
|
||
| - name: create network policy with two the same rules | ||
| request: | ||
| path: /network-policys | ||
| path: /network-policies | ||
| method: POST | ||
| expected: | ||
| - 409 | ||
|
|
@@ -134,7 +134,7 @@ workflow: | |
|
|
||
| - name: create network policy with invalid protocol number | ||
| request: | ||
| path: /network-policys | ||
| path: /network-policies | ||
| method: POST | ||
| expected: | ||
| - 400 | ||
|
|
@@ -144,7 +144,7 @@ workflow: | |
|
|
||
| - name: create network policy with invalid protocol | ||
| request: | ||
| path: /network-policys | ||
| path: /network-policies | ||
| method: POST | ||
| expected: | ||
| - 400 | ||
|
|
@@ -154,7 +154,7 @@ workflow: | |
|
|
||
| - name: create valid network policy and check if rule uuid is filled | ||
| request: | ||
| path: /network-policys | ||
| path: /network-policies | ||
| method: POST | ||
| expected: | ||
| - 200 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,7 @@ test_data: | |
| simple_action: pass | ||
| admin_project_with_network_policy1: &admin_project_with_network_policy1 | ||
| <<: *admin_project | ||
| network_policys: | ||
| network_policies: | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
| - <<: *network_policy1 | ||
| network_policy2: &network_policy2 | ||
| fq_name: ["default", "5038dd12-9bf1-11e9-95a1-df91d98ff557", "policy2"] | ||
|
|
@@ -196,7 +196,7 @@ workflow: | |
| project: *demo_project | ||
| - name: create network policy 1 | ||
| request: | ||
| path: /network-policys | ||
| path: /network-policies | ||
| method: POST | ||
| expected: | ||
| - 200 | ||
|
|
@@ -215,7 +215,7 @@ workflow: | |
| - name: create network policy 2 | ||
| client: bob | ||
| request: | ||
| path: /network-policys | ||
| path: /network-policies | ||
| method: POST | ||
| expected: | ||
| - 200 | ||
|
|
@@ -590,32 +590,32 @@ workflow: | |
| - name: list network policy | ||
| request: | ||
| # TODO: parent_id is temporary fix as tests in gen_db_test.go are not cleaning database. | ||
| path: /network-policys?parent_id=47dd9220-9bf1-11e9-b422-538349e2da80 | ||
| path: /network-policies?parent_id=47dd9220-9bf1-11e9-b422-538349e2da80 | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
| method: GET | ||
| expected: | ||
| - 200 | ||
| expect: | ||
| network-policys: | ||
| network-policies: | ||
| - *network_policy1 | ||
| - name: list network policy by user bob | ||
| client: bob | ||
| request: | ||
| path: /network-policys | ||
| path: /network-policies | ||
| method: GET | ||
| expected: | ||
| - 200 | ||
| expect: | ||
| network-policys: | ||
| network-policies: | ||
| - *network_policy2 | ||
| - name: count network policies | ||
| request: | ||
| # TODO: parent_id is temporary fix as tests in gen_db_test.go are not cleaning database. | ||
| path: "/network-policys?parent_id=47dd9220-9bf1-11e9-b422-538349e2da80&count=true" | ||
| path: "/network-policies?parent_id=47dd9220-9bf1-11e9-b422-538349e2da80&count=true" | ||
| method: GET | ||
| expected: | ||
| - 200 | ||
| expect: | ||
| network-policys: | ||
| network-policies: | ||
| count: 1 | ||
|
|
||
| - name: update vn_blue with user-defined subnet | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -140,7 +140,7 @@ type dependencyTestAssertion func( | |
| cache *DB, | ||
| ) | ||
|
|
||
| type dependecyTestScenario struct { | ||
| type dependencyTestScenario struct { | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As this is a test file, I expect this is probably ok |
||
| name string | ||
| event *services.Event | ||
| assertion dependencyTestAssertion | ||
|
|
@@ -173,7 +173,7 @@ func TestDependencyResolution(t *testing.T) { | |
| } | ||
|
|
||
| // All the steps must be run in proper order | ||
| tests := []dependecyTestScenario{ | ||
| tests := []dependencyTestScenario{ | ||
| { | ||
| name: "Create vn_blue", | ||
| event: &services.Event{ | ||
|
|
@@ -340,7 +340,7 @@ func TestReadInterfaceAndMaxHistory(t *testing.T) { | |
| } | ||
|
|
||
| // All the steps must be run in proper order | ||
| tests := []dependecyTestScenario{ | ||
| tests := []dependencyTestScenario{ | ||
| { | ||
| name: "Create vn_blue", | ||
| event: &services.Event{ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ const ( | |
| defaultTimeout = 30 * time.Second | ||
| ) | ||
|
|
||
| // Config represents parameters of Сollector in the config file | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| // Config represents parameters of Collector in the config file | ||
| type Config struct { | ||
| Enabled bool | ||
| URL string | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this, so I expect this isn't a correct change