forked from openml-labs/server-demo
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/aiondemand/AIOD-rest-api …
…into feature/elastic_search
- Loading branch information
Showing
44 changed files
with
2,986 additions
and
637 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
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
Empty file.
Empty file.
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,15 @@ authors = [ | |
{name = "Taniya Das", email = "[email protected]"} | ||
] | ||
dependencies = [ | ||
"urllib3== 2.0.7", | ||
"urllib3== 2.1.0", | ||
"bibtexparser==1.4.1", | ||
"huggingface_hub==0.19.1", | ||
"huggingface_hub==0.19.4", | ||
"fastapi==0.104.1", | ||
"uvicorn==0.24.0.post1", | ||
"requests==2.31.0", | ||
"mysqlclient==2.2.0", | ||
"oic==1.6.0", | ||
"python-keycloak==3.3.0", | ||
"python-keycloak==3.7.0", | ||
"python-dotenv==1.0.0", | ||
"pytz==2023.3.post1", | ||
"pydantic_schemaorg==1.0.6", | ||
|
@@ -43,7 +43,7 @@ dev = [ | |
"pytest-dotenv==0.5.2", | ||
"pytest-xdist==3.4.0", | ||
"pre-commit==3.5.0", | ||
"responses==0.24.0", | ||
"responses==0.24.1", | ||
"starlette==0.27.0" | ||
] | ||
|
||
|
@@ -60,7 +60,9 @@ filterwarnings = [ | |
env_override_existing_values = 1 | ||
env_files = [ | ||
"src/.env", | ||
"src/tests/.env" | ||
"src/tests/.env", | ||
".env", # Only used if running from docker container | ||
"tests/.env" # Only used if running from docker container | ||
] | ||
|
||
|
||
|
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,14 @@ | ||
#!/bin/bash | ||
# convenience script to revert back to a clean state. | ||
|
||
DIR_SCRIPT=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
DIR_ROOT=$( dirname $DIR_SCRIPT ) | ||
DIR_DATA=$DIR_ROOT/data | ||
|
||
DIR_MYSQL=$DIR_DATA/mysql | ||
DIR_CONNECTORS=$DIR_DATA/connectors | ||
DIR_DELETION=$DIR_DATA/deletion | ||
|
||
find $DIR_CONNECTORS -type f ! -name .gitkeep -delete | ||
find $DIR_DELETION -type f ! -name .gitkeep -delete | ||
sudo rm -rf $DIR_MYSQL/* |
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
6 changes: 6 additions & 0 deletions
6
...s/example/resources/resource/contact.json → .../example/resources/resource/contacts.json
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,5 +1,11 @@ | ||
[ | ||
{ | ||
"platform": "example", | ||
"platform_resource_identifier": "1", | ||
"aiod_entry": { | ||
"editor": [], | ||
"status": "draft" | ||
}, | ||
"email": ["[email protected]"], | ||
"telephone": ["0032 XXXX XXXX"], | ||
"location": [ | ||
|
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.