Conversation
| response := httptest.NewRecorder() | ||
| request := httptest.NewRequest( | ||
| "POST", | ||
| "/v1/auth/basic/login", |
There was a problem hiding this comment.
Remove this changes from commit "fix typo in Authentication" because it's not a typo.
| response := httptest.NewRecorder() | ||
| request := httptest.NewRequest( | ||
| "POST", | ||
| "/v1/auth/basic/login", |
There was a problem hiding this comment.
Remove this changes from commit "fix typo in Authentication" because it's not a typo.
| response := httptest.NewRecorder() | ||
| request := httptest.NewRequest( | ||
| "POST", | ||
| "/v1/auth/basic/login", |
There was a problem hiding this comment.
Remove this changes from commit "fix typo in Authentication" because it's not a typo.
| response := httptest.NewRecorder() | ||
| request := httptest.NewRequest( | ||
| "POST", | ||
| "/v1/auth/basic/login", |
There was a problem hiding this comment.
Remove this changes from commit "fix typo in Authentication" because it's not a typo.
httperrors/httperrors.go
Outdated
| } | ||
|
|
||
| // A constructor for an HTTPError "Bad Request" | ||
| func NewBadRequestError(err string, msg string) HTTPError { |
There was a problem hiding this comment.
Remove this changes from commit "fix typo in Authentication" because it's not a typo.
tools/badctl/README.md
Outdated
| @@ -0,0 +1,84 @@ | |||
| # badctl: the BadAas controller | |||
There was a problem hiding this comment.
replace all "BadAas" by "Badaas"
tools/badctl/README.md
Outdated
| @@ -0,0 +1,84 @@ | |||
| # badctl: the BadAas controller | |||
|
|
|||
| `badctl` is the command line tool that makes it possible to configure and run your BadAas applications easily. | |||
There was a problem hiding this comment.
rename "badctl" by "badaas-cli"
tools/badctl/README.md
Outdated
| badctl help [command] | ||
| ``` | ||
|
|
||
| ### gen |
There was a problem hiding this comment.
Rework on title to make it comprehensible
tools/badctl/cmd/gen.go
Outdated
| @@ -0,0 +1,94 @@ | |||
| package cmd | |||
There was a problem hiding this comment.
Missing all documentation on this file
tools/badctl/cmd/gen_test.go
Outdated
| @@ -0,0 +1,41 @@ | |||
| package cmd | |||
There was a problem hiding this comment.
bad test file, because we want to have readable scenario like:
generateDockerFiles should generate all wanted file
copyDir should stop if os.IsNotExists
(...)
I don't see any test case in your test, for me you don't check success or errors cases.
02962d5 to
3c6cee9
Compare
3c6cee9 to
f523952
Compare
|
Kudos, SonarCloud Quality Gate passed! |
230dff8 to
f523952
Compare








Related with the pull requests ditrit/badaas-example#8 and ditrit/badaas-cli#1