foreman_acd 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91ccbadf60d3e30953d20270ca7a5b631f3c9961d4fb968ee5b6e6b1878da3c1
4
- data.tar.gz: 072b5c71e1d7697e15049c01f8fa937d841be0ed968f76f36b0a40cd8368a1ac
3
+ metadata.gz: 845682898811195ad81ff1d64e0368f33826dc202116be4955e3d61e744e24b4
4
+ data.tar.gz: 39e7e212a2ca8c829bee777cb40a29fa2bcbbe2988192890248335609e456277
5
5
  SHA512:
6
- metadata.gz: 4aea1cd1dfd9101fa1278f7252282a84692f33961d0058e7254022f936562c1cdfdf2b6a853466e13e8f04cd878bff0f1a85f9bf29b96936b2c3af88cbe4fc25
7
- data.tar.gz: effc1cf35ed06a1fc72ef0d39f8fa140eb9e037147e7f07544bb1e7c5e99c7c8a88b1fbe529e8a802a054f24253aa901c6ca6f3f66940698c759f0efb2a6b7c0
6
+ metadata.gz: efdabb748af796361d12deff4c50cf0418388d61f006dd26cb947c0babe76f02dac9192dd7d90db0aad95f241585bc2b131a9fbb398a46a7db47bb0deec8a488
7
+ data.tar.gz: 88ed03d3042f1b0937177a8bcf18b05007954805138c79dba6d4cf211daa38a2bffe25097b4b6f0921bbb74381a6bb815546e47dd7caf13d6176036293df83c5
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status master](https://travis-ci.org/ATIX-AG/foreman_acd.svg?branch=master)](https://travis-ci.org/ATIX-AG/foreman_acd)
2
+
1
3
  # Foreman Application Centric Deployment
2
4
 
3
5
  A plugin to bring an user self service portal and application centric deployment to Foreman.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanAcd
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  end
data/package.json CHANGED
@@ -1,66 +1,41 @@
1
1
  {
2
2
  "name": "foreman_acd",
3
- "version": "0.5.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
- "jquery": "~2.2.4",
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
- "@storybook/addon-actions": "^5.0.1",
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-polyfill": "^6.26.0",
21
+ "babel-plugin-syntax-dynamic-import": "^6.18.0",
32
22
  "babel-preset-env": "^1.6.0",
33
- "babel-preset-react": "^6.5.0",
23
+ "babel-preset-react": "^6.24.1",
34
24
  "enzyme": "^3.7.0",
35
- "enzyme-adapter-react-16": "^1.4.0",
36
- "enzyme-to-json": "^3.2.1",
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
- "lodash": "^4.17.11",
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.3.0"
38
+ "table-resolver": "~3.2.0"
64
39
  },
65
40
  "scripts": {
66
41
  "test": "node node_modules/.bin/jest --no-cache"
@@ -4,6 +4,7 @@ require 'test_plugin_helper'
4
4
  require 'nokogiri'
5
5
 
6
6
  module ForemanAcd
7
+ # Application Definitions Controller tests
7
8
  class AppDefinitionsControllerTest < ActionController::TestCase
8
9
  setup do
9
10
  as_admin { FactoryBot.create(:app_definition) }
@@ -4,6 +4,7 @@ require 'test_plugin_helper'
4
4
  require 'nokogiri'
5
5
 
6
6
  module ForemanAcd
7
+ # Application Instances Controller tests
7
8
  class AppInstancesControllerTest < ActionController::TestCase
8
9
  setup do
9
10
  as_admin { FactoryBot.create(:app_instance) }
@@ -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)
@@ -3,6 +3,7 @@
3
3
  require 'test_plugin_helper'
4
4
 
5
5
  module ForemanAcd
6
+ # Application Definition Model tests
6
7
  class AppDefinitionTest < ActiveSupport::TestCase
7
8
  should validate_presence_of(:name)
8
9
  should validate_uniqueness_of(:name)
@@ -3,6 +3,7 @@
3
3
  require 'test_plugin_helper'
4
4
 
5
5
  module ForemanAcd
6
+ # Application Instance Model tests
6
7
  class AppInstanceTest < ActiveSupport::TestCase
7
8
  should validate_presence_of(:name)
8
9
  should belong_to(: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.2
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-22 00:00:00.000000000 Z
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: Application Centric Deployment.
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: Application Centric Deployment for Foreman
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