-
Notifications
You must be signed in to change notification settings - Fork 196
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
[WIP] created new endpoints to remove web ES awareness #530
Conversation
ad10ae2
to
609bf30
Compare
my ( $self, $c ) = @_; | ||
my @users = split /,/ => $c->req->parameters->{users}; | ||
$self->es_query_by_key( $c, 'user', \@users ); | ||
} |
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.
Should this be a role? It looks to be identical in two of these packages.
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.
slowly getting there :)
0ffc711
to
dcb7652
Compare
54edd9b
to
895bf7b
Compare
f8c6d76
to
3dd6bd6
Compare
3dd6bd6
to
56283c0
Compare
bc21f55
to
7e9e476
Compare
fe80721
to
3ad5aaa
Compare
most of this is currently happening in small chunks, closing the PR |
as discussed before, i'd like to start moving some ES queries done in metacpan-web to the API as new endpoints.
the idea is to hide the storage behind the API and allow consolidation of functionality between all API using tools (web, client, etc.)
this is just a first step (out of many) so the PR is mostly for the welcomed discussion.