67 Commits

Author SHA1 Message Date
Doug Hellmann
9514f7869d ignore .stestr output directory
Change-Id: I0f00ec67269439454a7fa5b82fe78c78f43a829e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-24 17:20:28 -05:00
Doug Hellmann
7f4b8a7df2 change default python 3 env in tox to 3.5
Change-Id: Ib2e7dfec238a78697ec580d5d2545be873155f84
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-24 16:48:30 -05:00
Luigi Toscano
940dd5c41e Use ostestr instead of the custom pretty_tox.sh
Switch to os-testr as wrapper for testr, instead of the custom
script pretty_tox.sh.

Change-Id: I70c99b82a837cc0caffadebaeb27192ecfe6f6ba
2017-02-09 12:32:16 +01:00
Andreas Jaeger
9df1719ff1 Remove link to modindex
The documentation build does not generate any module index, thus remove
the link to the page. The page
http://docs.openstack.org/infra/python-storyboardclient/py-modindex.html
does not exist.

Change-Id: I008c16988638a44cde54295e24dc396207c234d2
2016-12-28 16:37:34 +01:00
Doug Hellmann
b9bdddde51 remove or adopt incubated oslo code
Switch to oslo.i18n fully.

Move the old incubated apiclient package to storyboardclient._apiclient
to make it clear it is no longer maintained by the Oslo team.

Remove the configuration file for syncing from the Oslo incubator.

Update the flake8 and coverage settings to ignore the apiclient in its
new home until it is cleaned up and passes completely.

Story: 2000776
Change-Id: I017e965353a20e0af151f0db9dc0ea8da9ff4b2f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-11-08 13:44:49 -05:00
Michael Still
b41d60e0c4 Remove incubated uuidutils.
Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.

Change-Id: I7346af36724892b6595708cf51cc4fbad01649d1
2016-10-28 23:30:06 +11:00
Michael Still
318aa151f5 Remove o/c/local.py and o/c/log.py
Move over to the new fangled oslo logging library.

Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.

Change-Id: Ib091ac61bda0ef4084cfd3f32eda083898ed02fc
2016-10-28 19:03:57 +11:00
Zara
d7622a8f0a Update 'usage'
This updates the commentary on the python client, now that it can
work with StoryBoard instances that use self-signed certificates.

It also removes 'examples of delete commands' from the TODOs, as
we don't want to make it easy for passers-by to copy-paste a command to
delete data in bulk without any understanding.

Change-Id: Icb9660ac79992a1e53baa89f1016c626b0cfe467
2016-09-23 17:58:57 +00:00
Jenkins
cfdfaf866c Merge "Make dev the default StoryBoard instance" 2016-09-12 10:42:17 +00:00
Jenkins
671732beb5 Merge "Note importance of using https url instead of http" 2016-09-12 10:38:56 +00:00
Zara
307926fe7b Make dev the default StoryBoard instance
This makes the default instance https://storyboard-dev.openstack.org.
Previously, the default was https://storyboard.openstack.org.

It's probably not a good idea to have everyone pointing their test
python scripts at a production instance of StoryBoard by default.
This should be safer.

Change-Id: I937b3ea584893eeff51db10fb7b958a566f871be
2016-09-06 16:31:27 +00:00
Zara
9a21d1fa0e Give user option to bypass verification
This allows a user to use the python client with a storyboard
instance that has a self-signed certificate, such as
https://storyboard-dev.openstack.org

Change-Id: Id1b1fb7b1b3921b70b2fa6946f13d188dd88f64e
2016-09-06 16:02:54 +00:00
Zara
1b0c01e7b7 Note importance of using https url instead of http
Otherwise, the user will get this error:

`AttributeError: 'list' object has no attribute 'iteritems'`

which is rather difficult to track down.

Change-Id: I49f69bb34e38f7dda0e37fad7f50f11c07b71880
2016-09-05 15:18:01 +00:00
Andreas Jaeger
3695e1f312 It's 2016
Update copyright year.

