manageiq-appliance_console 8.0.0 → 8.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yaml +47 -0
- data/.rspec +0 -1
- data/.rspec_ci +0 -1
- data/CHANGELOG.md +286 -7
- data/Gemfile +11 -1
- data/README.md +1 -1
- data/Rakefile +4 -1
- data/bin/appliance_console +7 -7
- data/bin/appliance_console_cli +1 -1
- data/lib/manageiq/appliance_console/database_admin.rb +0 -9
- data/lib/manageiq/appliance_console/database_configuration.rb +7 -1
- data/lib/manageiq/appliance_console/database_replication.rb +45 -16
- data/lib/manageiq/appliance_console/database_replication_standby.rb +2 -3
- data/lib/manageiq/appliance_console/external_httpd_authentication/external_httpd_configuration.rb +1 -1
- data/lib/manageiq/appliance_console/message_configuration.rb +7 -1
- data/lib/manageiq/appliance_console/message_configuration_server.rb +1 -1
- data/lib/manageiq/appliance_console/postgres_admin.rb +8 -3
- data/lib/manageiq/appliance_console/principal.rb +5 -3
- data/lib/manageiq/appliance_console/prompts.rb +5 -1
- data/lib/manageiq/appliance_console/version.rb +1 -1
- data/lib/{manageiq-appliance_console.rb → manageiq/appliance_console.rb} +1 -0
- data/manageiq-appliance_console.gemspec +6 -7
- metadata +15 -41
- data/.travis.yml +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c421558ac5d09a9a2c9a05578485e45b8416b7e0a48890927107981c372f66c
|
4
|
+
data.tar.gz: 2920a60b6515d7c350c4caea1323c3ace4a67eead3ea2b57dafae9faab97b1ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b64ff9515d346f1f26a2121f74017ce3d11ecc153d609a8d87f76f34a2af64abdee371ecda3f77503a472f7719166bff8d0e5d11457276092faf2908e9f8276
|
7
|
+
data.tar.gz: b80470a632d479c4e8d73914cf7d9105e2ee18f2bc486d6e1f7b5c463b66f9174a1a15165c1a9e81a37a4bf843c0968761ab01128f54f1400c2d5a385bcff33b
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
name: CI
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
pull_request:
|
6
|
+
schedule:
|
7
|
+
- cron: 0 0 * * 0
|
8
|
+
jobs:
|
9
|
+
ci:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
strategy:
|
12
|
+
matrix:
|
13
|
+
ruby-version:
|
14
|
+
- '3.0'
|
15
|
+
- '3.1'
|
16
|
+
rails-version:
|
17
|
+
- '6.1'
|
18
|
+
- '7.0'
|
19
|
+
services:
|
20
|
+
postgres:
|
21
|
+
image: manageiq/postgresql:13
|
22
|
+
env:
|
23
|
+
POSTGRESQL_USER: root
|
24
|
+
POSTGRESQL_PASSWORD: smartvm
|
25
|
+
POSTGRESQL_DATABASE: vmdb_test
|
26
|
+
options: "--health-cmd pg_isready --health-interval 2s --health-timeout 5s
|
27
|
+
--health-retries 5"
|
28
|
+
ports:
|
29
|
+
- 5432:5432
|
30
|
+
env:
|
31
|
+
PGHOST: localhost
|
32
|
+
PGPASSWORD: smartvm
|
33
|
+
TEST_RAILS_VERSION: ${{ matrix.rails-version }}
|
34
|
+
CC_TEST_REPORTER_ID: "${{ secrets.CC_TEST_REPORTER_ID }}"
|
35
|
+
steps:
|
36
|
+
- uses: actions/checkout@v4
|
37
|
+
- name: Set up Ruby
|
38
|
+
uses: ruby/setup-ruby@v1
|
39
|
+
with:
|
40
|
+
ruby-version: "${{ matrix.ruby-version }}"
|
41
|
+
bundler-cache: true
|
42
|
+
- name: Run tests
|
43
|
+
run: bundle exec rake
|
44
|
+
- name: Report code coverage
|
45
|
+
if: "${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}"
|
46
|
+
continue-on-error: true
|
47
|
+
uses: paambaati/codeclimate-action@v5
|
data/.rspec
CHANGED
data/.rspec_ci
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,18 +4,297 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
|
+
## [8.1.0] - 2024-02-07
|
8
|
+
### Fixed
|
9
|
+
- Fix sporadic test failure [[#204]](https://github.com/ManageIQ/manageiq-appliance_console/pull/204)
|
10
|
+
- Remove MIQ specific gem source [[#209]](https://github.com/ManageIQ/manageiq-appliance_console/pull/209)
|
11
|
+
- Double escape @ in realm to avoid shell interpretation [[#211]](https://github.com/ManageIQ/manageiq-appliance_console/pull/211)
|
12
|
+
- Move gem name loader to proper namespaced location [[#208]](https://github.com/ManageIQ/manageiq-appliance_console/pull/208)
|
13
|
+
- Separate kerberos from service principal name and use correctly [[#215]](https://github.com/ManageIQ/manageiq-appliance_console/pull/215)
|
14
|
+
- Add manageiq user to allowed_uids for sssd [[#220]](https://github.com/ManageIQ/manageiq-appliance_console/pull/220)
|
15
|
+
- Remove warning about using pg_dump [[#221]](https://github.com/ManageIQ/manageiq-appliance_console/pull/221)
|
16
|
+
- Fix specs where AwesomeSpawn private interface changed [[#224]](https://github.com/ManageIQ/manageiq-appliance_console/pull/224)
|
17
|
+
- Change the Name of the CA from something to ApplianceCA [[#228]](https://github.com/ManageIQ/manageiq-appliance_console/pull/228)
|
18
|
+
- Fix YAML.load_file failing on aliases [[#234]](https://github.com/ManageIQ/manageiq-appliance_console/pull/234)
|
19
|
+
|
20
|
+
### Added
|
21
|
+
- Make backward compatible changes to work with repmgr13 - version 5.2.1 [[#192]](https://github.com/ManageIQ/manageiq-appliance_console/pull/192)
|
22
|
+
- Support Ruby 3.0 [[#206]](https://github.com/ManageIQ/manageiq-appliance_console/pull/206)
|
23
|
+
- Support Ruby 3.1 [[#227]](https://github.com/ManageIQ/manageiq-appliance_console/pull/227)
|
24
|
+
- Allow rails 7 gems in gemspec [[#226]](https://github.com/ManageIQ/manageiq-appliance_console/pull/226)
|
25
|
+
|
26
|
+
### Changed
|
27
|
+
- Update to Highline 2.1.0 [[#201]](https://github.com/ManageIQ/manageiq-appliance_console/pull/201)
|
28
|
+
- Clean up test output (highline and stdout messages) [[#210]](https://github.com/ManageIQ/manageiq-appliance_console/pull/210)
|
29
|
+
|
30
|
+
### Removed
|
31
|
+
- Drop Ruby 2.7 [[#223]](https://github.com/ManageIQ/manageiq-appliance_console/pull/223)
|
32
|
+
|
7
33
|
## [8.0.0] - 2022-10-18
|
8
34
|
### Fixed
|
9
|
-
- Don't require pressing any key twice for message configuration
|
35
|
+
- Don't require pressing any key twice for message configuration [[#193]](https://github.com/ManageIQ/manageiq-appliance_console/pull/193)
|
36
|
+
|
37
|
+
### Added
|
38
|
+
- Report messaging configuration on summary info page [[#190]](https://github.com/ManageIQ/manageiq-appliance_console/pull/190)
|
39
|
+
|
40
|
+
### Changed
|
41
|
+
- **BREAKING** Don't start evmserverd until messaging is configured [[#196]](https://github.com/ManageIQ/manageiq-appliance_console/pull/196)
|
42
|
+
- Refactor EvmServer operations [[#194]](https://github.com/ManageIQ/manageiq-appliance_console/pull/194)
|
43
|
+
- Only start evmserverd after all application configuration is done [[#195]](https://github.com/ManageIQ/manageiq-appliance_console/pull/195)
|
44
|
+
- Simplify messaging options by saving in yml files [[#197]](https://github.com/ManageIQ/manageiq-appliance_console/pull/197)
|
45
|
+
|
46
|
+
## [7.2.2] - 2023-06-30
|
47
|
+
### Fixed
|
48
|
+
- Fix sporadic test failure [[#204]](https://github.com/ManageIQ/manageiq-appliance_console/pull/204)
|
49
|
+
- Move gem name loader to proper namespaced location [[#208]](https://github.com/ManageIQ/manageiq-appliance_console/pull/208)
|
50
|
+
- Separate kerberos from service principal name and use correctly [[#215]](https://github.com/ManageIQ/manageiq-appliance_console/pull/215)
|
51
|
+
|
52
|
+
## [7.2.1] - 2023-05-03
|
53
|
+
### Fixed
|
54
|
+
- Remove MIQ specific gem source [[#209]](https://github.com/ManageIQ/manageiq-appliance_console/pull/209)
|
55
|
+
- Double escape @ in realm to avoid shell interpretation [[#211]](https://github.com/ManageIQ/manageiq-appliance_console/pull/211)
|
56
|
+
|
57
|
+
## [7.2.0] - 2022-11-01
|
58
|
+
### Added
|
59
|
+
- Make backward compatible changes to work with repmgr13 - version 5.2.1
|
60
|
+
|
61
|
+
### Fixed
|
62
|
+
- Don't require user to press_any_key twice after successful messaging configuration
|
63
|
+
- Swap "localhost" to 127.0.0.1 in Messaging server configuration
|
64
|
+
- Simplify messaging options by saving in yml files
|
65
|
+
|
66
|
+
## [7.1.1] - 2022-09-02
|
67
|
+
### Fixed
|
68
|
+
- 6.1 configurations has symbol keys, [] deprecated, use configs_for [[#189]](https://github.com/ManageIQ/manageiq-appliance_console/pull/189)
|
69
|
+
|
70
|
+
## [7.1.0] - 2022-08-12
|
71
|
+
### Changed
|
72
|
+
- Upgrade to Rails 6.1
|
73
|
+
|
74
|
+
## [7.0.6] - 2022-07-14
|
75
|
+
### Changed
|
76
|
+
- Fix issue where region env var was not passed as a String [[#185]](https://github.com/ManageIQ/manageiq-appliance_console/pull/185)
|
77
|
+
|
78
|
+
## [7.0.5] - 2022-07-13
|
79
|
+
### Changed
|
80
|
+
- Fixed calls to `rake` command [[#184]](https://github.com/ManageIQ/manageiq-appliance_console/pull/184)
|
81
|
+
|
82
|
+
## [7.0.4] - 2022-07-12
|
83
|
+
### Changed
|
84
|
+
- Pass region as an environment variable [[#182]](https://github.com/ManageIQ/manageiq-appliance_console/pull/182)
|
85
|
+
|
86
|
+
## [7.0.3] - 2022-02-22
|
87
|
+
### Changed
|
88
|
+
- Check if kafka is installed before allowing messaging changes [[#180]](https://github.com/ManageIQ/manageiq-appliance_console/pull/180)
|
89
|
+
|
90
|
+
## [7.0.2] - 2021-11-03
|
91
|
+
### Changed
|
92
|
+
- Loosen manageiq-password to < 2 [[#175]](https://github.com/ManageIQ/manageiq-appliance_console/pull/175)
|
93
|
+
|
94
|
+
## [7.0.1] - 2021-09-15
|
95
|
+
### Changed
|
96
|
+
- Move in db_connections code from core
|
97
|
+
- We were locked down to activerecord/activesupport ~> 6.0.3.5 which didn't allow us to update to 6.0.4.1, loosen the dependency
|
98
|
+
|
99
|
+
## [7.0.0] - 2021-08-04
|
100
|
+
### Fixed
|
101
|
+
- Chown database.yml as manageiq:manageiq [[#165]](https://github.com/ManageIQ/manageiq-appliance_console/pull/165)
|
102
|
+
- Create /opt/kafka/config/keystore directory [[#170]](https://github.com/ManageIQ/manageiq-appliance_console/pull/170)
|
103
|
+
- Add missing parse_errors() method [[#169]](https://github.com/ManageIQ/manageiq-appliance_console/pull/169)
|
104
|
+
|
105
|
+
### Added
|
106
|
+
- Add database dump/backup/restore to CLI [[#161]](https://github.com/ManageIQ/manageiq-appliance_console/pull/161)
|
107
|
+
- Use PostgresAdmin directly for DB backups [[#160]](https://github.com/ManageIQ/manageiq-appliance_console/pull/160)
|
108
|
+
|
109
|
+
## [6.1.1] - 2021-09-15
|
110
|
+
### Changed
|
111
|
+
- Upgrade to rails 6.0.4.1 [[#173]](https://github.com/ManageIQ/manageiq-appliance_console/pull/173)
|
112
|
+
|
113
|
+
## [6.1.0] - 2021-03-30
|
114
|
+
### Added
|
115
|
+
- Support a configuring the kafka server with the current IPAddr [[#159]](https://github.com/ManageIQ/manageiq-appliance_console/pull/159)
|
116
|
+
- Support moving Kafka Persistent data to a dedicated disk [[#158]](https://github.com/ManageIQ/manageiq-appliance_console/pull/158)
|
117
|
+
- Inject postgres admin into the appliance console [[#157]](https://github.com/ManageIQ/manageiq-appliance_console/pull/157)
|
118
|
+
- [Utilities] Add #disk_usage [[#155]](https://github.com/ManageIQ/manageiq-appliance_console/pull/155)
|
119
|
+
- When configuring the kafka client disable the server [[#154]](https://github.com/ManageIQ/manageiq-appliance_console/pull/154)
|
120
|
+
- Pass password to the keytool command using stdin [[#152]](https://github.com/ManageIQ/manageiq-appliance_console/pull/152)
|
121
|
+
- Support configuring Kafka through the CLI [[#151]](https://github.com/ManageIQ/manageiq-appliance_console/pull/151)
|
122
|
+
- Unify kafka client setup [[#149]](https://github.com/ManageIQ/manageiq-appliance_console/pull/149)
|
123
|
+
- use attr_reader only for password [[#148]](https://github.com/ManageIQ/manageiq-appliance_console/pull/148)
|
124
|
+
- remove duplicate class attr writer [[#145]](https://github.com/ManageIQ/manageiq-appliance_console/pull/145)
|
125
|
+
- Toggle Settings.prototype.messaging_type for Kafka support [[#137]](https://github.com/ManageIQ/manageiq-appliance_console/pull/137)
|
126
|
+
- Initial commit of kafka server configuration [[#130]](https://github.com/ManageIQ/manageiq-appliance_console/pull/130)
|
127
|
+
|
128
|
+
### Fixed
|
129
|
+
- Fix Hakiri errors on activesupport/activerecord [[#156]](https://github.com/ManageIQ/manageiq-appliance_console/pull/156)
|
130
|
+
- Fix MAC test failures [[#150]](https://github.com/ManageIQ/manageiq-appliance_console/pull/150)
|
131
|
+
|
132
|
+
## [6.0.0] - 2020-11-11
|
133
|
+
### Added
|
134
|
+
- Try to fetch introspect endpoint from the provider metadata [[#121]](https://github.com/ManageIQ/manageiq-appliance_console/pull/121)
|
10
135
|
|
136
|
+
### Removed
|
137
|
+
- **BREAKING** Remove rbnacl-libsodium [[#134]](https://github.com/ManageIQ/manageiq-appliance_console/pull/134)
|
138
|
+
|
139
|
+
rbnacl-libsodium is discontinued and it is preferable to use the
|
140
|
+
system package instead. Due to this, we are releasing this as a major
|
141
|
+
version, so that systems don't accidentally pull in a patch or minor
|
142
|
+
release which would then require system-level changes to install the
|
143
|
+
system package.
|
144
|
+
|
145
|
+
## [5.5.0] - 2020-05-12
|
146
|
+
### Added
|
147
|
+
- Add support for the oidc introspection endpoint [[#117]](https://github.com/ManageIQ/manageiq-appliance_console/pull/117)
|
148
|
+
|
149
|
+
### Changed
|
150
|
+
- Rename "Configure Application Database Failover Monitor" [[#116]](https://github.com/ManageIQ/manageiq-appliance_console/pull/116)
|
151
|
+
|
152
|
+
## [5.4.0] - 2020-04-14
|
11
153
|
### Added
|
12
|
-
-
|
154
|
+
- Support for configuring an external messaging system [[#114]](https://github.com/ManageIQ/manageiq-appliance_console/pull/114)
|
155
|
+
|
156
|
+
## [5.3.3] - 2020-04-02
|
157
|
+
### Added
|
158
|
+
- Add necessary dependencies to support ssh with ed25519 cipher [[#113]](https://github.com/ManageIQ/manageiq-appliance_console/pull/113)
|
159
|
+
- Add missing net-scp runtime dependency [[#113]](https://github.com/ManageIQ/manageiq-appliance_console/pull/113)
|
160
|
+
|
161
|
+
## [5.3.2] - 2020-03-05
|
162
|
+
### Changed
|
163
|
+
- Use LinuxAdmin::Service#start with enable set to true
|
164
|
+
|
165
|
+
## [5.3.1] - 2020-01-16
|
166
|
+
### Changed
|
167
|
+
- Deduplicate the SCAP_RULES_DIR constan
|
168
|
+
- Update hostname regex to allow starting with digit
|
169
|
+
- Use the regex to validate hostnames when we set them
|
170
|
+
|
171
|
+
## [5.3.0] - 2019-12-12
|
172
|
+
|
173
|
+
## [5.2.0] - 2019-12-06
|
174
|
+
|
175
|
+
## [5.1.0] - 2019-11-22
|
176
|
+
### Changed
|
177
|
+
- Adding support for configuring Appliance SAML Authentication via the CLI
|
178
|
+
|
179
|
+
## [5.0.3] - 2019-09-19
|
180
|
+
### Changed
|
181
|
+
- Ensure that the CLI exits non-zero on database configuration error
|
182
|
+
|
183
|
+
## [5.0.2] - 2019-08-14
|
184
|
+
### Changed
|
185
|
+
- Restore the selinux context for the standby data directory [[#96]](https://github.com/ManageIQ/manageiq-appliance_console/pull/96)
|
186
|
+
|
187
|
+
## [5.0.1] - 2019-07-08
|
188
|
+
### Changed
|
189
|
+
- Remove unrecommended mount option "nobarrier" [[#95]](https://github.com/ManageIQ/manageiq-appliance_console/pull/95)
|
190
|
+
- Fix multiple issues with logfile disk configuration [[#93]](https://github.com/ManageIQ/manageiq-appliance_console/pull/93)
|
191
|
+
|
192
|
+
## [5.0.0] - 2019-06-10
|
193
|
+
### Changed
|
194
|
+
- Remove PG certificate handling [[#88]](https://github.com/ManageIQ/manageiq-appliance_console/pull/88)
|
195
|
+
- Don't attempt a database restore if evmserverd is running [[#91]](https://github.com/ManageIQ/manageiq-appliance_console/pull/91)
|
13
196
|
|
197
|
+
## [4.0.2] - 2019-03-27
|
14
198
|
### Changed
|
15
|
-
-
|
16
|
-
|
17
|
-
|
18
|
-
|
199
|
+
- Remove references to MiqPassword
|
200
|
+
|
201
|
+
## [4.0.1] - 2019-03-14
|
202
|
+
### Changed
|
203
|
+
- Fix permissions on PG user home directory after disk mount
|
204
|
+
|
205
|
+
## [4.0.0] - 2019-03-12
|
206
|
+
### Changed
|
207
|
+
- **BREAKING** Upgrade to Postgres 10
|
208
|
+
- Handle existing certs and support rerun of cert generation
|
209
|
+
- Enable certmonger to restart on reboot
|
210
|
+
- Switch to optimist gem
|
211
|
+
|
212
|
+
## [3.3.3] - 2019-09-19
|
213
|
+
|
214
|
+
## [3.3.2] - 2019-07-09
|
215
|
+
|
216
|
+
## [3.3.1] - 2019-02-14
|
217
|
+
|
218
|
+
## [3.3.0] - 2018-11-05
|
219
|
+
|
220
|
+
## [3.2.0] - 2018-08-23
|
221
|
+
|
222
|
+
## [3.1.0] - 2018-08-16
|
223
|
+
|
224
|
+
## [3.0.0] - 2018-08-01
|
225
|
+
|
226
|
+
## [2.0.3] - 2018-05-03
|
227
|
+
|
228
|
+
## [2.0.2] - 2018-05-02
|
229
|
+
|
230
|
+
## [2.0.1] - 2018-04-25
|
231
|
+
|
232
|
+
## [2.0.0] - 2018-03-09
|
233
|
+
|
234
|
+
## [1.2.4] - 2018-01-18
|
235
|
+
|
236
|
+
## [1.2.3] - 2018-01-04
|
237
|
+
|
238
|
+
## [1.2.2] - 2017-12-20
|
239
|
+
|
240
|
+
## [1.2.1] - 2017-12-19
|
241
|
+
|
242
|
+
## [1.2.0] - 2017-12-14
|
243
|
+
|
244
|
+
## [1.1.0] - 2017-12-11
|
245
|
+
|
246
|
+
## [1.0.1] - 2017-10-19
|
247
|
+
|
248
|
+
## [1.0.0] - 2017-10-19
|
19
249
|
|
20
250
|
[Unreleased]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v8.0.0...HEAD
|
21
|
-
[8.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.
|
251
|
+
[8.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.2.2...v8.0.0
|
252
|
+
[7.2.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.2.1...v7.2.2
|
253
|
+
[7.2.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.2.0...v7.2.1
|
254
|
+
[7.2.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.1.1...v7.2.0
|
255
|
+
[7.1.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.1.0...v7.1.1
|
256
|
+
[7.1.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.0.6...v7.1.0
|
257
|
+
[7.0.6]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.0.5...v7.0.6
|
258
|
+
[7.0.5]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.0.4...v7.0.5
|
259
|
+
[7.0.4]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.0.3...v7.0.4
|
260
|
+
[7.0.3]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.0.2...v7.0.3
|
261
|
+
[7.0.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.0.1...v7.0.2
|
262
|
+
[7.0.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v7.0.0...v7.0.1
|
263
|
+
[7.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v6.1.1...v7.0.0
|
264
|
+
[6.1.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v6.1.0...v6.1.1
|
265
|
+
[6.1.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v6.0.0...v6.1.0
|
266
|
+
[6.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.5.0...v6.0.0
|
267
|
+
[5.5.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.4.0...v5.5.0
|
268
|
+
[5.4.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.3.3...v5.4.0
|
269
|
+
[5.3.3]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.3.2...v5.3.3
|
270
|
+
[5.3.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.3.1...v5.3.2
|
271
|
+
[5.3.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.3.0...v5.3.1
|
272
|
+
[5.3.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.2.0...v5.3.0
|
273
|
+
[5.2.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.1.0...v5.2.0
|
274
|
+
[5.1.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.0.3...v5.1.0
|
275
|
+
[5.0.3]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.0.2...v5.0.3
|
276
|
+
[5.0.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.0.1...v5.0.2
|
277
|
+
[5.0.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v5.0.0...v5.0.1
|
278
|
+
[5.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v4.0.2...v5.0.0
|
279
|
+
[4.0.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v4.0.1...v4.0.2
|
280
|
+
[4.0.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v4.0.0...v4.0.1
|
281
|
+
[4.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v3.3.3...v4.0.0
|
282
|
+
[3.3.3]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v3.2.2...v3.3.3
|
283
|
+
[3.3.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v3.3.1...v3.3.2
|
284
|
+
[3.3.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v3.3.0...v3.3.1
|
285
|
+
[3.3.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v3.2.0...v3.3.0
|
286
|
+
[3.2.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v3.1.0...v3.2.0
|
287
|
+
[3.1.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v3.0.0...v3.1.0
|
288
|
+
[3.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v2.0.3...v3.0.0
|
289
|
+
[2.0.3]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v2.0.2...v2.0.3
|
290
|
+
[2.0.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v2.0.1...v2.0.2
|
291
|
+
[2.0.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v2.0.0...v2.0.1
|
292
|
+
[2.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v1.2.4...v2.0.0
|
293
|
+
[1.2.4]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v1.2.3...v1.2.4
|
294
|
+
[1.2.3]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v1.2.2...v1.2.3
|
295
|
+
[1.2.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v1.2.1...v1.2.2
|
296
|
+
[1.2.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v1.2.0...v1.2.1
|
297
|
+
[1.2.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v1.1.0...v1.2.0
|
298
|
+
[1.1.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v1.0.1...v1.1.0
|
299
|
+
[1.0.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v1.0.0...v1.0.1
|
300
|
+
[1.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/tree/v1.0.0
|
data/Gemfile
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
source 'http://rubygems.manageiq.org'
|
2
1
|
source 'https://rubygems.org'
|
3
2
|
|
4
3
|
# Specify your gem's dependencies in manageiq-appliance_console.gemspec
|
5
4
|
gemspec
|
5
|
+
|
6
|
+
minimum_version =
|
7
|
+
case ENV['TEST_RAILS_VERSION']
|
8
|
+
when "7.0"
|
9
|
+
"~>7.0.8"
|
10
|
+
else
|
11
|
+
"~>6.1.4"
|
12
|
+
end
|
13
|
+
|
14
|
+
gem "activerecord", minimum_version
|
15
|
+
gem "activesupport", minimum_version
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# ManageIQ::ApplianceConsole
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/manageiq-appliance_console.svg)](http://badge.fury.io/rb/manageiq-appliance_console)
|
4
|
-
[![
|
4
|
+
[![CI](https://github.com/ManageIQ/manageiq-appliance_console/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/manageiq-appliance_console/actions/workflows/ci.yaml)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/ManageIQ/manageiq-appliance_console.svg)](https://codeclimate.com/github/ManageIQ/manageiq-appliance_console)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/ManageIQ/manageiq-appliance_console/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/manageiq-appliance_console/coverage)
|
7
7
|
|
data/Rakefile
CHANGED
@@ -8,7 +8,10 @@ RSpec::Core::RakeTask.new(:spec)
|
|
8
8
|
# setting to allow the postgres specs to run.
|
9
9
|
desc "Run RSpec code examples (assumes ci dependencies)"
|
10
10
|
RSpec::Core::RakeTask.new("spec:ci") do |t|
|
11
|
-
|
11
|
+
# Temporarily disable the PG runner on CI
|
12
|
+
# was: t.rspec_opts = "--options #{File.expand_path(".rspec_ci", __dir__)}"
|
13
|
+
warn "\e[33;1mWARN: PostgresRunner specs are temporarily disabled on CI\e[0m" if ENV["CI"]
|
14
|
+
t.rspec_opts = "--options #{File.expand_path(".rspec", __dir__)}"
|
12
15
|
end
|
13
16
|
|
14
17
|
desc "Run RSpec code examples (with local postgres dependencies)"
|
data/bin/appliance_console
CHANGED
@@ -5,22 +5,22 @@
|
|
5
5
|
require 'bundler'
|
6
6
|
Bundler.setup
|
7
7
|
|
8
|
-
require 'manageiq
|
8
|
+
require 'manageiq/appliance_console'
|
9
9
|
|
10
10
|
require 'fileutils'
|
11
|
+
# defines globally /via kernal: agree(), ask(), choose() and say()
|
11
12
|
require 'highline/import'
|
12
|
-
require 'highline/system_extensions'
|
13
13
|
require 'rubygems'
|
14
14
|
require 'bcrypt'
|
15
15
|
require 'linux_admin'
|
16
|
-
require 'manageiq/appliance_console/postgres_admin'
|
17
16
|
require 'awesome_spawn'
|
18
|
-
include HighLine::SystemExtensions
|
19
17
|
|
20
18
|
require 'manageiq/appliance_console/i18n'
|
21
19
|
|
22
|
-
|
23
|
-
|
20
|
+
HighLine.default_instance.tap do |highline|
|
21
|
+
highline.wrap_at = 80
|
22
|
+
highline.page_at = 35
|
23
|
+
end
|
24
24
|
|
25
25
|
def summary_entry(field, value)
|
26
26
|
dfield = "#{field}:"
|
@@ -141,7 +141,7 @@ Welcome to the #{I18n.t("product.name")} Virtual Appliance.
|
|
141
141
|
|
142
142
|
To modify the configuration, use a web browser to access the management page.
|
143
143
|
|
144
|
-
#{
|
144
|
+
#{HighLine.default_instance.list(summary_attributes)}
|
145
145
|
EOL
|
146
146
|
|
147
147
|
press_any_key
|
data/bin/appliance_console_cli
CHANGED
@@ -15,14 +15,6 @@ module ManageIQ
|
|
15
15
|
Example: 'mydomain.com/user'
|
16
16
|
PROMPT
|
17
17
|
|
18
|
-
DB_DUMP_WARNING = <<-WARN.strip_heredoc
|
19
|
-
WARNING: This is not the recommended and supported way of running a
|
20
|
-
database backup, and is strictly meant for exporting a database for
|
21
|
-
support/debugging purposes!
|
22
|
-
|
23
|
-
|
24
|
-
WARN
|
25
|
-
|
26
18
|
attr_reader :action, :backup_type, :database_opts, :delete_agree, :filename
|
27
19
|
|
28
20
|
def initialize(action = :restore, input = $stdin, output = $stdout)
|
@@ -43,7 +35,6 @@ module ManageIQ
|
|
43
35
|
press_any_key
|
44
36
|
raise MiqSignalError
|
45
37
|
end
|
46
|
-
say(DB_DUMP_WARNING) if action == :dump
|
47
38
|
ask_file_location
|
48
39
|
ask_for_tables_to_exclude_in_dump
|
49
40
|
end
|
@@ -257,7 +257,13 @@ FRIENDLY
|
|
257
257
|
require 'fileutils'
|
258
258
|
FileUtils.cp(DB_YML_TMPL, DB_YML) if File.exist?(DB_YML_TMPL)
|
259
259
|
end
|
260
|
-
|
260
|
+
|
261
|
+
data = File.read(DB_YML)
|
262
|
+
if YAML.respond_to?(:safe_load)
|
263
|
+
YAML.safe_load(data, :aliases => true)
|
264
|
+
else
|
265
|
+
YAML.load(data) # rubocop:disable Security/YAMLLoad
|
266
|
+
end
|
261
267
|
end
|
262
268
|
|
263
269
|
def validate_encryption_key!
|
@@ -7,11 +7,20 @@ module ApplianceConsole
|
|
7
7
|
class DatabaseReplication
|
8
8
|
include ManageIQ::ApplianceConsole::Logging
|
9
9
|
|
10
|
-
REPMGR_CONFIG = '/etc/repmgr/10/repmgr.conf'.freeze
|
11
|
-
REPMGR_LOG = '/var/log/repmgr/repmgrd.log'.freeze
|
12
10
|
PGPASS_FILE = '/var/lib/pgsql/.pgpass'.freeze
|
13
11
|
NETWORK_INTERFACE = 'eth0'.freeze
|
14
12
|
|
13
|
+
REPGMR_FILE_LOCATIONS = {
|
14
|
+
"repmgr10" => {
|
15
|
+
"config" => "/etc/repmgr/10/repmgr.conf",
|
16
|
+
"log" => "/var/log/repmgr/repmgrd.log"
|
17
|
+
},
|
18
|
+
"repmgr13" => {
|
19
|
+
"config" => "/etc/repmgr/13/repmgr.conf",
|
20
|
+
"log" => "/var/log/repmgr/repmgrd-13.log"
|
21
|
+
}
|
22
|
+
}.freeze
|
23
|
+
|
15
24
|
attr_accessor :node_number, :database_name, :database_user,
|
16
25
|
:database_password, :primary_host
|
17
26
|
|
@@ -37,33 +46,53 @@ Replication Server Configuration
|
|
37
46
|
EOL
|
38
47
|
end
|
39
48
|
|
40
|
-
def
|
41
|
-
|
49
|
+
def self.repmgr_config
|
50
|
+
repmgr_file_locations["config"]
|
51
|
+
end
|
52
|
+
|
53
|
+
def self.repmgr_configured?
|
54
|
+
File.exist?(repmgr_config)
|
55
|
+
end
|
56
|
+
|
57
|
+
def self.repmgr_file_locations
|
58
|
+
REPGMR_FILE_LOCATIONS[repmgr_service_name]
|
42
59
|
end
|
43
60
|
|
61
|
+
def self.repmgr_log
|
62
|
+
repmgr_file_locations["log"]
|
63
|
+
end
|
64
|
+
|
65
|
+
def self.repmgr_service_name
|
66
|
+
@repmgr_service_name ||= File.exist?(REPGMR_FILE_LOCATIONS["repmgr13"]["config"]) ? "repmgr13" : "repmgr10"
|
67
|
+
end
|
68
|
+
|
69
|
+
delegate :repmgr_config, :repmgr_configured?, :repmgr_file_locations, :repmgr_log, :repmgr_service_name, :to => self
|
70
|
+
|
44
71
|
def confirm_reconfiguration
|
45
|
-
say("Warning: File #{
|
46
|
-
logger.warn("Warning: File #{
|
72
|
+
say("Warning: File #{repmgr_config} exists. Replication is already configured")
|
73
|
+
logger.warn("Warning: File #{repmgr_config} exists. Replication is already configured")
|
47
74
|
agree("Continue with configuration? (Y/N): ")
|
48
75
|
end
|
49
76
|
|
50
77
|
def create_config_file(host)
|
51
|
-
File.write(
|
78
|
+
File.write(repmgr_config, config_file_contents(host))
|
52
79
|
true
|
53
80
|
end
|
54
81
|
|
55
82
|
def config_file_contents(host)
|
56
83
|
service_name = PostgresAdmin.service_name
|
84
|
+
# FYI, 5.0 made quoting strings strict. Always use single quoted strings.
|
85
|
+
# https://repmgr.org/docs/current/release-5.0.html
|
57
86
|
<<-EOS.strip_heredoc
|
58
|
-
node_id
|
59
|
-
node_name
|
87
|
+
node_id='#{node_number}'
|
88
|
+
node_name='#{host}'
|
60
89
|
conninfo='host=#{host} user=#{database_user} dbname=#{database_name}'
|
61
|
-
use_replication_slots=1
|
90
|
+
use_replication_slots='1'
|
62
91
|
pg_basebackup_options='--wal-method=stream'
|
63
|
-
failover=automatic
|
64
|
-
promote_command='repmgr standby promote -f #{
|
65
|
-
follow_command='repmgr standby follow -f #{
|
66
|
-
log_file
|
92
|
+
failover='automatic'
|
93
|
+
promote_command='repmgr standby promote -f #{repmgr_config} --log-to-file'
|
94
|
+
follow_command='repmgr standby follow -f #{repmgr_config} --log-to-file --upstream-node-id=%n'
|
95
|
+
log_file='#{repmgr_log}'
|
67
96
|
service_start_command='sudo systemctl start #{service_name}'
|
68
97
|
service_stop_command='sudo systemctl stop #{service_name}'
|
69
98
|
service_restart_command='sudo systemctl restart #{service_name}'
|
@@ -122,8 +151,8 @@ Replication Server Configuration
|
|
122
151
|
end
|
123
152
|
end
|
124
153
|
|
125
|
-
Process.
|
126
|
-
|
154
|
+
pid, status = Process.wait2(pid)
|
155
|
+
status.success?
|
127
156
|
end
|
128
157
|
|
129
158
|
def primary_connection_hash
|
@@ -8,7 +8,6 @@ module ApplianceConsole
|
|
8
8
|
include ManageIQ::ApplianceConsole::Logging
|
9
9
|
|
10
10
|
REGISTER_CMD = 'repmgr standby register'.freeze
|
11
|
-
REPMGRD_SERVICE = 'repmgr10'.freeze
|
12
11
|
|
13
12
|
attr_accessor :disk, :standby_host, :run_repmgrd_configuration, :resync_data, :force_register
|
14
13
|
|
@@ -111,7 +110,7 @@ module ApplianceConsole
|
|
111
110
|
end
|
112
111
|
|
113
112
|
def start_repmgrd
|
114
|
-
LinuxAdmin::Service.new(
|
113
|
+
LinuxAdmin::Service.new(repmgr_service_name).enable.start
|
115
114
|
true
|
116
115
|
rescue AwesomeSpawn::CommandResultError => e
|
117
116
|
message = "Failed to start repmgrd: #{e.message}"
|
@@ -121,7 +120,7 @@ module ApplianceConsole
|
|
121
120
|
end
|
122
121
|
|
123
122
|
def stop_repmgrd
|
124
|
-
LinuxAdmin::Service.new(
|
123
|
+
LinuxAdmin::Service.new(repmgr_service_name).stop
|
125
124
|
true
|
126
125
|
end
|
127
126
|
|
data/lib/manageiq/appliance_console/external_httpd_authentication/external_httpd_configuration.rb
CHANGED
@@ -124,7 +124,7 @@ module ApplianceConsole
|
|
124
124
|
def configure_sssd_ifp(config)
|
125
125
|
user_attributes = LDAP_ATTRS.keys.collect { |k| "+#{k}" }.join(", ")
|
126
126
|
ifp_config = "
|
127
|
-
allowed_uids = #{APACHE_USER}, root
|
127
|
+
allowed_uids = #{APACHE_USER}, root, manageiq
|
128
128
|
user_attributes = #{user_attributes}
|
129
129
|
"
|
130
130
|
if config.include?("[ifp]")
|
@@ -110,7 +110,13 @@ module ManageIQ
|
|
110
110
|
|
111
111
|
return if file_found?(messaging_yaml_path)
|
112
112
|
|
113
|
-
|
113
|
+
data = File.read(messaging_yaml_sample_path)
|
114
|
+
messaging_yaml =
|
115
|
+
if YAML.respond_to?(:safe_load)
|
116
|
+
YAML.safe_load(data, :aliases => true)
|
117
|
+
else
|
118
|
+
YAML.load(data) # rubocop:disable Security/YAMLLoad
|
119
|
+
end
|
114
120
|
|
115
121
|
messaging_yaml["production"]["host"] = message_server_host
|
116
122
|
messaging_yaml["production"]["port"] = message_server_port
|
@@ -198,7 +198,7 @@ module ManageIQ
|
|
198
198
|
"-out" => ca_cert_path,
|
199
199
|
"-days" => 10_000,
|
200
200
|
"-passout" => "env:PASSWORD",
|
201
|
-
"-subj" => '/CN=
|
201
|
+
"-subj" => '/CN=ApplianceCA'}])
|
202
202
|
|
203
203
|
# Import the CA cert into the trust store, creating truststore.jks
|
204
204
|
# :stdin_data provides the -storepass argument and yes to confirm
|
@@ -62,13 +62,18 @@ module ApplianceConsole
|
|
62
62
|
LinuxAdmin::Service.new(service_name).running?
|
63
63
|
end
|
64
64
|
|
65
|
-
def self.
|
66
|
-
|
65
|
+
def self.local_server_received_standby_signal?
|
66
|
+
# Beginning with PostgreSQL 12, replication configuration has been integrated into the main PostgreSQL configuraton system and the conventional recovery.conf file is no longer valid.
|
67
|
+
# see: https://repmgr.org/docs/current/release-5.0.html
|
68
|
+
# https://www.2ndquadrant.com/en/blog/replication-configuration-changes-in-postgresql-12/
|
69
|
+
# "standby.signal" – indicates the server should start up as a hot standby
|
70
|
+
# If a standby is promoted, "standby.signal" is removed entirely (and not renamed as was the case with "recovery.conf", which became "recovery.done").
|
71
|
+
data_directory.join("standby.signal").exist? || data_directory.join("recovery.conf").exist?
|
67
72
|
end
|
68
73
|
|
69
74
|
def self.local_server_status
|
70
75
|
if service_running?
|
71
|
-
"running (#{
|
76
|
+
"running (#{local_server_received_standby_signal? ? "standby" : "primary"})"
|
72
77
|
elsif initialized?
|
73
78
|
"initialized and stopped"
|
74
79
|
else
|
@@ -10,12 +10,14 @@ module ApplianceConsole
|
|
10
10
|
attr_accessor :service
|
11
11
|
# kerberos principal name
|
12
12
|
attr_accessor :name
|
13
|
+
attr_accessor :service_principal
|
13
14
|
|
14
15
|
def initialize(options = {})
|
15
16
|
options.each { |n, v| public_send("#{n}=", v) }
|
16
17
|
@ca_name ||= "ipa"
|
17
18
|
@realm = @realm.upcase if @realm
|
18
|
-
@
|
19
|
+
@service_principal ||= "#{service}/#{hostname}"
|
20
|
+
@name ||= "#{service_principal}@#{realm}"
|
19
21
|
end
|
20
22
|
|
21
23
|
def register
|
@@ -33,13 +35,13 @@ module ApplianceConsole
|
|
33
35
|
private
|
34
36
|
|
35
37
|
def exist?
|
36
|
-
AwesomeSpawn.run("/usr/bin/ipa", :params => ["-e", "skip_version_check=1", "service-find", "--principal",
|
38
|
+
AwesomeSpawn.run("/usr/bin/ipa", :params => ["-e", "skip_version_check=1", "service-find", "--principal", service_principal]).success?
|
37
39
|
end
|
38
40
|
|
39
41
|
def request
|
40
42
|
# using --force because these services tend not to be in dns
|
41
43
|
# this is like VERIFY_NONE
|
42
|
-
AwesomeSpawn.run!("/usr/bin/ipa", :params => ["-e", "skip_version_check=1", "service-add", "--force",
|
44
|
+
AwesomeSpawn.run!("/usr/bin/ipa", :params => ["-e", "skip_version_check=1", "service-add", "--force", service_principal])
|
43
45
|
end
|
44
46
|
end
|
45
47
|
end
|
@@ -34,7 +34,11 @@ module ApplianceConsole
|
|
34
34
|
|
35
35
|
def press_any_key
|
36
36
|
say("\nPress any key to continue.")
|
37
|
-
|
37
|
+
HighLine.default_instance.tap do |highline|
|
38
|
+
highline.terminal.raw_no_echo_mode_exec do
|
39
|
+
highline.terminal.get_character
|
40
|
+
end
|
41
|
+
end
|
38
42
|
end
|
39
43
|
|
40
44
|
def clear_screen
|
@@ -43,6 +43,7 @@ require 'manageiq/appliance_console/message_configuration_client'
|
|
43
43
|
require 'manageiq/appliance_console/message_configuration_server'
|
44
44
|
require 'manageiq/appliance_console/oidc_authentication'
|
45
45
|
require 'manageiq/appliance_console/principal'
|
46
|
+
require 'manageiq/appliance_console/postgres_admin'
|
46
47
|
require 'manageiq/appliance_console/saml_authentication'
|
47
48
|
require 'manageiq/appliance_console/scap'
|
48
49
|
require 'manageiq/appliance_console/temp_storage_configuration'
|
@@ -20,12 +20,12 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_runtime_dependency "activerecord", "
|
24
|
-
spec.add_runtime_dependency "activesupport", "
|
25
|
-
spec.add_runtime_dependency "awesome_spawn", "~> 1.
|
23
|
+
spec.add_runtime_dependency "activerecord", ">=6.1.7.6"
|
24
|
+
spec.add_runtime_dependency "activesupport", ">=6.1.7.6"
|
25
|
+
spec.add_runtime_dependency "awesome_spawn", "~> 1.6"
|
26
26
|
spec.add_runtime_dependency "bcrypt", "~> 3.1.10"
|
27
27
|
spec.add_runtime_dependency "bcrypt_pbkdf", ">= 1.0", "< 2.0"
|
28
|
-
spec.add_runtime_dependency "highline", "~> 1
|
28
|
+
spec.add_runtime_dependency "highline", "~> 2.1"
|
29
29
|
spec.add_runtime_dependency "i18n", ">= 0.8"
|
30
30
|
spec.add_runtime_dependency "linux_admin", "~> 2.0"
|
31
31
|
spec.add_runtime_dependency "manageiq-password", "< 2"
|
@@ -36,10 +36,9 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_runtime_dependency "rbnacl", ">= 3.2", "< 5.0"
|
37
37
|
|
38
38
|
spec.add_development_dependency "bundler"
|
39
|
-
spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
|
40
39
|
spec.add_development_dependency "manageiq-style"
|
41
40
|
spec.add_development_dependency "rake"
|
42
|
-
spec.add_development_dependency "rspec",
|
41
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
43
42
|
spec.add_development_dependency "rubocop"
|
44
|
-
spec.add_development_dependency "simplecov"
|
43
|
+
spec.add_development_dependency "simplecov", ">= 0.21.2"
|
45
44
|
end
|
metadata
CHANGED
@@ -1,69 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-appliance_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 6.1.6
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: 6.1.6
|
19
|
+
version: 6.1.7.6
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 6.1.6
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: 6.1.6
|
26
|
+
version: 6.1.7.6
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: activesupport
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 6.1.6
|
40
31
|
- - ">="
|
41
32
|
- !ruby/object:Gem::Version
|
42
|
-
version: 6.1.6
|
33
|
+
version: 6.1.7.6
|
43
34
|
type: :runtime
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
46
37
|
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 6.1.6
|
50
38
|
- - ">="
|
51
39
|
- !ruby/object:Gem::Version
|
52
|
-
version: 6.1.6
|
40
|
+
version: 6.1.7.6
|
53
41
|
- !ruby/object:Gem::Dependency
|
54
42
|
name: awesome_spawn
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
56
44
|
requirements:
|
57
45
|
- - "~>"
|
58
46
|
- !ruby/object:Gem::Version
|
59
|
-
version: '1.
|
47
|
+
version: '1.6'
|
60
48
|
type: :runtime
|
61
49
|
prerelease: false
|
62
50
|
version_requirements: !ruby/object:Gem::Requirement
|
63
51
|
requirements:
|
64
52
|
- - "~>"
|
65
53
|
- !ruby/object:Gem::Version
|
66
|
-
version: '1.
|
54
|
+
version: '1.6'
|
67
55
|
- !ruby/object:Gem::Dependency
|
68
56
|
name: bcrypt
|
69
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,14 +92,14 @@ dependencies:
|
|
104
92
|
requirements:
|
105
93
|
- - "~>"
|
106
94
|
- !ruby/object:Gem::Version
|
107
|
-
version: 1
|
95
|
+
version: '2.1'
|
108
96
|
type: :runtime
|
109
97
|
prerelease: false
|
110
98
|
version_requirements: !ruby/object:Gem::Requirement
|
111
99
|
requirements:
|
112
100
|
- - "~>"
|
113
101
|
- !ruby/object:Gem::Version
|
114
|
-
version: 1
|
102
|
+
version: '2.1'
|
115
103
|
- !ruby/object:Gem::Dependency
|
116
104
|
name: i18n
|
117
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -244,20 +232,6 @@ dependencies:
|
|
244
232
|
- - ">="
|
245
233
|
- !ruby/object:Gem::Version
|
246
234
|
version: '0'
|
247
|
-
- !ruby/object:Gem::Dependency
|
248
|
-
name: codeclimate-test-reporter
|
249
|
-
requirement: !ruby/object:Gem::Requirement
|
250
|
-
requirements:
|
251
|
-
- - "~>"
|
252
|
-
- !ruby/object:Gem::Version
|
253
|
-
version: 1.0.0
|
254
|
-
type: :development
|
255
|
-
prerelease: false
|
256
|
-
version_requirements: !ruby/object:Gem::Requirement
|
257
|
-
requirements:
|
258
|
-
- - "~>"
|
259
|
-
- !ruby/object:Gem::Version
|
260
|
-
version: 1.0.0
|
261
235
|
- !ruby/object:Gem::Dependency
|
262
236
|
name: manageiq-style
|
263
237
|
requirement: !ruby/object:Gem::Requirement
|
@@ -320,14 +294,14 @@ dependencies:
|
|
320
294
|
requirements:
|
321
295
|
- - ">="
|
322
296
|
- !ruby/object:Gem::Version
|
323
|
-
version:
|
297
|
+
version: 0.21.2
|
324
298
|
type: :development
|
325
299
|
prerelease: false
|
326
300
|
version_requirements: !ruby/object:Gem::Requirement
|
327
301
|
requirements:
|
328
302
|
- - ">="
|
329
303
|
- !ruby/object:Gem::Version
|
330
|
-
version:
|
304
|
+
version: 0.21.2
|
331
305
|
description: ManageIQ Appliance Console
|
332
306
|
email:
|
333
307
|
executables:
|
@@ -337,13 +311,13 @@ extensions: []
|
|
337
311
|
extra_rdoc_files: []
|
338
312
|
files:
|
339
313
|
- ".codeclimate.yml"
|
314
|
+
- ".github/workflows/ci.yaml"
|
340
315
|
- ".gitignore"
|
341
316
|
- ".rspec"
|
342
317
|
- ".rspec_ci"
|
343
318
|
- ".rubocop.yml"
|
344
319
|
- ".rubocop_cc.yml"
|
345
320
|
- ".rubocop_local.yml"
|
346
|
-
- ".travis.yml"
|
347
321
|
- ".whitesource"
|
348
322
|
- ".yamllint"
|
349
323
|
- CHANGELOG.md
|
@@ -353,7 +327,7 @@ files:
|
|
353
327
|
- Rakefile
|
354
328
|
- bin/appliance_console
|
355
329
|
- bin/appliance_console_cli
|
356
|
-
- lib/manageiq
|
330
|
+
- lib/manageiq/appliance_console.rb
|
357
331
|
- lib/manageiq/appliance_console/auth_utilities.rb
|
358
332
|
- lib/manageiq/appliance_console/certificate.rb
|
359
333
|
- lib/manageiq/appliance_console/certificate_authority.rb
|
@@ -412,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
412
386
|
- !ruby/object:Gem::Version
|
413
387
|
version: '0'
|
414
388
|
requirements: []
|
415
|
-
rubygems_version: 3.
|
389
|
+
rubygems_version: 3.2.33
|
416
390
|
signing_key:
|
417
391
|
specification_version: 4
|
418
392
|
summary: ManageIQ Appliance Console
|
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.6.6
|
5
|
-
- 2.7.2
|
6
|
-
cache: bundler
|
7
|
-
addons:
|
8
|
-
postgresql: '10'
|
9
|
-
env:
|
10
|
-
global:
|
11
|
-
- RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000
|
12
|
-
- RUBY_GC_HEAP_INIT_SLOTS=600000
|
13
|
-
- RUBY_GC_HEAP_GROWTH_FACTOR=1.25
|
14
|
-
after_script: bundle exec codeclimate-test-reporter
|
15
|
-
notifications:
|
16
|
-
webhooks:
|
17
|
-
urls:
|
18
|
-
- https://webhooks.gitter.im/e/115ada1099c46977b0d3
|
19
|
-
on_success: change
|
20
|
-
on_failure: always
|
21
|
-
on_start: never
|
22
|
-
dist: bionic
|