Commit Graph

34 Commits

Author SHA1 Message Date
Ghanshyam Mann 5c3453182e Test python 3.11
As per the current release tested runtime, we
need to test python 3.8 to python 3.11 so using the
generic python testing template which run the python
versions jobs as per the current release runtime.

Also, updating the same in python classifier in setup.cfg

Change-Id: I3d8ed2c9cf31d3e02ae6489097229e69b3169c7a
2024-01-09 19:22:09 -08:00
maaoyu bc829d3903 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I58a32ecca73fa55efdd05a85fea26723911fca51
2021-05-04 10:30:43 +08:00
wangzihao 8293be5fed Revert "remove py37"
This reverts commit 764e430830.

Reason of revert :Python 3.7 *is* supported because it falls
in the range of supported Python versions (3.6-3.8) [1].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019648.html

Change-Id: I1984fe34be137de7c1e6a96f2fd8e8f1d9e35a31
2021-01-14 14:19:52 +08:00
XinxinShen 764e430830 remove py37
Remove python3.7 from setup.cfg, since Wallaby's python
supported runtimes are python 3.6 and python 3.8[1]:

[1]: https://governance.openstack.org/tc/reference/runtimes/wallaby.html

Change-Id: I998b46c719c266b75176da904cbc8da2ad60e663
2021-01-03 17:14:28 +08:00
melissaml 17fcaf06f5 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I54aebb7d370f651642f40a69c27e6776d6093f1d
2020-06-23 11:05:01 +08:00
Sean McGinnis ff0321c675
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I98566be10eec15ca3eaf795fb3717ac87f86632d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:19 -05:00
Andreas Jaeger 218d0c5234 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I266b56f998f092d14d6ccbec1365dc42568ffdd5
2020-04-04 17:21:22 +02:00
Ghanshyam Mann b6d3d31674 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

pythn-vitrageclient is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: I6f4cc04134130a3fa36bb65492b01dff63f94e32
2019-12-13 23:44:06 +00:00
Eyal ba5f71fecc Add new api vitrage status
To Check if vitrage is ready then you can check its
status some users don't want to check on every api call
if vitrage is ready, in that case you can check ad hoc

Change-Id: I0817016538a6b286816b99176339262c6453dc08
2019-07-01 13:10:03 +03:00
Eyal 0d93ef1d78 Add new api to list template versions supported
Will print also the status which can be CURRENT, SUPPORTED
or DEPRECATED

Change-Id: I6c7aa8ee92136b8cea9eb4e431f86381dc79206a
2019-06-10 15:14:18 +03:00
Eyal 7ca6c8406a Support python 3.6 and 3.7
According to 'Tested Runtimes for Train' [1] we need to support
Python 2.7, Python 3.7 and Python 3.6 runtimes.

[1] https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I41aff6a8dc52d4038431ce7566ff8177e25cea6b
2019-04-16 12:20:50 +03:00
Ghanshyam Mann d29eb4b278 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I08dd390fee518403d04cfa149ab9c3c9517c93ab
2019-04-15 01:52:44 +00:00
Eyal c293cbd2d5 add a new service list api
Story: 2004897
Task: 29205
Change-Id: Iecb2ae810dd2a6a6b544c2ed7dbfe6288f393178
2019-02-12 14:31:14 +02:00
Eyal 27c198c20b support graphml format
you can view the graph in graphml format instead of json
using the "-f graphml" in cli command for topology and rca

Change-Id: If364ee51074e5e7e9dc32f54ccb0a06079f6b8ef
2019-01-07 16:46:00 +02:00
Eyal ab81474e38 support dot format
you can view the graph in dot format instead of json
using the "-f dot" in cli command for topology and rca

dot format is very common for visualization of graphs
there are many tools that support this format including
online visualizers

Story: 2004063
Task: 27070

Change-Id: I44779d5d46a6ca279e2766b0d3f8e7ca02706b84
2019-01-01 10:03:35 +02:00
Idan Hefetz 3deddd8ce6 client support for resource api changes
- added support for query in resource list
 - changed call to resource list from GET to POST
 - added support for resource count new api

