Closed
Bug 1257142
Opened 9 years ago
Closed 9 years ago
Add tests to taskcluster java client for creating temporary credentials, and align implementation with go client
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pmoore, Assigned: pmoore)
Details
Attachments
(1 file)
We've recently had temp credentials creation feature added to taskcluster-client-java thanks to an awesome contributor (Chinmay).
This bug is about adding tests, and also aligning the implementation with the go client, so we have similar classes / structures in place, so that e.g. the temp credentials that are created can be directly used for querying services (queue, scheduler, etc...).
I've made quite an overhaul, and added a language-independent json file with test cases, which I've also added to the go client. I can confirm both clients execute these tests successfully.
See:
* https://github.com/taskcluster/taskcluster-client-go/blob/1b727354af0d1ee7b2ad5bd9573fa7ab4c68b96e/tcclient/testcases.json
* https://github.com/taskcluster/taskcluster-client-java/blob/4d194590897347d00aa35ba13449a91dff42a982/src/test/resources/testcases.json
Test results:
* https://travis-ci.org/taskcluster/taskcluster-client-go/builds/116209180#L577
* https://travis-ci.org/taskcluster/taskcluster-client-java/builds/116343233#L952
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8731191 -
Flags: review?(dustin)
Updated•9 years ago
|
Attachment #8731191 -
Flags: review?(dustin) → review+
| Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Client Libraries → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•