Name: cloud-portal-client-connector
Owner: German Network for Bioinformatics Infrastructure
Description: null
Created: 2017-10-13 07:04:52.0
Updated: 2018-01-11 12:11:12.0
Pushed: 2018-01-15 12:17:20.0
Homepage: null
Size: 395
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
1.
install git+https://github.com/deNBI/cloud-portal-client-connector@dev_connector
or
install git+https://github.com/deNBI/cloud-portal-client-connector@master
Add “connector” to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'connector',
]
Include the connectors URLconf in your project urls.py like this::
url(r'^connector/', include('connector.urls')).
Or if login should be required (cloud-portal) like this:: url(r'^connector/',decorator_include(login_required(login_url='oidc/authenticate/'), 'connector.urls')),
Run:
on manage.py makemigrations connector
Run:
on manage.py migrate connector
to create the connector tables.
You need to set environment variables. SERVICE_USER_LOGIN SERVICE_USER_PASSWORD
Attention: The thrift client needs a certfile and a ca_certs.
You need to download the config.yml in your directory with the manage.py. In the config.yml you can set the right Paths.
The default filepath to the certfile and the ca_certs are at the moment test/keys/client.pem and test/keys/CA.pem.
To create your own certificates follow the instructions on this Website: thrift certificates
Attention: The connector needs the PerunUserValuesMiddleware used (perun_connector folder).