Fix typo in Valence

Fix typo in Valence

Change-Id: Ib0666ad381d2332aa7e0f1a7e9d3dca0e6207a5c
Signed-off-by: Andy Yan <yanchao3@lenovo.com>
This commit is contained in:
Andy Yan 2017-01-22 10:54:54 +08:00
parent bfacfc8ff7
commit cd503ba499
8 changed files with 10 additions and 10 deletions

View File

@ -89,7 +89,7 @@ For adding new api please refer https://github.com/openstack/valence/blob/master
valence-ui
----------
valence-ui provides a Web based GUI interface that can be used to explore
valence-ui provides a Web-based GUI interface that can be used to explore
Rack Scale Design (RSD) artifacts and compose/disassemble nodes.
valence-ui is implemented using Node.js runtime environment and hosted through apache.
valence-ui makes us of React.js javascript libaray and invoke Valence REST APIs through ajax REST calls.

View File

@ -165,7 +165,7 @@ node_property:
type: array
node_provision_state:
description: |
The composed node state value set by other orchestation tool, use this value
The composed node state value set by other orchestration tool, use this value
to help with orchestration software know its proviision progress.
in: body
required: true

View File

@ -248,7 +248,7 @@ Resource attach/detach
.. rest_method:: POST /v1/nodes/{node_ident}/action
Send a attach/detach cmd to a composed node.
Send an attach/detach cmd to a composed node.
Normal response codes: 204

View File

@ -61,7 +61,7 @@ Consider we want to implement a new API /v1/example that returns "hello world" j
LOG = logging.getLogger(__name__)
class Example(Resorce):
class Example(Resource):
def get(self):
LOG.debug("GET /example")
return {“msg” : “hello world”}

View File

@ -36,9 +36,9 @@ Unit tests scripts are located in `<valence_root>/valence/tests/unit/
Implement a Unit Test Case
-----------------------------
Consider implementing an unit test case for our example unit module.
Consider implementing a unit test case for our example unit module.
To implement an unit test case for the example unit module,
To implement a unit test case for the example unit module,
Create a class in valence/tests/unit/(directory)/test_(example).py,
which inherits the TestCase class from unittest.

View File

@ -35,7 +35,7 @@ Add a model for db
Models are defined in the valence/db/models.py file. A new model
should be updated there.
To add a example model for Etcd db, we should create
To add an example model for Etcd db, we should create
a class that inherits the ModelBase class in valence/db/models.py.
.. NOTE::

View File

@ -53,7 +53,7 @@ class ValenceConfirmation(base.ObjectBase):
"""Valence Confirmation Message representation.
Whenever confirmation response needs to send back to client
for successfull operation
for successful operation
"""

View File

@ -37,9 +37,9 @@ def get_available_criteria():
def create_flavors(data):
"""criteria : comma seperated generator names
"""criteria : comma separated generator names
This should be same as thier file name)
This should be same as their file name)
"""
criteria = data["criteria"]