Skip to content
Snippets Groups Projects
Commit 5cc7b3c5 authored by James Graham's avatar James Graham
Browse files

Update references to GitHub location - moved to PEDASI org

parent a9602420
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
- name: Clone / update dev branch from main repo - name: Clone / update dev branch from main repo
git: git:
repo: 'ssh://git@github.com/Southampton-RSG/PEDASI-IoT.git' repo: 'ssh://git@github.com/PEDASI/PEDASI.git'
dest: '{{ project_dir }}' dest: '{{ project_dir }}'
accept_hostkey: yes accept_hostkey: yes
key_file: '~/.deployment-key' key_file: '~/.deployment-key'
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
- name: Clone / update master branch - name: Clone / update master branch
git: git:
repo: 'ssh://git@github.com/Southampton-RSG/PEDASI-IoT.git' repo: 'ssh://git@github.com/PEDASI/PEDASI.git'
dest: '{{ project_dir }}' dest: '{{ project_dir }}'
accept_hostkey: yes accept_hostkey: yes
key_file: '~/.deployment-key' key_file: '~/.deployment-key'
......
...@@ -80,6 +80,7 @@ class ProvEntry(mongoengine.DynamicDocument): ...@@ -80,6 +80,7 @@ class ProvEntry(mongoengine.DynamicDocument):
instance_type = ContentType.objects.get_for_model(instance) instance_type = ContentType.objects.get_for_model(instance)
document = prov.model.ProvDocument(namespaces={ document = prov.model.ProvDocument(namespaces={
# TODO set PEDASI PROV namespace
'piot': 'http://www.pedasi-iot.org/', 'piot': 'http://www.pedasi-iot.org/',
'foaf': 'http://xmlns.com/foaf/0.1/', 'foaf': 'http://xmlns.com/foaf/0.1/',
'xsd': 'http://www.w3.org/2001/XMLSchema#', 'xsd': 'http://www.w3.org/2001/XMLSchema#',
...@@ -107,7 +108,7 @@ class ProvEntry(mongoengine.DynamicDocument): ...@@ -107,7 +108,7 @@ class ProvEntry(mongoengine.DynamicDocument):
# Generate a UUID so we can lookup records belonging to a user # Generate a UUID so we can lookup records belonging to a user
# But not identify the user from a given record # But not identify the user from a given record
# TODO how strongly do we want to prevent user identification? # TODO how strongly do we want to prevent user identification?
# See https://github.com/Southampton-RSG/PEDASI-IoT/issues/10 # See https://github.com/PEDASI/PEDASI/issues/10
'piot:u-' + str(uuid.uuid5(uuid.NAMESPACE_URL, user_uri)), 'piot:u-' + str(uuid.uuid5(uuid.NAMESPACE_URL, user_uri)),
other_attributes={ other_attributes={
prov.model.PROV_TYPE: 'prov:Person', prov.model.PROV_TYPE: 'prov:Person',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment