-
Notifications
You must be signed in to change notification settings - Fork 1
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
Server #46
Server #46
Conversation
1e0c30d
to
83f24fa
Compare
589d95f
to
0e4f6ff
Compare
@@ -81,3 +81,43 @@ func TestResourceTypeRepository(t *testing.T) { | |||
|
|||
// (todo): test lock | |||
} | |||
|
|||
// (todo): test list |
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.
It was tested below, isn't it?
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.
Yeah, I'll remove this comment.
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.
It's ok for me, just some comments may be needed (see below)
server/server.go
Outdated
switch authenticationType { | ||
case strings.ToLower(HTTPBasic.String()): | ||
return gin.BasicAuth(gin.Accounts{ | ||
"admin": "admin", |
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.
Pls, fetch credentials from config or add a (todo)
just to do not forget
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.
Adding a TODO. Thanks.
GET /v2/Schemas/<id> GET /v2/ResourceTypes/<id> GET /v2/Schemas (missing check, implementation not complete) GET /v2/ResourceTypes (missing check, implementation not complete)
We are almost there guys ... cc @fabbricadigitale/openinnovation |
3dc1889
to
236cc33
Compare
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
236cc33
to
2264275
Compare
Co-authored-by: Alessandro La Bella <sandrone.lb@gmail.com>
No description provided.