-
-
Notifications
You must be signed in to change notification settings - Fork 108
Implementation to aggregate statistical information #12 #128
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
e3fd895
Gem `faraday`
nalabjp db0afac
Draft implementaion of API client
nalabjp 04f645c
Create a table named `event_histories`
nalabjp 6ff7f21
Create a model named `EventHistory`
nalabjp 453d28f
Create a table named `dojo_event_services`
nalabjp 3669f2a
Create a model named `DojoEventService`
nalabjp b3d39bc
Add associations
nalabjp f3580de
Add timezone as `Asia/Tokyo`
nalabjp 3bc50c1
Draft implementation of importing data via API to `event_histories` t…
nalabjp dfdc16c
Fix
nalabjp c93dfb8
Support multiple requests
nalabjp 9eb61aa
Support a period for search conditions
nalabjp a4cb3ec
Support idempotency in re-running with same conditions
nalabjp d75d2fe
Rename a class name
nalabjp 8ba4506
Use instance variables instead of constants
nalabjp b1a5ad1
Fix typo
nalabjp 7197558
Create a task for the monthly aggregation
nalabjp 983d828
Want to see some search results
nalabjp cf033f8
Rake task for searching
nalabjp 70ef722
Fix typo
nalabjp 5168879
Migrate database on Travis CI
nalabjp ba6fa8f
Run RSpec on Travis CI
nalabjp 59fe612
Ruby 2.4.0 on Travis CI
nalabjp ec719e1
Cache bundler on Travis CI
nalabjp 0024192
Shared context for API stubs
nalabjp b7e8213
Remove nested Hash key
nalabjp 58bfebd
Add testing for `Statistics::Client`
nalabjp ab9736d
Add testing for `Statistics::Aggregation`
nalabjp 740ca73
Remove records of the target period before executing the aggregation
nalabjp 86b1f6c
Add description for `statistics:search`
nalabjp 563bd68
Remove needless configuration
nalabjp f44f78e
Remove needless configuration
nalabjp 0d72302
Fix association name
nalabjp 754cf52
Remove needless argument
nalabjp 0366800
Move to `.travis.yml`
nalabjp 9adb714
Add `NOT NULL` restriction
nalabjp d392c68
Change the column type of `dojo_event_services.name` to `integer` fro…
nalabjp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
こことL99、count: 100なので大丈夫そうですがevents個数がものすごく多いとスタック溢れそうですね
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.
そうですねー。
一応connpassはcount: 100がAPIの上限値なのでまぁ良いかなぁと判断しました。
doorkeeperは25固定です。