Commit Graph

228 Commits

Author SHA1 Message Date
Ivan Meredith eff10c9b83 Removed PullRequests from common rest api. Will just expose it via the driver 2016-03-07 12:51:42 +13:00
Vivek Pandey b6d7dcb69f UX-97# API to fetch run log 2016-03-03 15:54:55 -08:00
Vivek Pandey 0c26fd832d Merge remote-tracking branch 'origin/master' into feature/UX-94 2016-03-02 17:57:48 -08:00
Vivek Pandey 3444522f29 ChangeSet implementation 2016-03-02 17:57:12 -08:00
Ivan Meredith d7ec6bab90 Fix getProperties to always return a list 2016-03-03 14:28:35 +13:00
Ivan Meredith 32b501b7c2 UX-111: Add a property to a branch to denark it as a Pull Request 2016-03-03 14:02:52 +13:00
Kohsuke Kawaguchi bbe467e1cd ChangeSetResource is now a full fledged resource class 2016-03-02 15:01:01 -08:00
Vivek Pandey 68a2f2bb31 Merge branch 'feature/UX-94' of github.com:cloudbees/blueocean into feature/UX-94 2016-03-02 14:52:20 -08:00
Vivek Pandey 59c3c40128 ChangeSet related changes with latest stapler 2016-03-02 14:49:15 -08:00
Kohsuke Kawaguchi 5101d7ff11 Support pagenation 2016-03-02 13:51:50 -08:00
Kohsuke Kawaguchi 611186bfb3 Work around no longer needed with Stapler 1.240 2016-03-02 13:50:57 -08:00
Ivan Meredith 69e35e162e Merge remote-tracking branch 'origin/master' into feature/UX-65
# Conflicts:
#	blueocean-rest/src/main/java/io/jenkins/blueocean/rest/model/BlueMultiBranchPipeline.java
2016-03-02 17:13:24 +13:00
Ivan Meredith fad39c22ca [UX-65] Add basic PR information to REST api
This commit adds the total number and build statuses of Github Pull Requests.

It also filters out pull requests from the branch statistics.

Future work includes: filtering out PR's from other branch calls and getting more data about the PR for the uI
2016-03-02 17:02:44 +13:00
Vivek Pandey 640d5f29ae Mostly implemented... 2016-03-01 19:16:38 -08:00
Kohsuke Kawaguchi cc9a81be01 Bind changesets
TODO: make the code a bit more DRY, especially around how we convert
ChangeLogSet into a Map
2016-03-01 19:16:38 -08:00
Kohsuke Kawaguchi ab10ee411d Generic implementation of Container and Resource
... to help bind more things to REST API more quickly without defining typed interfaces for each of them
2016-03-01 19:16:37 -08:00
Vivek Pandey 97bc6c3819 UX-94# Initial commit 2016-03-01 19:16:37 -08:00
Vivek Pandey 0637d0a6e3 trigger build 2016-03-01 19:02:51 -08:00
Vivek Pandey 952cf8fe2a doc improvement and some leftover commits 2016-03-01 18:01:20 -08:00
Vivek Pandey e47e7d0f2c UX-101# weather should be for all types of jobs 2016-03-01 17:50:11 -08:00
Vivek Pandey 3439eedfd1 UX-64# Renamed branches to branchNames in Pipeline model 2016-02-29 19:34:11 -08:00
Vivek Pandey ae4009afc7 UX-37# Multibranch pipeline model 2016-02-29 18:17:54 -08:00
Vivek Pandey 291afeae77 another PR build trigger 2016-02-29 15:47:04 -08:00
Vivek Pandey afc098f41c Trigger another pr build 2016-02-29 15:25:02 -08:00
Vivek Pandey 5685a674fb To trigger jenkins build 2016-02-29 15:03:46 -08:00
Vivek Pandey 59c1a55e6c UX-53# MultiBranch pipeline and branch implementation
See blueocean-rest/README.md for details on MB pipeline specific rest apis.
2016-02-29 10:16:13 -08:00
tfennelly a3a2430603 Revert "Interceptor.invoke does not throw a ServletException"
This reverts commit f6fc287de0.
2016-02-28 18:26:39 +00:00
tfennelly f6fc287de0 Interceptor.invoke does not throw a ServletException 2016-02-28 12:16:43 +00:00
Michael Neale 7bfa2d402b README clarifications and editing 2016-02-26 17:10:59 +11:00
Vivek Pandey fe825deb57 bo changed to blue 2016-02-25 18:20:20 -08:00
Vivek Pandey 825ece5dce doc fixes 2016-02-25 14:50:51 -08:00
Vivek Pandey 99cbbdc586 javadoc fixes. 2016-02-25 14:38:16 -08:00
Vivek Pandey a0442fcc4c blueocean-plugin functionally complete. 2016-02-24 19:29:40 -08:00
Vivek Pandey b256b25d65 Run API implementation completed. 2016-02-24 18:22:36 -08:00
Kohsuke Kawaguchi e76df0fcc3 Added another convenience method 2016-02-24 17:38:45 -08:00
Kohsuke Kawaguchi 1756dbe739 Using BO prefix on model objects to avoid name collisions
There are class names like User and Run that collie with those in
Jenkins. While discussing this stuff with Vivek, it became clear that
this is confusing.

