foreman_acd 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/foreman_acd/concerns/app_instance_mixins.rb +1 -1
- data/app/controllers/ui_acd_controller.rb +1 -1
- data/app/views/foreman_acd/app_instances/index.html.erb +20 -6
- data/lib/foreman_acd/version.rb +1 -1
- data/webpack/components/ApplicationDefinitionImport/ApplicationDefinitionImportActions.js +1 -1
- data/webpack/components/SyncGitRepo/SyncGitRepoActions.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83de94f08101413cbc8407452f5ee0d947ee408ae6a97a8c6b73b3e718fb491c
|
4
|
+
data.tar.gz: dd30d1c5498e67f380a993c1c0d357f759e45774a6d1ebc533858745713ecc32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d6992e92cd29251323fa70075710243b6ecb5a456b8da5dbd4290bcc6f26fd212794363f598d8537b39751830b25e8138777d59707bd7bc4b5c02f7f408da08
|
7
|
+
data.tar.gz: 2016e8513a0e8eef391a565f4ccfe647df746794aff438af1ea94b6006b22c29f6273afe277c46365718887c3eac65fa745c669fb116da65fd5323b4fa83f68a
|
@@ -22,7 +22,7 @@ module ForemanAcd
|
|
22
22
|
a_host.update({
|
23
23
|
:id => foreman_host.host.id,
|
24
24
|
:build => foreman_host.host.build,
|
25
|
-
:hostUrl =>
|
25
|
+
:hostUrl => helpers.current_host_details_path(foreman_host.host),
|
26
26
|
:isExistingHost => foreman_host.is_existing_host,
|
27
27
|
:powerStatusUrl => power_api_host_path(foreman_host.host),
|
28
28
|
})
|
@@ -46,7 +46,7 @@ class UIAcdController < ::Api::V2::BaseController
|
|
46
46
|
:ptables => hg&.operatingsystem&.ptables
|
47
47
|
)
|
48
48
|
|
49
|
-
fdata[:environments] = Environment.all if defined?(ForemanPuppet)
|
49
|
+
fdata[:environments] = ForemanPuppet::Environment.all if defined?(ForemanPuppet)
|
50
50
|
fdata[:lifecycle_environments] = Katello::KTEnvironment.all if defined?(Katello)
|
51
51
|
|
52
52
|
fdata
|
@@ -22,13 +22,20 @@
|
|
22
22
|
:method => :get, :title => _("Show last deployment report for application #{app_instance}")) %></td>
|
23
23
|
<td>
|
24
24
|
<%= action_buttons(
|
25
|
-
display_link_if_authorized(_("Deploy"), { :use_route=>
|
25
|
+
display_link_if_authorized(_("Deploy"), { :use_route => :app_instances,
|
26
26
|
:id => app_instance.id,
|
27
27
|
:action => :deploy,
|
28
28
|
:auth_object => app_instance,
|
29
29
|
:controller => :app_instances },
|
30
|
-
|
31
|
-
|
30
|
+
{
|
31
|
+
:remote => false,
|
32
|
+
:href => "#", # don't navigate
|
33
|
+
:data => {
|
34
|
+
:toggle => "modal",
|
35
|
+
:target => "#deploy#{app_instance.id}"
|
36
|
+
},
|
37
|
+
:title => _("Deploy application #{app_instance}")
|
38
|
+
}),
|
32
39
|
display_link_if_authorized(_("Run Playbook"),
|
33
40
|
hash_for_remote_execution_path(:id => app_instance.id),
|
34
41
|
:method => :post,
|
@@ -37,13 +44,20 @@
|
|
37
44
|
hash_for_remote_execution_path(:id => app_instance.id, :customize => true),
|
38
45
|
:method => :post,
|
39
46
|
:title => _("Prepare job to run ansible playbook for application #{app_instance}")),
|
40
|
-
display_link_if_authorized(_("Delete"), { :use_route=>
|
47
|
+
display_link_if_authorized(_("Delete"), { :use_route => :app_instances,
|
41
48
|
:id => app_instance.id,
|
42
49
|
:action => :destroy,
|
43
50
|
:auth_object => app_instance,
|
44
51
|
:controller => :app_instances },
|
45
|
-
|
46
|
-
|
52
|
+
{
|
53
|
+
:remote => false,
|
54
|
+
:href => "#", # don't navigate
|
55
|
+
:data => {
|
56
|
+
:toggle => "modal",
|
57
|
+
:target => "#delete#{app_instance.id}"
|
58
|
+
},
|
59
|
+
:title => _("Delete application #{app_instance}")
|
60
|
+
})
|
47
61
|
) %>
|
48
62
|
</td>
|
49
63
|
</tr>
|
data/lib/foreman_acd/version.rb
CHANGED
@@ -103,7 +103,7 @@ export const handleImportAnsiblePlaybook = (file, e) => async dispatch => {
|
|
103
103
|
dispatch(
|
104
104
|
addToast({
|
105
105
|
type: 'success',
|
106
|
-
message: sprintf(__('
|
106
|
+
message: sprintf(__('Successfully synced imported app template')),
|
107
107
|
key: APPLICATION_DEFINITION_IMPORT_FILE_SUCCESS,
|
108
108
|
})
|
109
109
|
);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_acd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ATIX AG
|
@@ -366,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
366
366
|
- !ruby/object:Gem::Version
|
367
367
|
version: '0'
|
368
368
|
requirements: []
|
369
|
-
rubygems_version: 3.6.
|
369
|
+
rubygems_version: 3.6.9
|
370
370
|
specification_version: 4
|
371
371
|
summary: Foreman plugin to provide application centric deployment and self service
|
372
372
|
portal
|