Commit Graph

1648 Commits

Author SHA1 Message Date
Vivek Pandey 5ef2774714 UX-5# Implemented Service APIs for embedded case.
- Generated hpi can be used as plugin on Jenkins.
- There are tests to launch FreeStyle jobs and serve them via API
- No workflow/pipeline style jobs based tests yet. There is some problem using workflow-plugin:
  some maven depency issue causing compilation failure.
- There might be authorization lapses, will be tested after UX-6/UX-7
- model clean up and bug fixes:
- Run model is enhanced to include RunTrend, other run status and enQueueTime
- LoginDetails handling is cleaned-up, it is handled polymorphically with JSON/Jackson
- Service apis, commons and security apis don't depend on core, only embedded-service module depends on core
2016-02-08 18:51:10 -06:00
Josh McDonald 5f1d805720 Initial upstreaming of js-experiment branch, not integrated with the mvn projects for now.
* initial skeleton of app container component, crappy stylesheet
* beginnings of an external plugin (plain js for now)
* beginnings of plugin manager
* integration with react-router, which will need replacing or a replacement "*" route to show dynamic routes
* initial .flowconfig

Squashed commit of the following:

commit f19f201140
commit 2e3d38463f
commit 5e13467fde
commit cb7781456c
2016-02-05 13:39:08 +11:00
Michael Neale 2c36d6bb7f Merge pull request #8 from hadashi/feature/hotswap-docs
Hotswap documentation for IntelliJ
2016-02-05 12:38:11 +11:00
Michael Neale 930ca60be1 Merge pull request #7 from tfennelly/editorconfig
Add .editorconfig (easier style guide compliance)
2016-02-05 12:37:36 +11:00
Ivan Meredith a0826e2fac Forgot to save README before prior commit 2016-02-05 12:50:32 +13:00
Ivan Meredith cebbff4105 Hotswap documentation for IntelliJ 2016-02-05 12:48:53 +13:00
vivek e159ecbcc7 Merge pull request #6 from cloudbees/feature/UX-1
UX-1: profile-service-api and pipeline-service-api modules.
2016-02-04 14:05:17 -08:00
Josh McDonald f19f201140 Boring commit so I can push to sync repo 2016-02-05 08:37:13 +11:00
Vivek Pandey 08b4f9da8d UX-1# Fixed annotation consistency and added CreateOrganization() API.
- Added ServiceException and added to java docs of apis
- ProfileService and PipelineService appears as ExtensionPoint to be
  implemented as @Extension
- Added Identity to abstract user Pricipal
- Convinience ServiceException classes created
- UserDetails gives LoginDetails of various providers

Passing user Identity to Service API implementations:
----------------------------------------------------

Current approach is to pass Identity as parameter of each and every API method.
Any future Service API must have Identity as parameter or things wont work as
expected.

We have it this way at present which is bit ugly and it definitely needs revist.
Once we have Guice based infrastructure in place  and we have code to prove how
it is going to work, these interfaces may change.

