From 5013228b2a3deb99d56c8aa433e746abf9b1f458 Mon Sep 17 00:00:00 2001 From: Tommy Carpenter Date: Mon, 29 Jul 2019 10:11:34 -0400 Subject: Upgrade to latest client, kubernetes only now Issue-ID: DCAEGEN2-1537 Change-Id: I84da399853f83fc9a22a58bf384ba89efc656c1d Signed-off-by: Tommy Carpenter --- dcaeapplib/.gitignore | 125 ++++++++++++++++++++++++++++++++++++++++++++++++ dcaeapplib/ChangeLog.md | 6 +++ dcaeapplib/setup.py | 29 +++++------ dcaeapplib/tox.ini | 4 +- 4 files changed, 145 insertions(+), 19 deletions(-) create mode 100644 dcaeapplib/.gitignore diff --git a/dcaeapplib/.gitignore b/dcaeapplib/.gitignore new file mode 100644 index 0000000..bd1444d --- /dev/null +++ b/dcaeapplib/.gitignore @@ -0,0 +1,125 @@ +xunit-results.xml +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ diff --git a/dcaeapplib/ChangeLog.md b/dcaeapplib/ChangeLog.md index 0942537..538092c 100644 --- a/dcaeapplib/ChangeLog.md +++ b/dcaeapplib/ChangeLog.md @@ -4,3 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). + +## [1.0.0] - 7/29/2019 + * Upgrade to kubernetes only via the cbs client lib upgrade + * Bump to a semver stable version because others (e.g., acumos dcae model runner) depend on this + * Add python .gitignore + * Remove 27 support from tox since 27 is EOLd diff --git a/dcaeapplib/setup.py b/dcaeapplib/setup.py index b985be9..098c547 100644 --- a/dcaeapplib/setup.py +++ b/dcaeapplib/setup.py @@ -1,6 +1,6 @@ # org.onap.dcae # ============LICENSE_START==================================================== -# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved. # ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -20,20 +20,15 @@ from setuptools import setup, find_packages setup( - name='dcaeapplib', - version='0.0.5', - packages=find_packages(), - author = 'Andrew Gauld', - author_email = 'ag1282@att.com', - description = ('Library for building DCAE analytics applications'), - license = 'Apache 2.0', - keywords = '', - url = '', - zip_safe = True, - install_requires=[ 'onap-dcae-cbs-docker-client>=0.0.5' ], - entry_points = { - 'console_scripts': [ - 'reconfigure.sh=dcaeapplib:reconfigure' - ] - } + name="dcaeapplib", + version="1.0.0", + packages=find_packages(), + author="Andrew Gauld", + author_email="ag1282@att.com", + description=("Library for building DCAE analytics applications"), + license="Apache 2.0", + url="https://gerrit.onap.org/r/#/admin/projects/dcaegen2/utils", + zip_safe=True, + install_requires=["onap-dcae-cbs-docker-client>=2.1.0"], + entry_points={"console_scripts": ["reconfigure.sh=dcaeapplib:reconfigure"]}, ) diff --git a/dcaeapplib/tox.ini b/dcaeapplib/tox.ini index 653ac3f..2b0ce9a 100644 --- a/dcaeapplib/tox.ini +++ b/dcaeapplib/tox.ini @@ -1,8 +1,8 @@ [tox] -envlist = py27,py35 +envlist = py35,py36 [testenv] deps= - onap-dcae-cbs-docker-client>=0.0.5 + onap-dcae-cbs-docker-client>=2.1.0 pytest coverage pytest-cov -- cgit 1.2.3-korg