Commit Graph

188 Commits

Author SHA1 Message Date
Ghanshyam Mann dc8d5f6782 Cleanup the retired repo
This repo is not properly retired. Retired repos can only have two files:
- README.rst
- gitreview

To cleanup the retirement of this repo, keeping these two files only and
removing the other remaining files if there is any.

Change-Id: Ib183b4bbecd09187fab8fc994b8bd0ae81f2d49d
Detail: https://etherpad.opendev.org/p/tc-retirement-cleanup
2020-08-05 19:36:19 -05:00
Anne Gentle cd8f1e82b4 Retire fairy-slipper API doc tools project
Remove all project contents.

Depends-On: I1eae2cc06695a7b363f9bf78224269ebdfce9ae7
Needed-By: Ib3f53f6758c947aa98a93b3ed9e229137ada1719
Change-Id: Ie9ef42f56ecfcb918550165b9afa6e60c7601da3
2017-01-08 17:20:03 +01:00
Jenkins f0b28704a5 Merge "Remove discover from test-requirements" 2017-01-04 16:02:14 +00:00
Andreas Jaeger 16519c4c7e Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I563338895fe40902c1f05e86ab1aa3d0bc618094
2016-10-06 20:26:25 +02:00
Swapnil Kulkarni (coolsvap) 3b4ba0687f Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: Id2167d6e46cca673511986969796d5bd9159aea6
2016-07-22 06:49:43 +00:00
Karen Bradshaw afab61d77c Create .inc files for rst publishing
-Updated create_yaml_parameters.py to create .inc
files for each section.  The section is based on the
tag name and includes the corresponding methods/rst files.
-Added the database inc files as sample output.

Change-Id: I40bfdeb87ae2330fce280ad33525837361587794
2016-04-29 19:19:23 -04:00
Karen Bradshaw a9aa207d72 Create yaml files, publish rst
-Uses generated <service>*.json file from wadl files
 to create yaml and rst files.
-Creates parameters.yaml per service and version
 from intermediate parameters/operation files.

Change-Id: Idf074d0393737fee4cd246cb3ef9f0d51c3014d7
2016-04-17 19:41:18 -04:00
Karen Bradshaw 3d6c7af515 Convert rst descriptions to md
Updated descriptions formatted in rst to markdown.

Closes-Bug: #1534702
Change-Id: I1d81f6c7dcdf2b20101e47f6688314f5480997ff
2016-03-11 09:04:46 -05:00
Anne Gentle fa666c0ade Adds release notes for added migration features
In preparation for a 0.1.1 release of fairy-slipper.

Change-Id: I5c6ee769c528379dd7989d963216a5b0432ca078
2016-03-10 11:29:12 -06:00
Karen Bradshaw a364fc3b1b Update method names with x- prefix
-Provides extension field for non standard
 operations such as COPY.
-Makes action methods unique by re-naming
 to x-<method_name>-<operationId>.
-Updates basic tests for wadl2swaggervalid and adds
 test for extension operation field.
-Updates swagger_to_rst to publish standard
 method names (get, post ...) to rst files.

Change-Id: Ifb7a975797b392b1431cc9ee742898bce8f89313
Closes-Bug: #1535139
Closes-Bug: #1534715
2016-03-09 22:03:01 +00:00
Jenkins ba4fd1e238 Merge "Handle other status codes" 2016-02-22 16:44:48 +00:00
Anne Gentle 6b45654a76 Handle other status codes
Reviewed all current docs to find all documented 400- and 500- errors.
Updated help text in the migrate script.

Change-Id: I1a31a5b1953063842b4ce84ae002854aaa11cfaa
2016-02-20 14:06:20 -06:00
Jenkins df9b2aacd2 Merge "Fix venv path" 2016-02-16 21:16:29 +00:00
Karen Bradshaw d57fa5841d Fix request example field
-Updated swagger_to_rst to read request example field.
-Updated wadl_to_swagger_valid to generate request example
 in schema property field.  Removed instances of
 x-examples field.

Closes-Bug: #1535122

Change-Id: I5aa2a5d6eac67dcf20a54922555ed7d9325cfcb3
2016-02-15 13:53:15 -05:00
Yushiro FURUKAWA 271e8c46c5 Fix venv path
This commit fixes venv path for "./run_server.sh -V" as follows:

  * before: tools//../.venv
  * after:  tools/../.venv

Change-Id: I5dc461ad32a06f103bf7b5202ec4d9a6cc9d16f9
2016-02-15 16:58:55 +09:00
Jenkins 877a0877d3 Merge "Updates to swagger_to_rst template" 2016-01-29 23:18:39 +00:00
venkatamahesh 469e5b6dd2 Update the launchpad bug link in CONTRIBUTING.rst
Change-Id: Ib9c813d88ca9ebdb99145e7a8fe9013c9030c198
2016-01-25 13:27:44 +05:30
Karen Bradshaw de0b437563 Updates to swagger_to_rst template
-Updated template to use new fields and file structure.
 See swagger files in conversion_files_valid.