For example, an API implementation can always ask for instance of Identity via
Guice injection at the same time service client can call any service API and
inject identity with escalated privilege.
2016-02-04 11:01:40 -08:00
Kohsuke Kawaguchi 05545a2067 When running inside Jenkins, this allows BlueOceanUI to be mapped to /bo/ 2016-02-03 17:50:29 -08:00
tfennelly 1fb162e932 added .editorconfig 2016-02-03 07:37:31 +00:00
Michael Neale ecf0c9810b fix up deps in all/pom.xml to refer to the right api modules 2016-02-03 15:43:32 +11:00
James William Dumay 73495d019f Fix formatting 2016-02-03 12:14:44 +11:00
James William Dumay 89f9448c44 Add initial style guide 2016-02-03 12:13:08 +11:00
Vivek Pandey 28d05cb436 UX-1: profile-service-api and pipeline-service-api modules. 2016-02-02 17:13:06 -08:00
Michael Neale 7d85f15ff8 Merge pull request #3 from cloudbees/topic/run_devtools
script to run dev tools automatically
2016-02-01 17:42:59 +11:00
Michael Neale aa99fbecd8 use set -eu 2016-02-01 17:38:52 +11:00
Michael Neale 0faa895c11 typo, should just be CLEANUP 2016-02-01 17:36:56 +11:00
Michael Neale 3d437a49db script to run dev tools automatically 2016-02-01 17:34:21 +11:00
Josh McDonald 2e3d38463f Checkpoint 2016-02-01 16:40:08 +11:00
Michael Neale ff824716a1 Merge pull request #2 from i386/personal/patch-1
Add MIT license and update README message
2016-02-01 14:42:00 +11:00
James William Dumay 9910294865 Add license 2016-02-01 10:44:03 +11:00
James William Dumay 99edbda74d Update message 2016-02-01 10:42:16 +11:00
Josh McDonald 5e13467fde Inital commit of bootstrapping stuff 2016-01-29 11:12:05 +11:00
Josh McDonald cb7781456c Update pom to reference jenkins repo 2016-01-28 16:30:17 +11:00
Vivek Pandey c46b830190 Fixed test failure and doc improvement 2016-01-25 07:21:17 -08:00
Michael Neale 8cd71d2b58 added a note on how to use gulp for js editing 2016-01-25 17:07:41 +11:00
Michael Neale 74dd80e684 needs a logo 2016-01-25 16:47:21 +11:00
Michael Neale 6168538288 For when you run mvn from top level 2016-01-25 16:44:07 +11:00
Vivek Pandey 914ec49718 Docs and .gitignore. 2016-01-24 18:56:23 -08:00
Kohsuke Kawaguchi caf3976e76 Doc improvement 2016-01-23 16:58:19 -08:00
Kohsuke Kawaguchi 10daf76790 defined additional route to demonstrate features 2016-01-23 16:46:48 -08:00
Kohsuke Kawaguchi 788301bc25 Made the demo work 2016-01-23 16:32:34 -08:00
Kohsuke Kawaguchi 04b3a6e543 This PI is mandatory on all jelly files 2016-01-23 16:25:42 -08:00
Kohsuke Kawaguchi 9f62e659b0 Hook up JavaScript 2016-01-23 16:23:41 -08:00
Kohsuke Kawaguchi 92a7b7dffe More tweaking 2016-01-23 16:01:49 -08:00
Kohsuke Kawaguchi 3f36c1d9ec dependencies need to be listed explicitly, it appears 2016-01-23 16:00:20 -08:00
Kohsuke Kawaguchi 714b7fa918 Better aggregator 2016-01-23 15:50:01 -08:00
Kohsuke Kawaguchi 95e49bdfd3 Added aggregator module 2016-01-23 15:47:58 -08:00
Kohsuke Kawaguchi 699c1db5d1 Package renaming 2016-01-23 15:44:46 -08:00
Kohsuke Kawaguchi 42a80408a4 Have them depend on core 2016-01-23 15:38:58 -08:00
Kohsuke Kawaguchi 65652f5435 Added initial root object 2016-01-23 15:38:23 -08:00
Kohsuke Kawaguchi dfeef2a8c3 doc improvement 2016-01-23 15:37:09 -08:00
Kohsuke Kawaguchi f6ed11144f basic embyro functionality 2016-01-23 15:35:45 -08:00
Kohsuke Kawaguchi 7daca6b493 More skeleton code 2016-01-23 09:34:48 -08:00
Kohsuke Kawaguchi 4955c7298a Java 8 signature doesn't exist yet, apparently 2016-01-23 09:10:55 -08:00
Kohsuke Kawaguchi 48664f9829 Addded war module 2016-01-23 09:08:50 -08:00
Kohsuke Kawaguchi db8f3a37fd Initial POM structure 2016-01-23 09:00:01 -08:00