Change-Id: I999db0ce19886f443420c9b566771a4fb5292ab6
2016-09-05 12:20:00 +02:00
Jenkins
e8b746d411 Merge "Add due_dates" 2016-09-05 10:06:44 +00:00
Zara
3decaa7452 Add basic docs for python client
Now a user can more easily find out how to update StoryBoard via the
python client.

Story: 2000710
Task: 3190

Change-Id: Ie59933344c24bca59477d75fa589a063d8866c6f
2016-09-02 11:18:56 +00:00
Zara
d15d2e1b41 Add due_dates
This makes it possible for the python client to get a list of
due_dates (for boards).

Change-Id: Ic66c53680c51cd0e56c03328ddfb799b5743ddfa
2016-09-01 17:37:25 +00:00
Jenkins
58d9f14af5 Merge "Add support for private stories" 2016-08-10 10:29:59 +00:00
Jenkins
2c840dece4 Merge "Add system info" 2016-08-10 10:22:31 +00:00
Zara
f42ccafced Add system info
Lets the client get info about the storyboard version. At present, this
is not interesting info, like the sha1, but the version value (currently
0.0.1). Maybe that suggests the API needs updating.

Change-Id: Ia3861aa70abf5cd75e9fb5bce8b0ab9410c49460
2016-07-27 13:01:12 +00:00
Zara
4b922b52a6 Add support for private stories
This lets the python client return a story's 'private' setting,
which will be True or False.

Change-Id: I9625064a111d8fa0e53cd5b9ea5ed30ba37b3eec
2016-07-26 15:19:16 +00:00
Swapnil Kulkarni (coolsvap)
19b7056a25 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I559ada7590f2f350fe65acce3282403fc1e39c21
2016-07-22 04:59:37 +00:00
Jenkins
4f8e6d0fa0 Merge "Add boards" 2016-07-04 16:08:56 +00:00
Bilal Tariq
40c220c0f9 Updated Worklist API
-Added WorklistFilters
-Added WorklistFilterCriteria
-Added NestedManagers for both

Refactored v1/worklists.py

Renamed get_all_filter to get_all_from_filter

Removed whitespace in worklists.py for PEP8 test

Removed erroneous change in base.py

Removed verify=False in HTTPClient creation.

Change-Id: I37d20066492f3414061a8aaa26f800cc3c858091
Signed-off-by: Bilal Tariq <bilal.tariq@codethink.co.uk>
2016-06-24 11:05:34 +00:00
Zara
80309976e2 Add boards
Now you can request a board. Absolute basics; not yet possible to
see the board's worklists or their items, which is the interesting
bits.

Change-Id: Ic142e46751c920bc150dd7f63992710711887e78
2016-06-21 10:32:11 +00:00
Jenkins
ad713855fb Merge "Get storyboard resources by properties other than ID" 2016-05-16 14:35:53 +00:00
Zara
124f15e9fd Get storyboard resources by properties other than ID
Before, you had to fetch resources via ID. This patch
lets you get resources via other properties, eg: get
a list of stories with a specific named tag.

I'm committing this but it's really co-authored with
SotK, ie: he walked me through it. :)

Change-Id: I28dbfc95badb9153187b7a4449d6d3df65635a20
2016-04-28 20:47:32 +00:00
Jenkins
d743500b31 Merge "Add repo_url and team_id" 2016-04-15 13:25:49 +00:00
Jenkins
00293c457a Merge "Add worklists" 2016-04-15 13:23:23 +00:00
Jenkins
cf521f2ef9 Merge "Update tasks.py to include links" 2016-04-15 13:23:17 +00:00
Jenkins
fbebf894b4 Merge "Update Timeline" 2016-04-15 13:23:01 +00:00
Jenkins
422e43f574 Merge "Add story_type_id to stories" 2016-04-15 13:22:55 +00:00
Elizabeth K. Joseph
1c1c7a7498 Fix link to docs in README
Change-Id: I8a5e29291d66804a12e99e94edab06153be152b0
2016-04-08 09:47:24 -07:00
Zara
23d0ce195e Add repo_url and team_id
Adding these for completeness. I think repo_url is actually deprecated,
so we may not want this. There are plans to use project teams at some
point, though.