Change-Id: Ibfbbff48b0165ed993ec705308c20c806809b990
2016-01-22 09:44:59 -05:00
Anne Gentle 1b8719f98b Adds initial release notes entry to release 0.1.0
Change-Id: I47097ed2a2ed0cf2a6129c21e6396020bb90b158
2016-01-21 19:18:09 +01:00
Jenkins 41d86a85a3 Merge "Adds releasenotes using the reno tool" 2016-01-21 14:27:48 +00:00
Jenkins 69fff19a90 Merge "Updates README file now that tool is in OpenStack org" 2016-01-21 14:27:42 +00:00
Jenkins 83d0e5853d Merge "More updates for generating valid swagger" 2016-01-21 14:05:10 +00:00
Anne Gentle 250acd6141 Adds releasenotes using the reno tool
Depends-On: I6cd94595c9e625f5147defb6f367adef05181a88
Change-Id: I1dd583010370d31360d20a880df9c4667f54117c
2016-01-19 21:11:35 +01:00
Anne Gentle 7153280098 Updates README file now that tool is in OpenStack org
Change-Id: Ib0e785413374c64a0be79d18e401d22575d5edbd
2016-01-19 10:07:42 -06:00
Karen Bradshaw fc8330cf0f More updates for generating valid swagger
-Added items object to parameter when type is array.
Setting default type of array elements to string.
-Updated package.json to include a validator library.
-Added basic validation test for a small set of generated files.
-Increased the wait time for larger files.

Change-Id: I35999fd035d7399d4cc8e46c1bb4edca99608ce3
2016-01-19 06:29:01 -05:00
Jenkins d72c037d7d Merge "Fix project URLs" 2016-01-19 03:59:48 +00:00
Ken'ichi Ohmichi e7530bcfb1 Fix project URLs
fairy-slipper is in openstack namespace now, so the URLs should
be changed as openstack project.

Change-Id: I1c25332c5733f1c32c35e07bee5bf14dfa654a4a
2016-01-19 01:20:08 +00:00
Ken'ichi Ohmichi dd69f4d26c Remove py33 test
Now we are testing py34 instead of py33 on the gate.
And in most projects, py33 has been removed from tox.ini.

So this patch removes py33 from fairy-slipper.

Change-Id: Id3c1053bff0e53c44f170a44cd69f03621edbe75
2016-01-13 08:22:16 +00:00
Andreas Jaeger 42ea9b9bc2 Fix gitreview file
The file should point to the correct repo name which is openstack and
not anymore stackforge.

Change-Id: I9bca1ddbc1ef74dcbc21d9a12a896678b0bc4d83
2016-01-11 18:26:42 +00:00
Andreas Jaeger c5ed51d3fc Fix pep8 violations
Make change pass flake8, fix a couple of whitespace problems and
remove commented out code that is not needed (replicates existing code).

Change-Id: Ie6381a866be6062399784f33ea55078975211e59
2016-01-09 18:35:23 +00:00
Karen Bradshaw 9eee45ea53 Updates for generating valid swagger. 2016-01-06 16:48:18 -05:00
Anne Gentle ffeb69baed Merge pull request #68 from annegentle/defaults
Adds / for basePath and developer.openstack.org for host
2016-01-05 18:19:21 -05:00
Anne Gentle cf1a1a2d4a Adds / for basePath and developer.openstack.org for host
Should comply with the Swagger spec.
2016-01-05 16:59:43 -06:00
Russell Sim fafb0a4a8a Skip calls that don't exist
Sometimes tempest logs accidentally concatenate multiple lines.  This
may prevent some lines from being parsed.
2015-12-19 12:35:23 +11:00
Karen Bradshaw 3e7b506f77 Fix for issue #47. 2015-12-18 15:55:04 -05:00
Karen Bradshaw 52135c8142 Fix for issue #54.
Fix for method description when request has
query and header params.
Added dict and xsd:dict types (volume_api).
2015-12-15 09:47:41 -05:00
Anne Gentle e53cb209b0 Merge pull request #51 from annegentle/trim-swagger
Removes schemes and securityDefinitions objects from Swagger output
2015-12-07 10:55:58 -06:00
Anne Gentle 6aca1d5997 Removes schemes and securityDefinitions objects from Swagger output
- Both those definitions are set by deployer.

Fixes Issue #50 and #49
2015-12-07 09:55:55 -06:00
Anne Gentle 5235f682a8 Merge pull request #48 from russell/moar-docs
Fills out outline for how-to and concept articles in API Guides
2015-12-03 08:29:26 -06:00
Karen Bradshaw 173040ce98 Fix for issue #43, processing of
reqheader and query description.
2015-12-02 16:06:37 -05:00
Anne Gentle 24bb1beb45 Fills out outline for how-to and concept articles in API Guides 2015-12-02 10:40:27 -06:00
Anne Gentle 69173f57b4 Merge pull request #45 from russell/docs-docs
Usage docs
2015-12-02 07:57:08 -06:00
Anne Gentle 2ed888aae0 Merge branch 'docs-docs' of https://github.com/russell/fairy-slipper into docs-docs 2015-12-01 17:05:21 -06:00
Anne Gentle 9caf615321 Filling out usage docs further 2015-12-01 17:04:17 -06:00
Anne Gentle 65897e69f8 Filling out usage docs further 2015-12-01 15:12:22 -06:00
Anne Gentle cc23092e5d Starts documenting the how-to for OpenStack docs 2015-11-30 15:08:10 -06:00
Karen Bradshaw 73cf925b3b Pep8 fixes. 2015-11-30 14:03:19 -05:00
Karen Bradshaw 7312405937 Partial fix for issue #43,
parameter description formatting.
2015-11-30 12:48:55 -05:00
Karen Bradshaw c77846fce3 Adds check for response obj creation in responseschema. 2015-11-25 09:36:36 -05:00
Karen Bradshaw 060b3283b6 Generate link to response schema, #42. 2015-11-22 14:59:46 -05:00