Having a bit of prefix (and just in model classes) make this much
easier, and hopefully people are OK with it.
2016-02-24 16:19:10 -08:00
Vivek Pandey 5f6437e39b Merge branch 'feature/UX-12' of github.com:cloudbees/blueocean into feature/UX-12 2016-02-24 16:17:02 -08:00
Vivek Pandey 7238dc9395 Run API, still under development. 2016-02-24 16:14:44 -08:00
Kohsuke Kawaguchi e04a16fd1a Noting the discussion 2016-02-24 16:13:22 -08:00
Kohsuke Kawaguchi 0fef8e8244 ProfileService has been moved over to users/org containers 2016-02-24 16:03:46 -08:00
Kohsuke Kawaguchi 85e9b96823 ProfileService has mvoed to UserContainer and OrgContainer now 2016-02-24 15:47:08 -08:00
Kohsuke Kawaguchi dec8d67d7c users/{name} route is converted to the new style 2016-02-24 15:03:37 -08:00
Kohsuke Kawaguchi a1c4a29c61 Signup doesn't belong to BlueOcean.
It is at most a concern for a specific driver implementation, aka
Panther. So it doesn't belong to the API, and instead it should be just
additional driver-specific behaviours.

See my comment in AuthenticationAction
2016-02-24 14:48:48 -08:00
Vivek Pandey 911d7235d0 Merge branch 'feature/UX-12' of github.com:cloudbees/blueocean into feature/UX-12 2016-02-24 14:34:00 -08:00
Vivek Pandey 6ee78b4389 Pipeline APIs implemented, tests passing 2016-02-24 14:23:06 -08:00
Kohsuke Kawaguchi 894b392695 Organization has users as members 2016-02-24 14:18:37 -08:00
Kohsuke Kawaguchi 82ccb05bd5 Basics of the profile service API for users 2016-02-24 14:14:23 -08:00
Kohsuke Kawaguchi 04c951787d redundant final 2016-02-24 13:42:07 -08:00
Vivek Pandey 7c3d65ddba Auth refactoring
- auth related code moved out from blueocean-web to blueocean-authentication-service and blueocean-security-api
- blueocean-plugin no more depends on any auth service code. Reference to Identity and Credential to be removed later
2016-02-23 23:15:59 -08:00
Vivek Pandey bdcb18a19a Merge remote-tracking branch 'origin/master' into feature/UX-12 2016-02-23 21:50:53 -08:00
Kohsuke Kawaguchi 4aa5aba0d7 Now every container has pagenation support 2016-02-23 19:00:33 -08:00
Kohsuke Kawaguchi 1cf8bc6624 Revisited the way search endpoint is put together
- brought in extensibility
- discussed how to do pagination and put in some initial prototype
2016-02-23 18:54:40 -08:00
Kohsuke Kawaguchi 3c0cc858ea Moved the search to the direct API 2016-02-23 18:25:11 -08:00
Kohsuke Kawaguchi 3a1876ed9f GET for the pipeline is now implemented in the sandbox model 2016-02-23 18:11:59 -08:00
Kohsuke Kawaguchi 7ebc351883 Putting some more meat in Pipeline class 2016-02-23 18:03:02 -08:00
Kohsuke Kawaguchi 3029d58196 Switching back to object export mechanism 2016-02-23 16:31:19 -08:00
Kohsuke Kawaguchi c7a81f6b2c Cleaned up unused imports 2016-02-23 16:29:52 -08:00
Kohsuke Kawaguchi 9dd62a1837 doc improvement 2016-02-23 16:29:41 -08:00
Kohsuke Kawaguchi 78312d1a1d Making this scaffold a bit more real 2016-02-23 14:43:59 -08:00
Kohsuke Kawaguchi 0a0660aff7 Merge remote-tracking branch 'origin/feature/UX-12' into vivek-kk
Brought up to speed with feature/UX-12