Change-Id: I0f57f2c530e414783358b2d5ed265a22ad5628ea
2016-03-30 15:39:09 +00:00
Zara
4b411274e8 Add worklists
Adds ability to request a worklist. Very basic; can't yet request
worklist items.

Change-Id: Ib94527a1a0504bfdfcc1ff78b29a8734be31b716
2016-03-30 14:52:38 +00:00
Zara
b2ec520a1e Update Timeline
This adds ability to request 'in_reply_to' field for comments.

Change-Id: I7b2fe0f5ea76ef6f0f91348b9bc07003d668a13b
2016-03-30 13:33:28 +00:00
Zara
90f9ac3eb9 Add story_type_id to stories
Now users will get the story_type_id as part of the request

Change-Id: Ifaaa6852a595286e683f63b542684c4c92286328
2016-03-30 13:23:21 +00:00
Zara
4287d9e113 Update tasks.py to include links
Now a request for a task can include notes (links). We should update
this when we update the db to use the term 'notes' instead of 'links'.

Change-Id: Ia38da58592dab7754cb6c7077057dfcb69d28b40
2016-03-30 12:27:17 +00:00
Zara
c0a604b432 Update Docs
The installation instructions were incorrect; they advised the user to
install a package via pip that was not registered in pypi. This patch
changes the installation instructions to ones that work. To avoid
confusion, this patch also notes that the client does not run via a
command, but can just be imported into other scripts.

Change-Id: If34a26dc78641daf0be90dab4a7f788dc72db4bb
2016-03-29 17:53:59 +00:00
Jenkins
e31f95e447 Merge "Change ignore-errors to ignore_errors" 2015-09-22 12:07:12 +00:00
Adam Coldrick
7d9350d886 Fix oslo imports
Oslo modules are now named with `_` instead of `.`. This patch updates
the import statements in python-storyboardclient to reflect this.

Change-Id: Id866d316bd79d00737896340a458a9281b74fa07
2015-09-21 22:33:25 +01:00
Monty Taylor
a22ddaf776 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: Iedff4850f56b4248b1f676293af7f34bb4a866d6
2015-09-21 14:23:56 +00:00
Aleksey Ripinen
c58a089d4c Added subscription events controller
Added SubscriptionEvent object and manager.
Added tests.

Change-Id: I24e8edf21fbc5724487e1ac1670f75509d4608a4
2015-03-24 16:49:18 +03:00
Aleksey Ripinen
d8e4f3ced3 Added milestones controller
Added Milestone object and manager.
Added field milestone_id to Task object.

Change-Id: I87347e99f95b49a580cf0e34ed968d4b4e77853b
2015-03-02 16:10:46 +03:00
Jenkins
78f934c553 Merge "Added tags controller" 2015-02-28 08:11:08 +00:00
Aleksey Ripinen
70aedc6ce3 Added branches controller
Added Branch object and manager.
Added field branch_id to Task object.
Added field autocreate_branches to
Project object.

Change-Id: I8eaa42f03663c4e65981129f22eec01f13d4a3f3
2015-02-27 14:13:31 +03:00
Aleksey Ripinen
c93ed03539 Added tags controller
Added Tag object, manager and nested
manager.

Change-Id: I8b67ebf5919adfb641381be6facc98d0a428fcdd
2015-02-27 13:22:34 +03:00
Jenkins
4772d5b1db Merge "Added user_tokens controller" 2015-02-26 18:36:55 +00:00
Jenkins
f70bd6a8b7 Merge "Added timeline controller" 2015-02-26 14:10:05 +00:00
Aleksey Ripinen
b83b45c6fb Added subscriptions controller
Added subscriptions class and manager.

Change-Id: I68ba5d653866dc84ee3489309b966379106c952d
2015-02-25 16:35:14 +03:00