-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SOLR/API/IMPORTER - major infrastructure update (#271)
* SOLR/API/IMPORTER - major infrastructure update Signed-off-by: Kial Jinnah <kialj876@gmail.com> * cleanup Signed-off-by: Kial Jinnah <kialj876@gmail.com> * fix test setup attempt Signed-off-by: Kial Jinnah <kialj876@gmail.com> * downgrade deps to be the same as bor Signed-off-by: Kial Jinnah <kialj876@gmail.com> --------- Signed-off-by: Kial Jinnah <kialj876@gmail.com>
- Loading branch information
Showing
240 changed files
with
5,513 additions
and
26,184 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,4 +131,8 @@ search-solr/test_solr | |
|
||
.DS_Store | ||
|
||
.history | ||
.history | ||
|
||
__pycache__ | ||
|
||
.python-version |
This file contains 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
This file contains 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
42 changes: 42 additions & 0 deletions
42
search-api/migrations/versions/20240723_131259_eaf25b9a20bf_.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
"""empty message | ||
Revision ID: eaf25b9a20bf | ||
Revises: c10f3d4b2262 | ||
Create Date: 2024-07-23 13:12:59.736684 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = 'eaf25b9a20bf' | ||
down_revision = 'c10f3d4b2262' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('solr_doc_events', schema=None) as batch_op: | ||
batch_op.add_column(sa.Column('event_last_update', sa.DateTime(timezone=True), nullable=True)) | ||
|
||
with op.batch_alter_table('users', schema=None) as batch_op: | ||
batch_op.drop_index('ix_user_idp_userid') | ||
batch_op.drop_constraint('users_idp_userid_key', type_='unique') | ||
batch_op.create_index(batch_op.f('ix_users_idp_userid'), ['idp_userid'], unique=True) | ||
|
||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('users', schema=None) as batch_op: | ||
batch_op.drop_index(batch_op.f('ix_users_idp_userid')) | ||
batch_op.create_unique_constraint('users_idp_userid_key', ['idp_userid']) | ||
batch_op.create_index('ix_user_idp_userid', ['idp_userid'], unique=True) | ||
|
||
with op.batch_alter_table('solr_doc_events', schema=None) as batch_op: | ||
batch_op.drop_column('event_last_update') | ||
|
||
# ### end Alembic commands ### |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,66 @@ | ||
Babel==2.12.1 | ||
Flask-Cors==3.0.10 | ||
Babel==2.15.0 | ||
Flask-Cors==4.0.0 | ||
Flask-Migrate==4.0.4 | ||
Flask-Moment==1.0.5 | ||
Flask-SQLAlchemy==3.0.3 | ||
Flask==2.2.3 | ||
Jinja2==3.1.2 | ||
Mako==1.2.4 | ||
MarkupSafe==2.1.2 | ||
SQLAlchemy==2.0.6 | ||
Werkzeug==2.2.3 | ||
alembic==1.10.2 | ||
attrs==22.2.0 | ||
blinker==1.5 | ||
cachelib==0.10.2 | ||
cachetools==5.3.0 | ||
certifi==2022.12.7 | ||
charset-normalizer==3.1.0 | ||
click==8.1.3 | ||
Flask-Moment==1.0.6 | ||
Flask-SQLAlchemy==3.0.5 | ||
Flask==2.3.2 | ||
Jinja2==3.1.4 | ||
Mako==1.3.5 | ||
MarkupSafe==2.1.5 | ||
SQLAlchemy==2.0.19 | ||
Werkzeug==2.3.6 | ||
alembic==1.13.2 | ||
attrs==23.2.0 | ||
blinker==1.8.2 | ||
cachelib==0.13.0 | ||
cachetools==5.4.0 | ||
certifi==2024.7.4 | ||
charset-normalizer==3.3.2 | ||
click==8.1.7 | ||
datedelta==1.4 | ||
dpath==2.1.4 | ||
ecdsa==0.18.0 | ||
dpath==2.2.0 | ||
ecdsa==0.19.0 | ||
expiringdict==1.2.2 | ||
flask-babel==3.0.1 | ||
flask-babel==4.0.0 | ||
flask-jwt-oidc==0.3.0 | ||
google-api-core==2.11.0 | ||
google-auth-oauthlib==1.0.0 | ||
google-auth==2.16.2 | ||
google-cloud-core==2.3.2 | ||
google-cloud-pubsub==2.15.0 | ||
google-cloud-storage==2.7.0 | ||
google-api-core==2.19.1 | ||
google-auth-oauthlib==1.2.1 | ||
google-auth==2.32.0 | ||
google-cloud-core==2.4.1 | ||
google-cloud-pubsub==2.22.0 | ||
google-cloud-storage==2.17.0 | ||
google-crc32c==1.5.0 | ||
google-resumable-media==2.4.1 | ||
googleapis-common-protos==1.58.0 | ||
greenlet==2.0.2 | ||
grpc-google-iam-v1==0.12.6 | ||
grpcio-status==1.51.3 | ||
grpcio==1.51.3 | ||
gunicorn==20.1.0 | ||
idna==3.4 | ||
itsdangerous==2.1.2 | ||
google-resumable-media==2.7.1 | ||
googleapis-common-protos==1.63.2 | ||
grpc-google-iam-v1==0.13.1 | ||
grpcio-status==1.65.1 | ||
grpcio==1.65.1 | ||
gunicorn==22.0.0 | ||
idna==3.7 | ||
itsdangerous==2.2.0 | ||
jsonschema==3.2.0 | ||
launchdarkly-server-sdk==8.1.1 | ||
launchdarkly-server-sdk==8.1.4 | ||
oauthlib==3.2.2 | ||
packaging==23.0 | ||
proto-plus==1.22.2 | ||
protobuf==4.22.1 | ||
psycopg2-binary==2.9.5 | ||
packaging==24.1 | ||
proto-plus==1.24.0 | ||
protobuf==5.27.2 | ||
psycopg2-binary==2.9.9 | ||
pyRFC3339==1.1 | ||
pyasn1-modules==0.2.8 | ||
pyasn1==0.4.8 | ||
pyrsistent==0.19.3 | ||
python-dateutil==2.8.2 | ||
python-dotenv==1.0.0 | ||
pyasn1==0.6.0 | ||
pyasn1_modules==0.4.0 | ||
pyrsistent==0.20.0 | ||
python-dateutil==2.9.0.post0 | ||
python-dotenv==1.0.1 | ||
python-jose==3.3.0 | ||
pytz==2022.7.1 | ||
requests-oauthlib==1.3.1 | ||
requests==2.28.2 | ||
pytz==2024.1 | ||
requests-oauthlib==2.0.0 | ||
requests==2.31.0 | ||
rsa==4.9 | ||
semver==2.13.0 | ||
sentry-sdk==1.20.0 | ||
sentry-sdk==2.10.0 | ||
six==1.16.0 | ||
strict-rfc3339==0.7 | ||
typing_extensions==4.5.0 | ||
urllib3==1.26.15 | ||
git+https://github.com/bcgov/registry-schemas.git@1.5.3#egg=registry_schemas | ||
typing_extensions==4.12.2 | ||
urllib3==1.26.16 | ||
git+https://github.com/daxiom/simple-cloudevent.py.git@0.0.2 | ||
git+https://github.com/daxiom/flask-pub.git@0.0.4 | ||
git+https://github.com/daxiom/flask-pub.git@0.0.4 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
git+https://github.com/bcgov/registry-schemas.git@1.5.3#egg=registry_schemas | ||
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.