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

New version #70

Merged
merged 45 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
0b66a62
Match authors to openalex schema
alepbloyd Sep 26, 2024
8dc71b9
AuthorsIds spec
alepbloyd Sep 26, 2024
9d75972
Add instutions relationships
alepbloyd Sep 26, 2024
d9024ba
temporarily remove nodes and edges, add work relationships
alepbloyd Sep 26, 2024
f4a8e50
Add models to match openalex db
alepbloyd Sep 30, 2024
a72af23
Add db migrations to match openalex db
alepbloyd Sep 30, 2024
76f6e2e
Add model tests
alepbloyd Sep 30, 2024
142ceea
Add concepts_ancestors
alepbloyd Sep 30, 2024
dc5acec
Add load institutions, institutions_geos, institutions_ids rake tasks
alepbloyd Oct 2, 2024
014f429
change migrations to use bigint fields
alepbloyd Oct 2, 2024
5897962
update models for data import
alepbloyd Oct 3, 2024
b547584
start reworking graphql, institutions
alepbloyd Oct 4, 2024
5b08a64
start to rework model tests
alepbloyd Oct 4, 2024
83bf2d9
work on topics/works relationships
alepbloyd Oct 4, 2024
858368f
Add data_import rake tasks
alepbloyd Oct 16, 2024
a94386d
Add migrations
alepbloyd Oct 16, 2024
73dd524
Start of reworking tests
alepbloyd Oct 16, 2024
91fe7d9
update gemfile
alepbloyd Oct 16, 2024
96a37c4
Add addition gql types
alepbloyd Oct 16, 2024
bb571cc
temp remove user context for development
alepbloyd Oct 16, 2024
ad2f2f7
temp db yml and routes updates
alepbloyd Oct 16, 2024
83b4d8c
Add topics import
alepbloyd Oct 17, 2024
36d1c0c
Migrations and models for work-author-institution relationships
alepbloyd Oct 30, 2024
13e2f2c
Reworking migrations
alepbloyd Nov 11, 2024
b5d4614
Reworking loading rake tasks
alepbloyd Nov 11, 2024
23aa897
Updated migrations for full data snapshot
alepbloyd Dec 4, 2024
d07f8ba
Update data_import rake tasks
alepbloyd Dec 4, 2024
669edc9
Update models for full snapshot
alepbloyd Dec 4, 2024
33b98f5
Fix many-to-many self referrential join for works/citations/references
alepbloyd Dec 5, 2024
d021170
update author model with author_openalex_id
alepbloyd Dec 5, 2024
4dbbd5a
Remove _api from schema name
alepbloyd Dec 5, 2024
915a2e9
Start of reworking gql types
alepbloyd Dec 6, 2024
45f6a8b
update worktype
alepbloyd Dec 6, 2024
7eb78ba
new generated types, need to pare back
alepbloyd Dec 6, 2024
c8eb308
addition author and institution indexing
alepbloyd Dec 18, 2024
babe356
updated schema
alepbloyd Dec 18, 2024
a15e559
remove concepts models
alepbloyd Dec 19, 2024
8498d5c
Remove works_concept and works_mesh models
alepbloyd Dec 19, 2024
2459280
add topics
alepbloyd Dec 19, 2024
997f3cc
work_topics migration
alepbloyd Dec 19, 2024
de3d2b3
Fix all text -> bool castings resulting in false
alepbloyd Jan 2, 2025
1482675
rename to bookworm
alepbloyd Jan 2, 2025
4eeb083
Work on frontend simplification and connection with backend
alepbloyd Jan 16, 2025
0d8490f
misc other fixes for loading openalex snapshot version
alepbloyd Jan 16, 2025
6b952f2
Merge branch 'loading-openalex-snapshot' of github.com:gwu-libraries/…
alepbloyd Jan 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions rails/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ WORKDIR /rails

# Set production environment
ENV RAILS_ENV="production" \
RAILS_MASTER_KEY=$RAILS_MASTER_KEY \
BUNDLE_DEPLOYMENT="1" \
BUNDLE_PATH="/usr/local/bundle" \
BUNDLE_WITHOUT="development"
Expand Down
2 changes: 0 additions & 2 deletions rails/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,3 @@ group :development do
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"
end


Empty file added rails/README.md
Empty file.
4 changes: 2 additions & 2 deletions rails/app/controllers/graphql_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def execute
operation_name = params[:operationName]
context = {
# Query context goes here, for example:
current_user: current_user
# current_user: current_user
}

result =
BookWormApiSchema.execute(query, variables:, context:, operation_name:)
BookWormSchema.execute(query, variables:, context:, operation_name:)

render json: result
rescue StandardError => e
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class BookWormApiSchema < GraphQL::Schema
class BookWormSchema < GraphQL::Schema
mutation(Types::MutationType)
query(Types::QueryType)

Expand Down
85 changes: 0 additions & 85 deletions rails/app/graphql/mutations/add_author_works.rb

This file was deleted.

109 changes: 0 additions & 109 deletions rails/app/graphql/mutations/add_citations.rb

This file was deleted.

103 changes: 0 additions & 103 deletions rails/app/graphql/mutations/add_references.rb

This file was deleted.

Loading
Loading