You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-8Lines changed: 21 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,6 @@ Applications may be paused and restarted. This leaves all the installed componen
59
59
60
60
Each Creator implements a specific set of steps to uninstall components of its associated type. The Creator is passed the application data associated with the package and component and uses this to execute those steps.
61
61
62
-
63
62
# Requirements
64
63
65
64
*[Maven](https://maven.apache.org/install.html)
@@ -358,22 +357,30 @@ Response Codes:
358
357
359
358
### Start _application_
360
359
````
361
-
POST /applications/<application>/start
360
+
POST /applications/<application>/start?user=<username>
362
361
363
362
Response Codes:
364
363
202 - Accepted, poll /applications/<application>/status for status
364
+
403 - Unauthorised user
365
365
404 - Application not known
366
366
500 - Server Error
367
+
368
+
Query Parameters:
369
+
user - User with permisson to perform this action on the application should be passed.
367
370
````
368
371
369
372
### Stop _application_
370
373
````
371
-
POST /applications/<application>/stop
374
+
POST /applications/<application>/stop?user=<username>
372
375
373
376
Response Codes:
374
377
202 - Accepted, poll /applications/<application>/status for status
378
+
403 - Unauthorised user
375
379
404 - Application not known
376
380
500 - Server Error
381
+
382
+
Query Parameters:
383
+
user - User with permisson to perform this action on the application should be passed.
377
384
````
378
385
379
386
### Get full information for _application_
@@ -419,9 +426,8 @@ Example response:
419
426
### Create _application_ from _package_
420
427
421
428
````
422
-
PUT /applications/<application>
429
+
PUT /applications/<application>?user=<username>
423
430
{
424
-
"user": "<username>",
425
431
"package": "<package>",
426
432
"<componentType>": {
427
433
"<componentName>": {
@@ -437,9 +443,11 @@ Response Codes:
437
443
409 - Application already exists
438
444
500 - Server Error
439
445
446
+
Query Parameters:
447
+
user - User creating this application should be passed.
448
+
440
449
Example body:
441
450
{
442
-
"user": "somebody",
443
451
"package": "<package>",
444
452
"oozie": {
445
453
"example": {
@@ -448,17 +456,21 @@ Example body:
448
456
}
449
457
}
450
458
451
-
Package and user are mandatory, property settings are optional
459
+
Package is mandatory, property settings are optional
0 commit comments