foreman_acd 0.10.0 → 0.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e8c8e8614fcbdfae411b4bfacf225b67fca2d92563615d099e725bc1b4e5173
4
- data.tar.gz: 174c0194da550ec6a17fddaa8aa010303f43c75e7358dce359195a5bb9d6077d
3
+ metadata.gz: 3e8dc2917de1aa5ada0252edd2c3fb14615b804f3e39f58d237ef7b97ec52266
4
+ data.tar.gz: d38e9a064751be62eab34a5537ecce21f288535e42bd96934ac9047b4238630e
5
5
  SHA512:
6
- metadata.gz: 242a5342f85b5d96d358a19be186f91abaa39cf18aacc3f599ee7e891e101266e7681fb7ac4bb6264800a1fdcbb7b9db87bbb13741875cdb8ebbe8c1592d474c
7
- data.tar.gz: aeea5eae1cd62e0668fdc166066840f4280ff3ee0db3e9affb9b505863dd61aeecd4d3328dd4212d2d731ae046f01185387c3b0b333a7f13f2a08630a84d9ed4
6
+ metadata.gz: 7e6b683a22c4554d476d5a51908aa00906f0351b5d0e7ca098a2184fd8c209444f3105cb1216156a2f496f51cb032b51c7b96b84df718f5892b7cf4734de5acb
7
+ data.tar.gz: 0b353179ccc1844bb71864dbf2af3e672563249a780ff8237f96639851fdb2bc14bf505bc0db5f50e96fa5a23fc1133e1f7c0f59fe19a7ec53b07fcdcac92e6d
data/README.md CHANGED
@@ -59,26 +59,12 @@ See [Deploying Hosts using Application Centric Deployment](https://docs.theforem
59
59
 
60
60
  ## Installation
61
61
 
62
- See the [installation](https://theforeman.org/plugins/#2.Installation) chapter of the Foreman plugins documentation on how to install Foreman plugins.
63
-
64
- ### TL;DR:
65
-
66
- yum install tfm-rubygem-foreman_acd
67
- foreman-maintain service restart
68
-
69
- In some cases, you need to manually run
70
-
71
- foreman-rake db:migrate
72
- foreman-rake db:seed
62
+ Check out the [Foreman documentation](https://docs.theforeman.org/nightly/Deploying_Hosts_AppCentric/index-katello.html#Installing_ACD_on_Server_application_centric_deployment) on how to install the foreman_acd plugin.
73
63
 
74
64
  ### Smart Proxy Installation
75
65
 
76
- You will need to install [Smart Proxy ACD](https://github.com/ATIX-AG/smart_proxy_acd), too.
77
-
78
- yum install tfm-rubygem-smart_proxy_acd tfm-rubygem-smart_proxy_acd_core
79
- foreman-maintain service restart
80
-
81
- You need to refresh the smart proxy features in *Infrastructure > Smart Proxies > Your Smart-Proxy > Actions > Refresh* after the installation of the Smart Proxy ACD components.
66
+ You need to install [Smart Proxy ACD](https://github.com/ATIX-AG/smart_proxy_acd), too.
67
+ Check out the [Foreman documentation](https://docs.theforeman.org/nightly/Deploying_Hosts_AppCentric/index-katello.html#Installing_ACD_on_Smart_Proxy_application_centric_deployment) on how to install the smart_proxy_acd plugin.
82
68
 
83
69
  ### Tips
84
70
 
@@ -98,7 +84,7 @@ Store it in `/var/lib/foreman/foreman_acd/ansible-playbooks/` so that SELinux is
98
84
  ### Application Definition (for Admins)
99
85
 
100
86
  * Create an Application Definition via *Applications > Application Definitions*.
101
- * Select the Ansible Playbook you want to use.
87
+ * Select the Ansible Playbook you want to use.
102
88
  * Add new services and specify the host group you want to use.
103
89
  * Specify any values a user will be allowed to overwrite.
104
90
  You may also set a default value.
@@ -128,7 +114,7 @@ Fork and send a Pull Request. Thank you.
128
114
 
129
115
  ## Copyright
130
116
 
131
- Copyright (c) 2021 ATIX AG
117
+ Copyright (c) 2024 ATIX AG
132
118
 
133
119
  This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
134
120
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Controller to create JSON data to be used in react app
4
- class UiAcdController < ::Api::V2::BaseController
4
+ class UIAcdController < ::Api::V2::BaseController
5
5
  include ::ForemanAcd::Concerns::AppInstanceMixins
6
6
 
7
7
  def app
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Add git_url column to ansible_playbook
4
- class AddGitUrlToAnsiblePlaybooks < ActiveRecord::Migration[6.0]
4
+ class AddGitURLToAnsiblePlaybooks < ActiveRecord::Migration[6.0]
5
5
  def change
6
6
  add_column :acd_ansible_playbooks, :git_url, :string
7
7
  end
@@ -9,14 +9,6 @@ module ForemanAcd
9
9
  class Engine < ::Rails::Engine
10
10
  engine_name 'foreman_acd'
11
11
 
12
- config.autoload_paths += Dir["#{config.root}/app/controllers/foreman_acd/concerns"]
13
- config.autoload_paths += Dir["#{config.root}/app/models"]
14
- config.autoload_paths += Dir["#{config.root}/app/services"]
15
- config.autoload_paths += Dir["#{config.root}/app/helpers"]
16
- config.autoload_paths += Dir["#{config.root}/app/overrides"]
17
- config.autoload_paths += Dir["#{config.root}/app/lib"]
18
- config.autoload_paths += Dir["#{config.root}/lib"]
19
-
20
12
  # Add any db migrations
21
13
  initializer 'foreman_acd.load_app_instance_data' do |app|
22
14
  ForemanAcd::Engine.paths['db/migrate'].existent.each do |path|
@@ -40,8 +32,10 @@ module ForemanAcd
40
32
  Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
41
33
  end
42
34
 
43
- initializer 'foreman_acd.register_plugin', :before => :finisher_hook do
44
- require 'foreman_acd/plugin'
35
+ initializer 'foreman_acd.register_plugin', :before => :finisher_hook do |app|
36
+ app.reloader.to_prepare do
37
+ require 'foreman_acd/plugin'
38
+ end
45
39
  end
46
40
 
47
41
  initializer 'foreman_acd.register_actions', :before => :finisher_hook do |_app|
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  Foreman::Plugin.register :foreman_acd do
4
- requires_foreman '>= 2.1'
4
+ requires_foreman '>= 3.13'
5
5
 
6
6
  apipie_documented_controllers ["#{ForemanAcd::Engine.root}/app/controllers/foreman_acd/api/v2/*.rb"]
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanAcd
4
- VERSION = '0.10.0'
4
+ VERSION = '0.11.0'
5
5
  end
@@ -13,7 +13,7 @@ module Katello
13
13
  end
14
14
 
15
15
  # UI Controller tests
16
- class UiAcdControllerTest < ActionController::TestCase
16
+ class UIAcdControllerTest < ActionController::TestCase
17
17
  test 'get app json' do
18
18
  app_def = FactoryBot.create(:app_definition)
19
19
  get :app, :params => { :id => app_def.id }, :session => set_session_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_acd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ATIX AG
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-26 00:00:00.000000000 Z
11
+ date: 2024-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -364,7 +364,7 @@ homepage: https://www.orcharhino.com
364
364
  licenses:
365
365
  - GPL-3.0
366
366
  metadata: {}
367
- post_install_message:
367
+ post_install_message:
368
368
  rdoc_options: []
369
369
  require_paths:
370
370
  - lib
@@ -383,7 +383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
383
383
  version: '0'
384
384
  requirements: []
385
385
  rubygems_version: 3.3.27
386
- signing_key:
386
+ signing_key:
387
387
  specification_version: 4
388
388
  summary: Foreman plugin to provide application centric deployment and self service
389
389
  portal