Conflicts:
	blueocean-rest/src/main/java/io/jenkins/blueocean/rest/ApiHead.java
2016-02-23 14:19:37 -08:00
Kohsuke Kawaguchi 0c4fb4711e Defined a collection GET operation 2016-02-23 14:11:43 -08:00
Kohsuke Kawaguchi 914867fa28 Moved get/create/update org ops to the new model 2016-02-23 14:03:12 -08:00
Kohsuke Kawaguchi f8ce84b68d Reuse Routable 2016-02-23 13:47:31 -08:00
Kohsuke Kawaguchi f9773706a6 Elevated the ability to augment the URL space of BlueOcean root into
an extension point.
2016-02-23 13:43:47 -08:00
Kohsuke Kawaguchi ccc5a3cf4c Eliminated unused code 2016-02-23 13:38:47 -08:00
Kohsuke Kawaguchi 1d94f06b57 Making the compiler happy 2016-02-23 13:38:14 -08:00
Kohsuke Kawaguchi 3c71b5b4a6 Alllow drivers to expose additional top-level routes 2016-02-23 13:37:37 -08:00
Kohsuke Kawaguchi a4617ab29d These code belongs to a separate module 2016-02-23 13:16:31 -08:00
Kohsuke Kawaguchi 9a5b3cafd7 Actually making the bits to compile
... by using the stapler annotations that I added based on the original
prototyping done in this branch.
2016-02-23 13:07:51 -08:00
Kohsuke Kawaguchi bbc29936c6 More prototype work 2016-02-22 18:22:02 -08:00
Vivek Pandey 5010660e5c Change to incorporate changes in model 2016-02-22 14:16:27 -08:00
Vivek Pandey fbc607464a UX-12# blueocean-rest implementation
- Embedded driver uses blueocean-rest module to expose service api implementation via REST
- Refactored core to move out embryo in to war module
- BlueOceanRootAction moved in to embedded driver
- README added to blueocean-rest and embedded-driver modules
2016-02-22 13:39:32 -08:00
Kohsuke Kawaguchi 9e1a264f78 The request payload should be CreateOrganizationRequest 2016-02-19 17:27:16 -08:00
Kohsuke Kawaguchi cd9f80874c Supporting the tree parameter during the state transfer of an object.
... so that clients can specify what properties it want to fetch.
2016-02-19 17:24:58 -08:00
Kohsuke Kawaguchi bbde05c914 JSON is a text format, so it should be Reader
... instead of InputStream. Imagine JSON submitted with encoding other
than UTF-8.
2016-02-19 17:06:44 -08:00
Kohsuke Kawaguchi c76e6c9f96 We want the state transfer to be able to use the tree parameter 2016-02-19 17:05:56 -08:00
Kohsuke Kawaguchi d6abf8ae34 Prototyping in progress.
Nothing to see here just yet.
2016-02-19 15:19:06 -08:00
Vivek Pandey f39cf0b5b4 UX-12# blueocean-rest implementation
- Embedded driver uses blueocean-rest module to expose service api implementation via REST
- Refactored core to move out embryo in to war module
- BlueOceanRootAction moved in to embedded driver
- README added to blueocean-rest and embedded-driver modules
2016-02-19 11:36:49 -08:00