Story: 2004669
Task: 28652
Task: 28655

Depends-On: https://review.openstack.org/627309
Change-Id: Ib75b67c15c0a175e804fd020958fb7e50ec4df07
2018-12-30 09:23:54 +00:00
Zuul 5fe332e1ab Merge "Add Python 3.6 classifier to setup.cfg" 2018-12-12 11:38:05 +00:00
98k 65e8eed1cb Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ia35b0856f47cbb52733eed5be6da60de06c9f1b4
2018-12-04 04:14:25 +00:00
qingszhao f7fb97d530 Add Python 3.6 classifier to setup.cfg
Change-Id: I026ee6a06ad5b852b83d3c58e152e007efec43eb
2018-11-30 07:40:25 +00:00
Eyal d04c6617ef fix osc entry point path
Change-Id: Ib92cbb625c45b15201521897194a2ef4ea354576
2018-10-11 13:31:48 +03:00
Anna Reznikov 76e7198fe9 support for alarm and RCA history
add new history api and pagination in current alarm list api

Change-Id: Ie5ee407855b6aae6e34f316dce12669cfc1c025c
Story: 2002670
Task:  23216
2018-07-26 09:48:25 +00:00
jacky06 ece8a6d94f Update the home-page for python-vitrageclient
Change-Id: I844b50a87f2d7fc21f6c819f013b9700faf3adaa
2018-07-05 12:36:23 -04:00
Eyal cf275862a5 update osc with latest commands
Change-Id: I86355a1497e5501eb614d2bc51d87a66e8e39fdd
2018-06-19 12:13:02 +03:00
Ifat Afek 9b94b76af7 Doc Migration: move the developer guide docs under contributor folder
Change-Id: I96db1d8cadb17d259c708967a4e92160e9ac3aba
2017-07-25 10:59:18 +00:00
Eyal a10e05f001 supprt keycloak first stage
Change-Id: Id5dff583834ce10b47ff77653f59947dea4bb7fe
2017-07-10 17:28:42 +03:00
Eyal 6327e9ee52 add option to connect without authentication
user can provide the user name , project id and endpoint
and connect directly to vitrage without connecting to keystone

the user should use the no-auth plugin for this

Change-Id: Id672ab974fb383c03ef8360b54a385b2f6aeae86
2017-06-28 11:49:54 +03:00
kavithahr f5de8d2322 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due
to the change from Ubuntu Trusty to Xenial, where only python3.5
is available. There is no need to continue to keep these settings.

Change-Id: I30585fff6fdf119a96ef379d7e86964c8569d110
2017-03-08 18:58:55 +05:30
Eyal 020c1b3a7f add vitrage client to osc
Change-Id: I73d64237f32ab7fff11cb7c2b7bf847f3bb0342f
2016-11-27 12:06:04 +02:00
qinchunhua a06798673d Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: I72aa8e5a1f09a2cc50cba30e7cfcc53d57eeb262
2016-08-02 02:17:10 -04:00
Eyal 94a8e37447 add documentation and py34
add README file
make tox run a py34 env
support py34

Change-Id: I9f694e1e62d139a519dfba3931abd4ba6d374b58
2016-03-02 15:34:11 +02:00
Eyal 01bf1694c9 removed topology-list
there is only one topology at the moment
no need for id also

Change-Id: I65407bd8aef4ea5563023b492d63656759fae145
Implements: blueprint vitrage-cli
2015-11-22 10:00:06 +02:00
Eyal 37dbb2051b add more boilerplate files
Implements: blueprint vitrage-cli
Change-Id: I1390ad4dfa40fcbddebaee628d8d928f5aa2bd49
2015-11-17 16:19:25 +02:00
Eyal 287aa41c50 add initial files for shell
Implements: blueprint vitrage-cli
Change-Id: I555152c53f4b27d95a215cea0fedf782daa446cf
2015-11-16 17:13:18 +02:00
mgrosz d48de0cfdd python-vitrageclient project init
Change-Id: I1e5cbd787bcda8606714825d8377a30344968e3f
2015-11-15 13:29:00 +02:00