Skip to content

Commit

Permalink
docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
iiman committed May 9, 2016
1 parent 8c82763 commit e09d478
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/sc_create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Creating a smart connector

Creating a smart connector involves completing three tasks:

#. providing :ref:`the core functionality <sc_core_fcn>`` of the smart connector,
#. attaching :ref:`resources and optional non-functional properties <sc_attach_resources>``, and
#. providing :ref:`the core functionality <sc_core_fcn>` of the smart connector,
#. attaching :ref:`resources and optional non-functional properties <sc_attach_resources>`, and
#. :ref:`registering <sc_registration>` the new smart connector with the Chiminey platform.


Expand Down Expand Up @@ -68,19 +68,19 @@ Under chiminey/, we create a python package `randnum`, and add ``initialise.py``
.. _sc_registration:

Registration
"""""""""""""""
""""""""""""

The final step is registering the smart connector with the Chiminey platform. The details of this smart connector
will be added to the dictionary ``SMART CONNECTORS`` in ``chiminey/settings changeme.py``.
The details include a unique name (with no spaces), a python path to ``RandNumInitial`` class,
the description of the smart connector, and the absolute path to the payload.

"randnum": {
"name": "randnum",
"init": "chiminey.randnum.initialise.RandNumInitial",
"description": "Randnum generator, with timestamp",
"payload": "/opt/chiminey/current/payload_randnum"
},
the description of the smart connector, and the absolute path to the payload::

"randnum": {
"name": "randnum",
"init": "chiminey.randnum.initialise.RandNumInitial",
"description": "Randnum generator, with timestamp",
"payload": "/opt/chiminey/current/payload_randnum"
},

Finally, restart the Chiminey platform and then activate ``randnum`` smart connector. You need to exit the docker container and execute the following::

Expand Down

0 comments on commit e09d478

Please sign in to comment.