Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding missing organization teams APIs #795

Merged
merged 37 commits into from
Jun 12, 2015
Merged

adding missing organization teams APIs #795

merged 37 commits into from
Jun 12, 2015

Conversation

phantomtypist and others added 18 commits February 27, 2014 16:46
was done because the same Uri is also used to get a team, not just
updating and deleting.

- Fixed references pointing to method name that was changed.
- Implemented the aforementioned Get method in the
Octokit/Clients/TeamsClient class.

- Added test in Octokit.Tests/Clients/TeamsClientTests for the
aforementioned Get method.
interface.

- Implemented aforementioned Get method in
Octokit.Reactive/Clients/ObservableTeamsClient class.
…-org-teams

Conflicts:
	Octokit.Reactive/Clients/IObservableTeamsClient.cs
	Octokit.Reactive/Clients/ObservableTeamsClient.cs
	Octokit/Clients/ITeamsClient.cs
	Octokit/Clients/TeamsClient.cs
	Octokit/Helpers/ApiUrls.cs
- Added functionality for AddMember, RemoveMember and GetRepositories
- Unit tests missing for now.
- Removed generic ApiException exception from xml-doc on Teams related
client methods.
- Added ApiValidationException exception in xml-doc for AddMember team
client method.
Added AddMember and Remove Member tests.
- Added test for GetRepositories method.
- Updated todo's on other tests for the teams client.
- Added teams client interface methods for AddRepository,
RemoveRepository and IsRepositoryManagedByTeam.
- Added Uri for the aforementioned methods.
- AddRepository
- RemoveRepository
- IsRepositoryManagedByTeam
In both the ObservableTeamsClient and TeamsClient, added:

- AddRepository
- RemoveRepository
- IsRepositoryManagedByTeam
Added tests to ensure non null or empty arguments for the AddRepository,
RemoveRepository and IsRepositoryManagedByTeam methods in the teams
client.

Also included todo's for adding tests to check if methods request the
correct url and also return correct results.
…tomtypist/octokit.net into phantomtypist-phantomtypist/331-org-teams

Conflicts:
	Octokit.Reactive/Clients/IObservableTeamsClient.cs
	Octokit.Reactive/Clients/ObservableTeamsClient.cs
	Octokit.Tests/Clients/TeamsClientTests.cs
	Octokit/Clients/ITeamsClient.cs
	Octokit/Clients/TeamsClient.cs
	Octokit/Helpers/ApiUrls.cs
@shiftkey
Copy link
Member Author

I've marked IsMember as obsolete here with a note to use GetMembership and be consistent.

Everything else is new APIs. Ready for review.

@shiftkey shiftkey changed the title adding missing organization teams APIs [WIP] adding missing organization teams APIs May 22, 2015
@shiftkey shiftkey changed the title [WIP] adding missing organization teams APIs adding missing organization teams APIs May 22, 2015
haacked added a commit that referenced this pull request Jun 12, 2015
adding missing organization teams APIs
@haacked haacked merged commit 9524432 into master Jun 12, 2015
@haacked haacked deleted the org-teams branch June 12, 2015 02:28
This was referenced Jun 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants