[jira] [Updated] (AMBARI-21894) PATCH and MAINT Repositories Should Indicate that they can be Reverted

2017-09-11 Thread Jonathan Hurley (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-21894:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> PATCH and MAINT Repositories Should Indicate that they can be Reverted
> --
>
> Key: AMBARI-21894
> URL: https://issues.apache.org/jira/browse/AMBARI-21894
> Project: Ambari
>  Issue Type: Task
>Affects Versions: 2.6.0
>Reporter: Jonathan Hurley
>Assignee: Jonathan Hurley
>Priority: Blocker
> Fix For: 2.6.0
>
> Attachments: AMBARI-21894.patch
>
>
> In the current PU UI, the revert button is shown for any PATCH type 
> repository.  The backend should compute whether a version can be reverted.
> The backed should return a value, such as 
> {{ClusterStackVersions/supports_revert}} which clients, such as the web 
> client, can use.
> {code:title=Example REST Changes}
> {
>   "ClusterStackVersions": {
> "cluster_name": "c1",
> "id": 51,
> "repository_version": 51,
> "revert_upgrade_id": 1,
> "stack": "HDP",
> "supports_revert": true,
> "version": "2.6"
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21894) PATCH and MAINT Repositories Should Indicate that they can be Reverted

2017-09-06 Thread Jonathan Hurley (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-21894:
-
Description: 
In the current PU UI, the revert button is shown for any PATCH type repository. 
 The backend should compute whether a version can be reverted.

The backed should return a value, such as 
{{ClusterStackVersions/supports_revert}} which clients, such as the web client, 
can use.

{code:title=Example REST Changes}
{
  "ClusterStackVersions": {
"cluster_name": "c1",
"id": 51,
"repository_version": 51,
"revert_upgrade_id": 1,
"stack": "HDP",
"supports_revert": true,
"version": "2.6"
  }
}
{code}


  was:
In the current PU UI, the revert button is shown for any PATCH type repository. 
 The backend should compute whether a version can be reverted.

The backed should return a value, such as 
{{ClusterStackVersions/supports_revert}} which clients, such as the web client, 
can use.


> PATCH and MAINT Repositories Should Indicate that they can be Reverted
> --
>
> Key: AMBARI-21894
> URL: https://issues.apache.org/jira/browse/AMBARI-21894
> Project: Ambari
>  Issue Type: Task
>Affects Versions: 2.6.0
>Reporter: Jonathan Hurley
>Assignee: Jonathan Hurley
>Priority: Blocker
> Fix For: 2.6.0
>
> Attachments: AMBARI-21894.patch
>
>
> In the current PU UI, the revert button is shown for any PATCH type 
> repository.  The backend should compute whether a version can be reverted.
> The backed should return a value, such as 
> {{ClusterStackVersions/supports_revert}} which clients, such as the web 
> client, can use.
> {code:title=Example REST Changes}
> {
>   "ClusterStackVersions": {
> "cluster_name": "c1",
> "id": 51,
> "repository_version": 51,
> "revert_upgrade_id": 1,
> "stack": "HDP",
> "supports_revert": true,
> "version": "2.6"
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21894) PATCH and MAINT Repositories Should Indicate that they can be Reverted

2017-09-06 Thread Jonathan Hurley (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-21894:
-
Attachment: AMBARI-21894.patch

> PATCH and MAINT Repositories Should Indicate that they can be Reverted
> --
>
> Key: AMBARI-21894
> URL: https://issues.apache.org/jira/browse/AMBARI-21894
> Project: Ambari
>  Issue Type: Task
>Affects Versions: 2.6.0
>Reporter: Jonathan Hurley
>Assignee: Jonathan Hurley
>Priority: Blocker
> Fix For: 2.6.0
>
> Attachments: AMBARI-21894.patch
>
>
> In the current PU UI, the revert button is shown for any PATCH type 
> repository.  The backend should compute whether a version can be reverted.
> The backed should return a value, such as 
> {{ClusterStackVersions/supports_revert}} which clients, such as the web 
> client, can use.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21894) PATCH and MAINT Repositories Should Indicate that they can be Reverted

2017-09-06 Thread Jonathan Hurley (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-21894:
-
Status: Patch Available  (was: Open)

> PATCH and MAINT Repositories Should Indicate that they can be Reverted
> --
>
> Key: AMBARI-21894
> URL: https://issues.apache.org/jira/browse/AMBARI-21894
> Project: Ambari
>  Issue Type: Task
>Affects Versions: 2.6.0
>Reporter: Jonathan Hurley
>Assignee: Jonathan Hurley
>Priority: Blocker
> Fix For: 2.6.0
>
>
> In the current PU UI, the revert button is shown for any PATCH type 
> repository.  The backend should compute whether a version can be reverted.
> The backed should return a value, such as 
> {{ClusterStackVersions/supports_revert}} which clients, such as the web 
> client, can use.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)