Skip to content

Conversation

@funrun11
Copy link
Owner

@funrun11 funrun11 commented Jul 5, 2017

TODO:

  • proxify grafana connection
  • session management
  • grafana/keystone state cash policy
  • implement openstack authentication
  • define openstack role to grafana role mapping in config file
  • implement users and organization creation
  • cover functionality with auto tests
  • package new service

This change is Reviewable

@funrun11 funrun11 changed the title WIP.Auth proxy Auth proxy Jul 11, 2017
@funrun11
Copy link
Owner Author

@kbhonagiri16 @oleksiishyman please take a look

@oleksiishyman
Copy link
Contributor

I see lot's of already merged code in changes section

@funrun11 funrun11 changed the title Auth proxy WIP. Auth proxy Jul 11, 2017
grafanaStateTTL: grafanaStateTTL, rolesMapping: rolesMapping}, nil
}

func (oh *OpenStackAuthHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc) {
Copy link
Contributor

Choose a reason for hiding this comment

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

generally 'w' is used as response writer everywhere and also instead of 'oh' can you do it as 'handler'. this is just to maintain same pattern all over the code base.

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.

4 participants