Skip to content

V3 add audit events for route bindings 175228173#1945

Merged
FelisiaM merged 6 commits intomasterfrom
v3_add_audit_events_for_route_bindings_175228173
Nov 6, 2020
Merged

V3 add audit events for route bindings 175228173#1945
FelisiaM merged 6 commits intomasterfrom
v3_add_audit_events_for_route_bindings_175228173

Conversation

@FelisiaM
Copy link
Copy Markdown
Member

@FelisiaM FelisiaM commented Nov 5, 2020

No description provided.

@cf-gitbot
Copy link
Copy Markdown

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/175600096

The labels on this github issue will be updated when the story is started.


def event_repository
Repositories::ServiceBindingEventRepository
Repositories::ServiceGenericBindingEventRepository.new('service_binding')
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should the parameter be a constant defined somewhere in the ServiceGenericBindingEventRepository? I can see a world where we decide to update it to something different and have to remember to change in multiple places 🤔


def event_repository
Repositories::ServiceBindingEventRepository
Repositories::ServiceGenericBindingEventRepository.new('service_binding')
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Everytime this method is called a new ServiceGenericBindingEventRepository will be created. It seems it's only being called once in the action, so not a big deal, but may be interesting to cache this one?

Comment thread app/actions/service_route_binding_delete.rb
@FelisiaM FelisiaM merged commit 648958d into master Nov 6, 2020
@tjvman tjvman deleted the v3_add_audit_events_for_route_bindings_175228173 branch August 24, 2021 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants