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

Server #46

Merged
merged 139 commits into from
Feb 22, 2018
Merged

Server #46

merged 139 commits into from
Feb 22, 2018

Conversation

leodido
Copy link
Collaborator

@leodido leodido commented Jan 10, 2018

No description provided.

@@ -81,3 +81,43 @@ func TestResourceTypeRepository(t *testing.T) {

// (todo): test lock
}

// (todo): test list
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator

@leogr leogr left a 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",
Copy link
Collaborator

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Adding a TODO. Thanks.

@leodido leodido self-assigned this Jan 24, 2018
Leonardo Di Donato and others added 24 commits January 26, 2018 16:54
@leodido
Copy link
Collaborator Author

leodido commented Feb 22, 2018

We are almost there guys ...

cc @fabbricadigitale/openinnovation

@leodido leodido mentioned this pull request Feb 22, 2018
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
@leodido leodido merged commit 236ccb5 into develop Feb 22, 2018
@alelb alelb deleted the feature/server branch February 23, 2018 11:44
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

5 participants