Merge "The escalator's port is 19393. The command 'escalator version' means get the...
authorkong wei <kong.wei2@zte.com.cn>
Mon, 6 Mar 2017 01:29:04 +0000 (01:29 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 6 Mar 2017 01:29:04 +0000 (01:29 +0000)
api/escalator/cmd/__init__.py
api/etc/escalator-api.conf
client/doc/source/conf.py
client/doc/source/man/escalator.rst
client/escalatorclient/__init__.py
client/escalatorclient/common/http.py
client/run_tests.sh
docker/Dockerfile

index 871224d..2e1b10b 100644 (file)
@@ -12,5 +12,6 @@
 #    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 #    License for the specific language governing permissions and limitations
 #    under the License.
-from escalator import i18n
-i18n.enable_lazy()
+import oslo_i18n
+
+oslo_i18n.enable_lazy()
index 5287777..c26db34 100644 (file)
@@ -1,7 +1,6 @@
 [DEFAULT]
 # Show more verbose log output (sets INFO log level output)
 #verbose = False
-verbose = True
 
 # Show debugging output in logs (sets DEBUG log level output)
 #debug = False
index 1cfaad2..0e00ed1 100644 (file)
@@ -28,7 +28,7 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = 'python-escalatorclient'
+project = 'escalatorclient'
 copyright = u'OpenStack Foundation'
 
 # If true, '()' will be appended to :func: etc. cross-reference text.
index 40536ec..bb90ac1 100644 (file)
@@ -84,4 +84,4 @@ BUGS
 ====
 
 escalator client is hosted in Launchpad so you can view current bugs at
-https://bugs.launchpad.net/python-escalatorclient/.
+https://bugs.launchpad.net/escalatorclient/.
index 4b95f8a..8d43a42 100644 (file)
@@ -23,7 +23,7 @@ except ImportError:
 
 import pbr.version
 
-version_info = pbr.version.VersionInfo('python-escalatorclient')
+version_info = pbr.version.VersionInfo('escalatorclient')
 
 try:
     __version__ = version_info.version_string()
index 301eedb..36a2157 100644 (file)
@@ -45,7 +45,7 @@ if not hasattr(parse, 'parse_qsl'):
 osprofiler_web = importutils.try_import("osprofiler.web")
 
 LOG = logging.getLogger(__name__)
-USER_AGENT = 'python-escalatorclient'
+USER_AGENT = 'escalatorclient'
 CHUNKSIZE = 1024 * 64  # 64kB
 
 
index 80edda6..ff7d278 100644 (file)
@@ -2,7 +2,7 @@
 
 function usage {
   echo "Usage: $0 [OPTION]..."
-  echo "Run python-escalatorclient's test suite(s)"
+  echo "Run escalatorclient's test suite(s)"
   echo ""
   echo "  -p, --pep8               Just run flake8"
   echo "  -h, --help               Print this usage message"
index 48e254f..fa78819 100644 (file)
@@ -1,5 +1,7 @@
 FROM centos:7\r
 LABEL escalator_image_version=1.0\r
+ARG BRANCH\r
+ENV BRANCH=${BRANCH:-master}\r
 RUN yum -y update\r
 RUN yum -y install centos-release-openstack-newton\r
 RUN yum -y install \\r