# HG changeset patch # User ymh # Date 1457537909 -3600 # Node ID c2bd5606534e4904ca4b1e202c9c8bb88dc984f4 # Parent 76bcfd35a3634abe8a5e9b965af0f0b0e5986f9e some corrections on config files diff -r 76bcfd35a363 -r c2bd5606534e server/src/metaeducation/__init__.py --- a/server/src/metaeducation/__init__.py Thu Mar 03 18:01:29 2016 +0100 +++ b/server/src/metaeducation/__init__.py Wed Mar 09 16:38:29 2016 +0100 @@ -1,6 +1,6 @@ import signals -VERSION = (0, 0, 1, "alpha", 0) +VERSION = (0, 0, 1, "final", 0) VERSION_STR = ".".join(map(lambda i:"%02d" % (i,), VERSION[:2])) diff -r 76bcfd35a363 -r c2bd5606534e server/src/metaeducation/settings/__init__.py --- a/server/src/metaeducation/settings/__init__.py Thu Mar 03 18:01:29 2016 +0100 +++ b/server/src/metaeducation/settings/__init__.py Wed Mar 09 16:38:29 2016 +0100 @@ -127,3 +127,21 @@ 'SCOPE': ['basic'] } } + +DEFAULT_RENKAN_ICON = "" +RENKAN_TOOL_ID = "" # Renkan ID, provided by ITOP + +MTDC_ACCESS_TOKEN_URL = "" # This URL is the access token endpoint URL, relative to a Base url that will be passed as query arg to the server +MTDC_AUTHORIZE_URL = "" # This URL is the authorize endpoint URL, relative to a Base url that will be passed as query arg to the server +MTDC_PROFILE_URL = "" # This URL is the user profile endpoint URL, relative to a Base url that will be passed as query arg to the server + +MTDC_GED_BASE_URL = "" # Base URL of the GED server +MTDC_VALIDATE_TOKEN_URL = "" # This URL is the ABSOLUTE url for validating a token. There will be no context involved for validation token from server to server. +MTDC_CLIENT_CREDENTIALS_TOKEN_URL = "" # This URL is the ABSOLUTE url for getting a token via Client Credentials from server to server. +MTDC_REFERENCE_RESOURCE_BASE_URL = "" # This URL is the ABSOLUTE url for the GED resource referencement service from server to server. +OAUTH_REDIRECT_URI = "" # Redirect URI for the GED server, used when validating GED tokens during client credentials flow. + +MTDC_USERNAME_FIELD_NAME = "displayName" # Name of the username field that will be transmitted in response to the profile url request (usually "username", for metaeduc will probably be "displayName") +MTDC_USERID_FIELD_NAME = "id" # Name of the user id field that will be transmitted in response to the profile url request (usually "id") + +ITOP_PF_CODE = "ITOPPP" # Parameter for the reference request, should be provided by Itop diff -r 76bcfd35a363 -r c2bd5606534e server/src/metaeducation/settings/dev.py.tmpl --- a/server/src/metaeducation/settings/dev.py.tmpl Thu Mar 03 18:01:29 2016 +0100 +++ b/server/src/metaeducation/settings/dev.py.tmpl Wed Mar 09 16:38:29 2016 +0100 @@ -49,6 +49,3 @@ MTDC_CLIENT_CREDENTIALS_TOKEN_URL = "" # This URL is the ABSOLUTE url for getting a token via Client Credentials from server to server. MTDC_REFERENCE_RESOURCE_BASE_URL = "" # This URL is the ABSOLUTE url for the GED resource referencement service from server to server. OAUTH_REDIRECT_URI = "" # Redirect URI for the GED server, used when validating GED tokens during client credentials flow. - -MTDC_USERNAME_FIELD_NAME = "displayName" # Name of the username field that will be transmitted in response to the profile url request (usually "username", for metaeduc will probably be "displayName") -MTDC_USERID_FIELD_NAME = "id" # Name of the user id field that will be transmitted in response to the profile url request (usually "id") \ No newline at end of file diff -r 76bcfd35a363 -r c2bd5606534e server/src/requirement_iri.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server/src/requirement_iri.txt Wed Mar 09 16:38:29 2016 +0100 @@ -0,0 +1,1 @@ +renkanmanager (==0.12.15) diff -r 76bcfd35a363 -r c2bd5606534e server/src/requirement_srvr.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server/src/requirement_srvr.txt Wed Mar 09 16:38:29 2016 +0100 @@ -0,0 +1,3 @@ +pylibmc +uWSGI +pytz