Commit 8bc4216e authored by Pablo Panero's avatar Pablo Panero
Browse files

Fix: pin invenio-db (sqlalchemy-continuum bug) and invenio-records-rest version (list auth)

parent 5514e96b
{
"title": "Indico Event schema v0.0.1",
"id": "http://localhost:5000/schemas/indico/event_v0.0.1.json",
"$schema": "http://localhost:5000/schemas/indico/event_v0.0.1.json",
"type": "object",
"properties": {
"_access": {
"type": "object",
"properties": {
"owner":{
"type": "array",
"items": {
"type": "string"
}
},
"read":{
"type": "array",
"items": {
"type": "string"
}
},
"update":{
"type": "array",
"items": {
"type": "string"
}
},
"delete":{
"type": "array",
"items": {
"type": "string"
}
}
}
},
"id": {
"type": "string",
"description": "Event id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Event category path (ordered array)."
},
"title": {
"type": "string",
"description": "Event title."
},
"start_date": {
"type": "date-time",
"description": "Event start date."
},
"creation_date": {
"type": "date-time",
"description": "Event creation date."
},
"end_date": {
"type": "date-time",
"description": "Event end date."
},
"location": {
"type": "string",
"description": "Event location."
},
"description": {
"type": "string",
"description": "Event description."
},
"speakers_chairs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Event speaker/chair name."
},
"affiliation": {
"type": "string",
"description": "Event speaker/chair affiliation."
}
}
}
},
"event_type": {
"type": "string",
"description": "Event type."
},
"custom_pid": {
"type": "string"
},
"$schema": {
"type": "string"
}
}
}
\ No newline at end of file
{
"settings": {
"index.percolator.map_unmapped_fields_as_string": true,
"index.mapping.total_fields.limit": 30
},
"mappings": {
"event_v0.0.1": {
"numeric_detection": true,
"_meta": {
"_owner": "indico@cern.ch"
},
"properties": {
"_access": {
"type": "nested",
"properties": {
"owner":{
"type": "keyword"
},
"read": {
"type": "keyword"
},
"update": {
"type": "keyword"
},
"delete": {
"type": "keyword"
}
}
},
"id": {
"type": "keyword",
"analyzer": "not_analyzed"
},
"event_type": {
"type": "keyword",
"analyzer": "not_analyzed"
},
"category_path": {
"type": "keyword",
"analyzer": "not_analyzed"
},
"title": {
"type": "text",
"fields": [
{
"english": {
"type": "text",
"analyzer": "english"
}
},
{
"french": {
"type": "text",
"analyzer": "french"
}
}
]
},
"start_date": {
"type": "date",
"analyzer": "not_analyzed"
},
"creation_date": {
"type": "date",
"analyzer": "not_analyzed"
},
"end_date": {
"type": "date",
"analyzer": "not_analyzed"
},
"location": {
"type": "text"
},
"description": {
"type": "text",
"fields": [
{
"english": {
"type": "text",
"analyzer": "english"
}
},
{
"french": {
"type": "text",
"analyzer": "french"
}
}
]
},
"speakers_chairs": {
"type": "nested",
"properties": {
"name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"analyzer": "not_analyzed"
}
}
},
"affiliation": {
"type": "text"
}
}
},
"custom_pid": {
"type": "text",
"index": "not_analyzed"
},
"$schema": {
"type": "text",
"index": "not_analyzed"
}
}
}
}
}
\ No newline at end of file
......@@ -41,22 +41,22 @@ setup_requires = []
install_requires = [
'flask',
'invenio-access>=1.0.0,<1.1.0',
'invenio-admin>=1.0.0,<1.1.0',
'invenio-accounts>=1.0.0,<1.1.0',
'invenio-app>=1.0.0,<1.1.0',
'invenio-base>=1.0.0,<1.1.0',
'invenio-config>=1.0.0,<1.1.0',
'invenio-db[postgresql,versioning]>=1.0.0,<1.1.0',
'invenio-indexer[elasticsearch5]>=1.0.0,<1.1.0',
'invenio-jsonschemas>=1.0.0,<1.1.0',
'invenio-records-rest[elasticsearch5]>=1.0.0,<1.1.0',
'invenio-records[postgresql]>=1.0.0,<1.1.0',
'invenio-rest[cors]>=1.0.0,<1.1.0',
'invenio-oauthclient>=1.0.0,<1.1.0',
'invenio_oauth2server>=1.0.0,<1.1.0',
'invenio-search[elasticsearch5]>=1.0.0,<1.1.0',
'invenio-theme>=1.0.0,<1.1.0',
'invenio-access>=1.0.0,<1.2.0',
'invenio-admin>=1.0.0,<1.2.0',
'invenio-accounts>=1.0.0,<1.2.0',
'invenio-app>=1.0.0,<1.2.0',
'invenio-base>=1.0.0,<1.2.0',
'invenio-config>=1.0.0,<1.2.0',
'invenio-db[postgresql,versioning]>=1.0.2,<1.2.0',
'invenio-indexer[elasticsearch5]>=1.0.0,<1.2.0',
'invenio-jsonschemas>=1.0.0,<1.2.0',
'invenio-records-rest[elasticsearch5]>=1.1.1,<1.2.0',
'invenio-records[postgresql]>=1.0.0,<1.2.0',
'invenio-rest[cors]>=1.0.0,<1.2.0',
'invenio-oauthclient>=1.0.0,<1.2.0',
'invenio_oauth2server>=1.0.0,<1.2.0',
'invenio-search[elasticsearch5]>=1.0.0,<1.2.0',
'invenio-theme>=1.0.0,<1.2.0',
'redis>=2.10.0',
'npm>=0.1.1',
'uWSGI>=2.0.16',
......@@ -113,4 +113,4 @@ setup(
'Programming Language :: Python :: 2.7',
'Development Status :: 1 - Pre-Alpha',
],
)
\ No newline at end of file
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment