Commit Graph

34 Commits

Author SHA1 Message Date
Q.hongtao 7dbc1e89e2 Remove unicode from client
Change-Id: If0ac1d13a7958edb1389c1f76abce47016e50845
2021-01-03 06:49:56 +00:00
melissaml b863680806 Fix pygments style
New theme of docs respects pygments_style.

more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I079d1fbffc91e3d8c23a1de03634a3238c579a6f
2020-06-23 15:45:20 +08:00
Andreas Jaeger a034ce54c2 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Set openstackdocs_auto_name to use 'project' as name.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Change-Id: I8de23470cda92374f7b6df89548bbbe23570805f
2020-05-19 08:05:16 +02: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
pengyuesheng 543a91b476 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/

Change-Id: I305b4704e581edb33f193494819be85bb6dabb28
2019-07-04 10:35:47 +08: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
Zuul 21654607d6 Merge "Add release notes for the wait flag" 2019-06-11 09:24:28 +00:00
Eyal 367712d6da Add release notes for the wait flag
Doc was updated too

Change-Id: I94c06df504329ec801308a3b3bc5075ccee4b8c3
2019-06-11 09:54:49 +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 a4bcd82eb9 Support using name in show and delete templates
Vitrage can show and delete templates by name
So remove the constraints on using only uuid
in CLI for deleting templates

renamed the parameters also to be more clear

Change-Id: Iaf68f994bdceee4a01ca445bde935ca42077f541
2019-05-27 10:28:56 +03:00
Hervé Beraud df8023553e Constraint networkx to <2.3 for Python 2
NetworkX released 2.3, dropping support for Python 2.

 https://github.com/networkx/networkx/blob/master/doc/news.rst

 Also see I0a9700926c9a0db93e782c853c33f1aaee3d4876

Change-Id: I53d03b5ed982baa053d4ce182d7b3abda1b1ec9e
2019-05-21 06:52:22 +00:00
Zuul f9925f002e Merge "Support parameters in Vitrage templates" 2019-02-17 08:53:54 +00:00
Ifat Afek a0e346b6db Support parameters in Vitrage templates
A new optional --params parameter was added to 'vitrage template add'
and 'vitrage template validate' APIs, to allow assigning actual values
to parameters in Vitrage templates.

Story: 2004056
Task: 29134

Depends-On: Iac163aaf6de0e029893386fc4274421df4706c4e
Change-Id: I144f6cb889be6e97e0d4cbcf1fe5820c8d38c716
2019-02-12 13:25:51 +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
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
zhang.lei 1fabfaf7b1 Using storyboard to collect project bugs
This is a supplement for https://review.openstack.org/576651

Change-Id: Ibfd2f58661b2fe32893da5d8007452ab7a486674
2018-09-17 07:22:25 +00: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
Ifat Afek ef608b9d01 Fixed the template add cli documentation
Change-Id: Icccfa9794286624cf08a58ca65600a46a1a06d23
2018-06-26 16:04:03 +03:00
Nguyen Hai 367b46c2e4 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

This patch also changes minor things in doc.

Change-Id: I545bab01d42bbddbfd30eb41dc386d8f7df8aea7
2018-03-21 00:52:19 +09:00
idan kinory 39882454b7 template add,delete,list,validate CLI description
Add new CLI description for:
    * template add
    * template delete
  Change existing description:
    * template list
    * template validate

Change-Id: I98916347bd801af8bca25147a674528ccca71c11
Implements: blueprint crud-templates
2018-01-23 16:25:46 +00:00
Niv Oppenhaim 0a686020a9 Order output, add docs, add support for 'all_tenants' flag
Implements: blueprint configurable-notifications
Change-Id: Idcfa76012370e29eae94a29b4be268f3d0373c00
2018-01-14 13:24:14 +00:00
Idan Hefetz b05d60b338 Update CLI documentation
General updates
Add template api examples
Add resource api examples
Add alarm api examples

Change-Id: I84e0b028e29d29ad6af5f6fe47af8925c0d51f92
2018-01-03 09:44:58 +00:00
avnish 2fd962d145 Removed unnecessary utf-8 encoding
Change-Id: I0ee2865c776e5fd8b0255ea9c801262d6a303faa
2017-11-12 10:18:57 +00:00
Eyal 2ed738db9b add keycloak use documentation
Change-Id: I4bb437398b8165cfe485fb31dfeabc1790ada585
2017-08-29 14:04:43 +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
Ifat Afek 4c7b6071b7 Create a folder for the contributor docs
Change-Id: Ie28f038c3f48758589503d6adabc449280cb536a
2017-07-24 15:21:47 +00:00
rajat29 4a463b388c Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I4b93d47de863d37f4db06877d1109fec269788d4
2017-07-14 09:48:58 +05:30
Eyal a63c8efab1 fix rst typo
Change-Id: I95d7cc47b48bc6adb038bab92ff02c034f7efdad
2017-04-23 15:30:55 +03:00
Eyal a28aad85ae some doc fixes
Change-Id: I9dfe44b4703ad237a478727a89d4c81523fc0497
2017-02-22 13:21:20 +02:00
Eyal 0d701694ad change api syntax for alarms list
change for 'alarms list' to 'alarm list'

Change-Id: I05408636ea1faa51ff6ee0425e7063645f74499a
2016-08-21 09:10:07 +03:00
Ifat Afek ee1d5be521 fixed the style
Change-Id: Ia531390e9299dc3db1cbbf64eba252feebb553aa
2016-03-10 14:08:55 +00:00
Ifat Afek 65768176bf split README.rst to two separate files
Change-Id: Ie9840737dbf056d5c1186207da4289220cd3295b
2016-03-08 22:50:54 +00:00
mgrosz d48de0cfdd python-vitrageclient project init
Change-Id: I1e5cbd787bcda8606714825d8377a30344968e3f
2015-11-15 13:29:00 +02:00