foreman_acd 0.0.2 → 0.0.3
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/README.md +2 -0
- data/lib/foreman_acd/version.rb +1 -1
- data/package.json +9 -34
- data/test/controllers/app_definitions_controller_test.rb +1 -0
- data/test/controllers/app_instances_controller_test.rb +1 -0
- data/test/controllers/ui_acd_controller_test.rb +10 -0
- data/test/models/app_definition_test.rb +1 -0
- data/test/models/app_instance_test.rb +1 -0
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 845682898811195ad81ff1d64e0368f33826dc202116be4955e3d61e744e24b4
|
|
4
|
+
data.tar.gz: 39e7e212a2ca8c829bee777cb40a29fa2bcbbe2988192890248335609e456277
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efdabb748af796361d12deff4c50cf0418388d61f006dd26cb947c0babe76f02dac9192dd7d90db0aad95f241585bc2b131a9fbb398a46a7db47bb0deec8a488
|
|
7
|
+
data.tar.gz: 88ed03d3042f1b0937177a8bcf18b05007954805138c79dba6d4cf211daa38a2bffe25097b4b6f0921bbb74381a6bb815546e47dd7caf13d6176036293df83c5
|
data/README.md
CHANGED
data/lib/foreman_acd/version.rb
CHANGED
data/package.json
CHANGED
|
@@ -1,66 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foreman_acd",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "foreman application centric deployment",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
|
7
7
|
"test": "test"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"
|
|
11
|
-
"c3": "^0.4.11",
|
|
12
|
-
"humanize-duration": "^3.20.1",
|
|
10
|
+
"@theforeman/vendor": "^1.7.0",
|
|
13
11
|
"react-intl": "^2.8.0"
|
|
14
12
|
},
|
|
15
13
|
"devDependencies": {
|
|
16
|
-
"@
|
|
17
|
-
"@storybook/addon-knobs": "^5.0.1",
|
|
18
|
-
"@storybook/react": "^5.0.1",
|
|
19
|
-
"@theforeman/vendor-dev": "^1.4.0",
|
|
20
|
-
"classnames": "^2.2.5",
|
|
14
|
+
"@theforeman/vendor-dev": "^1.7.0",
|
|
21
15
|
"babel-eslint": "^8.2.1",
|
|
22
16
|
"babel-jest": "^23.6.0",
|
|
23
|
-
"babel-loader": "^7.1.1",
|
|
24
17
|
"babel-plugin-dynamic-import-node": "^2.0.0",
|
|
25
|
-
"babel-plugin-module-resolver": "^3.2.0",
|
|
26
|
-
"babel-plugin-lodash": "^3.3.2",
|
|
27
|
-
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
28
18
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
29
19
|
"babel-plugin-transform-object-assign": "^6.22.0",
|
|
30
20
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
31
|
-
"babel-
|
|
21
|
+
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
32
22
|
"babel-preset-env": "^1.6.0",
|
|
33
|
-
"babel-preset-react": "^6.
|
|
23
|
+
"babel-preset-react": "^6.24.1",
|
|
34
24
|
"enzyme": "^3.7.0",
|
|
35
|
-
"enzyme-adapter-react-16": "^1.
|
|
36
|
-
"enzyme-to-json": "^3.
|
|
25
|
+
"enzyme-adapter-react-16": "^1.7.0",
|
|
26
|
+
"enzyme-to-json": "^3.3.5",
|
|
37
27
|
"eslint": "^4.18.1",
|
|
38
|
-
"eslint-config-airbnb": "^16.0.0",
|
|
39
28
|
"eslint-plugin-import": "^2.8.0",
|
|
40
29
|
"eslint-plugin-jest": "^21.2.0",
|
|
41
|
-
"eslint-plugin-jsx-a11y": "^6.0.2",
|
|
42
30
|
"eslint-plugin-patternfly-react": "^0.2.1",
|
|
43
31
|
"eslint-plugin-react": "^7.4.0",
|
|
44
32
|
"identity-obj-proxy": "^3.0.0",
|
|
45
|
-
"
|
|
33
|
+
"jest": "^23.6.0",
|
|
46
34
|
"jest-cli": "^23.6.0",
|
|
47
35
|
"jest-prop-type-error": "^1.1.0",
|
|
48
|
-
"patternfly": "^3.58.0",
|
|
49
|
-
"patternfly-react": "^2.31.0",
|
|
50
|
-
"prettier": "^1.16.4",
|
|
51
|
-
"prop-types": "^15.6.2",
|
|
52
|
-
"react": "^16.8.1",
|
|
53
|
-
"react-redux": "^5.0.7",
|
|
54
36
|
"react-redux-test-utils": "^0.1.1",
|
|
55
|
-
"react-bootstrap": "^0.32.1",
|
|
56
|
-
"react-dom": "^16.6.3",
|
|
57
|
-
"react-json-tree": "^0.11.0",
|
|
58
|
-
"redux": "^3.7.2",
|
|
59
|
-
"redux-thunk": "^2.3.0",
|
|
60
|
-
"reselect": "^3.0.1",
|
|
61
|
-
"seamless-immutable": "^7.1.3",
|
|
62
37
|
"sortabular": "~1.5.1",
|
|
63
|
-
"table-resolver": "~3.
|
|
38
|
+
"table-resolver": "~3.2.0"
|
|
64
39
|
},
|
|
65
40
|
"scripts": {
|
|
66
41
|
"test": "node node_modules/.bin/jest --no-cache"
|
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
require 'test_plugin_helper'
|
|
4
4
|
require 'nokogiri'
|
|
5
5
|
|
|
6
|
+
module Katello
|
|
7
|
+
# Mock Katello::KTEnvironment so that tests run without Katello
|
|
8
|
+
class KTEnvironment
|
|
9
|
+
def self.all
|
|
10
|
+
[{ :id => 1, :name => 'Library' }, { :id => 2, :name => 'Test' }]
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# UI Controller tests
|
|
6
16
|
class UiAcdControllerTest < ActionController::TestCase
|
|
7
17
|
test 'get app json' do
|
|
8
18
|
app_def = FactoryBot.create(:app_definition)
|
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.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ATIX AG
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -66,7 +66,8 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: 2.0.1
|
|
69
|
-
description:
|
|
69
|
+
description: Foreman plugin to provide application centric deployment and self service
|
|
70
|
+
portal
|
|
70
71
|
email:
|
|
71
72
|
- info@atix.de
|
|
72
73
|
executables: []
|
|
@@ -167,7 +168,8 @@ rubyforge_project:
|
|
|
167
168
|
rubygems_version: 2.7.6
|
|
168
169
|
signing_key:
|
|
169
170
|
specification_version: 4
|
|
170
|
-
summary:
|
|
171
|
+
summary: Foreman plugin to provide application centric deployment and self service
|
|
172
|
+
portal
|
|
171
173
|
test_files:
|
|
172
174
|
- test/factories/foreman_acd_factories.rb
|
|
173
175
|
- test/test_plugin_helper.rb
|