diff options
-rw-r--r-- | onap-dcae-dcaepolicy-lib/README.md | 17 | ||||
-rw-r--r-- | onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py | 1 | ||||
-rw-r--r-- | onap-dcae-dcaepolicy-lib/setup.py | 12 |
3 files changed, 10 insertions, 20 deletions
diff --git a/onap-dcae-dcaepolicy-lib/README.md b/onap-dcae-dcaepolicy-lib/README.md index 71fdc6a..ff37256 100644 --- a/onap-dcae-dcaepolicy-lib/README.md +++ b/onap-dcae-dcaepolicy-lib/README.md @@ -1,18 +1,10 @@ -# onap_dcae_dcaepolicy_lib - policy in dcae controller +# onap-dcae-dcaepolicy-lib - policy in dcae controller - python-package to be used in cloudify plugins to maintain the policies lifecycle -## [setup pypi connection](./nexus_pypi.md) to **nexus** repo server - -## build = register and upload to nexus repo server - -```bash -./dev_run.sh build -``` - -## upload the python package to nexus repo server +## upload the python package to pypi server ```bash -./dev_run.sh upload +python setup.py sdist upload ``` --- @@ -20,8 +12,7 @@ **requirements.txt** ```python ---extra-index-url https://YOUR_NEXUS_PYPI_SERVER/simple -onap-dcae-dcaepolicy-lib +onap-dcae-dcaepolicy-lib==1.0.0 ``` **tasks.py** diff --git a/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py b/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py index d64d50f..6a277f3 100644 --- a/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py +++ b/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py @@ -30,7 +30,6 @@ from cloudify.exceptions import NonRecoverableError POLICIES = 'policies' POLICY_ID = 'policy_id' -POLICY_APPLY_MODE = 'policy_apply_mode' POLICY_BODY = 'policy_body' POLICY_VERSION = "policyVersion" POLICY_CONFIG = 'config' diff --git a/onap-dcae-dcaepolicy-lib/setup.py b/onap-dcae-dcaepolicy-lib/setup.py index 791b856..7a4e71a 100644 --- a/onap-dcae-dcaepolicy-lib/setup.py +++ b/onap-dcae-dcaepolicy-lib/setup.py @@ -19,22 +19,22 @@ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. -from setuptools import setup +from setuptools import setup, find_packages setup( - name='onap_dcae_dcaepolicy_lib', + name='onap-dcae-dcaepolicy-lib', description='lib of policy decorators to be used by cloudify plugins of dcae controller', version="1.0.0", author='Alex Shatov', + author_email="alexs@att.com", license='Apache 2', - email="alexs@research.att.com", - packages=['onap_dcae_dcaepolicy_lib'], + packages=find_packages(), install_requires=[ ], - keywords='policy dcae controller cloudify plugin', + keywords='onap policy dcae controller cloudify plugin', classifiers=[ 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', + 'Intended Audience :: Telecommunications Industry', 'Programming Language :: Python :: 2.7' ] ) |