foreman_webhooks 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +619 -0
- data/README.md +30 -0
- data/Rakefile +49 -0
- data/app/controllers/api/v2/webhook_templates_controller.rb +110 -0
- data/app/controllers/api/v2/webhooks_controller.rb +61 -0
- data/app/controllers/concerns/foreman_webhooks/controller/parameters/webhook.rb +34 -0
- data/app/controllers/concerns/foreman_webhooks/controller/parameters/webhook_template.rb +34 -0
- data/app/controllers/webhook_templates_controller.rb +5 -0
- data/app/controllers/webhooks_controller.rb +39 -0
- data/app/jobs/foreman_webhooks/deliver_webhook_job.rb +27 -0
- data/app/lib/foreman_webhooks/renderer/scope/webhook_template.rb +36 -0
- data/app/models/webhook.rb +141 -0
- data/app/models/webhook_template.rb +59 -0
- data/app/services/foreman_webhooks/webhook_service.rb +111 -0
- data/app/subscribers/foreman_webhooks/event_subscriber.rb +9 -0
- data/app/views/api/v2/webhook_templates/base.json.rabl +5 -0
- data/app/views/api/v2/webhook_templates/create.json.rabl +5 -0
- data/app/views/api/v2/webhook_templates/index.json.rabl +5 -0
- data/app/views/api/v2/webhook_templates/main.json.rabl +7 -0
- data/app/views/api/v2/webhook_templates/show.json.rabl +11 -0
- data/app/views/api/v2/webhook_templates/update.json.rabl +5 -0
- data/app/views/api/v2/webhooks/base.json.rabl +5 -0
- data/app/views/api/v2/webhooks/create.json.rabl +5 -0
- data/app/views/api/v2/webhooks/index.json.rabl +5 -0
- data/app/views/api/v2/webhooks/main.json.rabl +8 -0
- data/app/views/api/v2/webhooks/show.json.rabl +17 -0
- data/app/views/api/v2/webhooks/update.json.rabl +5 -0
- data/app/views/foreman_webhooks/webhook_templates/ansible_tower_-_host_in_inventory.erb +20 -0
- data/app/views/foreman_webhooks/webhook_templates/empty_payload.erb +6 -0
- data/app/views/foreman_webhooks/webhook_templates/webhook_template_-_payload_default.erb +11 -0
- data/app/views/webhook_templates/_alerts.html.erb +3 -0
- data/app/views/webhook_templates/_custom_tab_headers.html.erb +1 -0
- data/app/views/webhook_templates/_custom_tabs.html.erb +5 -0
- data/app/views/webhook_templates/edit.html.erb +3 -0
- data/app/views/webhook_templates/index.html.erb +29 -0
- data/app/views/webhook_templates/new.html.erb +3 -0
- data/app/views/webhooks/_form.html.erb +37 -0
- data/app/views/webhooks/_templates.html.erb +5 -0
- data/app/views/webhooks/edit.html.erb +3 -0
- data/app/views/webhooks/new.html.erb +3 -0
- data/config/routes.rb +45 -0
- data/db/migrate/20191016100128_create_webhook_targets.rb +13 -0
- data/db/migrate/20200831194208_rename_webhook_targets_to_webhooks.rb +7 -0
- data/db/migrate/20200831194514_add_template_to_webhooks.rb +7 -0
- data/db/migrate/20200907232758_rename_webhook_permissions.rb +22 -0
- data/db/migrate/20200908004234_add_columns_to_webhooks.rb +13 -0
- data/db/migrate/20201014115147_rename_ca_file_column.rb +7 -0
- data/db/migrate/20201109135301_add_http_headers.rb +8 -0
- data/db/seeds.d/95_webhook_templates.rb +7 -0
- data/lib/foreman_webhooks.rb +6 -0
- data/lib/foreman_webhooks/engine.rb +80 -0
- data/lib/foreman_webhooks/version.rb +5 -0
- data/lib/tasks/foreman_webhooks_tasks.rake +47 -0
- data/package.json +45 -0
- data/test/controllers/api/v2/webhook_templates_controller_test.rb +200 -0
- data/test/controllers/api/v2/webhooks_controller_test.rb +108 -0
- data/test/factories/webhook.rb +20 -0
- data/test/factories/webhook_target.rb +9 -0
- data/test/factories/webhook_template.rb +16 -0
- data/test/jobs/foreman_webhooks/deliver_webhook_job_test.rb +17 -0
- data/test/models/webhook_test.rb +38 -0
- data/test/test_plugin_helper.rb +8 -0
- data/test/unit/foreman_webhooks/webhook_service_test.rb +53 -0
- data/webpack/ForemanWebhooks/Routes/ForemanWebhooksRoutes.js +12 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/EmptyWebhooksTable/index.js +29 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhookDeleteModal.js +43 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/EnabledCell.js +16 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/__tests__/__snapshots__/enabledCellFormatter.test.js.snap +7 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/__tests__/enabledCellFormatter.test.js +7 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/enabledCellFormatter.js +6 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/index.js +1 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/__tests__/EnabledCell.test.js +14 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/__tests__/__snapshots__/EnabledCell.test.js.snap +17 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/WebhooksTable.js +75 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/WebhooksTableSchema.js +41 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/__tests__/WebhooksTable.test.js +57 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/__tests__/__snapshots__/WebhooksTable.test.js.snap +115 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/index.js +25 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/WebhooksIndexPage.js +87 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/__tests__/WebhooksIndexPage.fixtures.js +74 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/__tests__/WebhooksIndexPage.test.js +21 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/__tests__/__snapshots__/WebhooksIndexPage.test.js.snap +68 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/index.js +51 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksPageActions.js +51 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksPageHelpers.js +29 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksPageSelectors.js +85 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/__tests__/WebhooksPageHelpers.test.js +20 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/__tests__/WebhooksPageSelectors.test.js +45 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/__tests__/__snapshots__/WebhooksPageSelectors.test.js.snap +50 -0
- data/webpack/ForemanWebhooks/Routes/Webhooks/constants.js +13 -0
- data/webpack/__mocks__/foremanReact/common/HOC.js +2 -0
- data/webpack/__mocks__/foremanReact/common/I18n.js +7 -0
- data/webpack/__mocks__/foremanReact/common/helpers.js +7 -0
- data/webpack/__mocks__/foremanReact/common/urlHelpers.js +1 -0
- data/webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalActions.js +2 -0
- data/webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js +10 -0
- data/webpack/__mocks__/foremanReact/components/ForemanModal/index.js +18 -0
- data/webpack/__mocks__/foremanReact/components/Layout/LayoutActions.js +2 -0
- data/webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js +2 -0
- data/webpack/__mocks__/foremanReact/components/common/EmptyState.js +5 -0
- data/webpack/__mocks__/foremanReact/components/common/table.js +5 -0
- data/webpack/__mocks__/foremanReact/constants.js +24 -0
- data/webpack/__mocks__/foremanReact/redux/API/APISelectors.js +6 -0
- data/webpack/__mocks__/foremanReact/redux/API/index.js +10 -0
- data/webpack/__mocks__/foremanReact/redux/actions/toasts.js +8 -0
- data/webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js +10 -0
- data/webpack/index.js +0 -0
- data/webpack/routes_index.js +4 -0
- metadata +195 -0
@@ -0,0 +1 @@
|
|
1
|
+
export const getURIsearch = () => 'a=b';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import PropTypes from 'prop-types';
|
3
|
+
|
4
|
+
const ForemanModal = ({ children }) => <div className="modal">{children}</div>;
|
5
|
+
ForemanModal.Header = ({ children }) => (
|
6
|
+
<div className="modal-header">{children}</div>
|
7
|
+
);
|
8
|
+
ForemanModal.Footer = ({ children }) => (
|
9
|
+
<div className="modal-footer">{children}</div>
|
10
|
+
);
|
11
|
+
|
12
|
+
ForemanModal.propTypes = {
|
13
|
+
children: PropTypes.node.isRequired,
|
14
|
+
};
|
15
|
+
ForemanModal.Header.propTypes = ForemanModal.propTypes;
|
16
|
+
ForemanModal.Footer.propTypes = ForemanModal.propTypes;
|
17
|
+
|
18
|
+
export default ForemanModal;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export const STATUS = {
|
2
|
+
PENDING: 'PENDING',
|
3
|
+
RESOLVED: 'RESOLVED',
|
4
|
+
ERROR: 'ERROR',
|
5
|
+
};
|
6
|
+
|
7
|
+
export const getControllerSearchProps = (
|
8
|
+
controller,
|
9
|
+
id = 'searchBar',
|
10
|
+
canCreateBookmarks = true
|
11
|
+
) => ({
|
12
|
+
controller,
|
13
|
+
autocomplete: {
|
14
|
+
id,
|
15
|
+
searchQuery: '',
|
16
|
+
url: `${controller}/auto_complete_search`,
|
17
|
+
useKeyShortcuts: true,
|
18
|
+
},
|
19
|
+
bookmarks: {
|
20
|
+
url: '/api/bookmarks',
|
21
|
+
canCreateBookmarks,
|
22
|
+
documentationUrl: `4.1.5Searching`,
|
23
|
+
},
|
24
|
+
});
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export const selectAPIResponse = (state, key) =>
|
2
|
+
selectAPIByKey(state, key).response;
|
3
|
+
|
4
|
+
export const selectAPIStatus = (state, key) => 'PENDING';
|
5
|
+
export const selectAPIByKey = (state, key) => state.API[key];
|
6
|
+
export const selectAPIError = (state, key) => ({ error: `${key} ERRROR` });
|
data/webpack/index.js
ADDED
File without changes
|
metadata
ADDED
@@ -0,0 +1,195 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: foreman_webhooks
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Timo Goebel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rdoc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.71.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.71.0
|
41
|
+
description: Plugin for Foreman that allows to configure Webhooks.
|
42
|
+
email:
|
43
|
+
- mail@timogoebel.name
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- LICENSE
|
49
|
+
- README.md
|
50
|
+
- Rakefile
|
51
|
+
- app/controllers/api/v2/webhook_templates_controller.rb
|
52
|
+
- app/controllers/api/v2/webhooks_controller.rb
|
53
|
+
- app/controllers/concerns/foreman_webhooks/controller/parameters/webhook.rb
|
54
|
+
- app/controllers/concerns/foreman_webhooks/controller/parameters/webhook_template.rb
|
55
|
+
- app/controllers/webhook_templates_controller.rb
|
56
|
+
- app/controllers/webhooks_controller.rb
|
57
|
+
- app/jobs/foreman_webhooks/deliver_webhook_job.rb
|
58
|
+
- app/lib/foreman_webhooks/renderer/scope/webhook_template.rb
|
59
|
+
- app/models/webhook.rb
|
60
|
+
- app/models/webhook_template.rb
|
61
|
+
- app/services/foreman_webhooks/webhook_service.rb
|
62
|
+
- app/subscribers/foreman_webhooks/event_subscriber.rb
|
63
|
+
- app/views/api/v2/webhook_templates/base.json.rabl
|
64
|
+
- app/views/api/v2/webhook_templates/create.json.rabl
|
65
|
+
- app/views/api/v2/webhook_templates/index.json.rabl
|
66
|
+
- app/views/api/v2/webhook_templates/main.json.rabl
|
67
|
+
- app/views/api/v2/webhook_templates/show.json.rabl
|
68
|
+
- app/views/api/v2/webhook_templates/update.json.rabl
|
69
|
+
- app/views/api/v2/webhooks/base.json.rabl
|
70
|
+
- app/views/api/v2/webhooks/create.json.rabl
|
71
|
+
- app/views/api/v2/webhooks/index.json.rabl
|
72
|
+
- app/views/api/v2/webhooks/main.json.rabl
|
73
|
+
- app/views/api/v2/webhooks/show.json.rabl
|
74
|
+
- app/views/api/v2/webhooks/update.json.rabl
|
75
|
+
- app/views/foreman_webhooks/webhook_templates/ansible_tower_-_host_in_inventory.erb
|
76
|
+
- app/views/foreman_webhooks/webhook_templates/empty_payload.erb
|
77
|
+
- app/views/foreman_webhooks/webhook_templates/webhook_template_-_payload_default.erb
|
78
|
+
- app/views/webhook_templates/_alerts.html.erb
|
79
|
+
- app/views/webhook_templates/_custom_tab_headers.html.erb
|
80
|
+
- app/views/webhook_templates/_custom_tabs.html.erb
|
81
|
+
- app/views/webhook_templates/edit.html.erb
|
82
|
+
- app/views/webhook_templates/index.html.erb
|
83
|
+
- app/views/webhook_templates/new.html.erb
|
84
|
+
- app/views/webhooks/_form.html.erb
|
85
|
+
- app/views/webhooks/_templates.html.erb
|
86
|
+
- app/views/webhooks/edit.html.erb
|
87
|
+
- app/views/webhooks/new.html.erb
|
88
|
+
- config/routes.rb
|
89
|
+
- db/migrate/20191016100128_create_webhook_targets.rb
|
90
|
+
- db/migrate/20200831194208_rename_webhook_targets_to_webhooks.rb
|
91
|
+
- db/migrate/20200831194514_add_template_to_webhooks.rb
|
92
|
+
- db/migrate/20200907232758_rename_webhook_permissions.rb
|
93
|
+
- db/migrate/20200908004234_add_columns_to_webhooks.rb
|
94
|
+
- db/migrate/20201014115147_rename_ca_file_column.rb
|
95
|
+
- db/migrate/20201109135301_add_http_headers.rb
|
96
|
+
- db/seeds.d/95_webhook_templates.rb
|
97
|
+
- lib/foreman_webhooks.rb
|
98
|
+
- lib/foreman_webhooks/engine.rb
|
99
|
+
- lib/foreman_webhooks/version.rb
|
100
|
+
- lib/tasks/foreman_webhooks_tasks.rake
|
101
|
+
- package.json
|
102
|
+
- test/controllers/api/v2/webhook_templates_controller_test.rb
|
103
|
+
- test/controllers/api/v2/webhooks_controller_test.rb
|
104
|
+
- test/factories/webhook.rb
|
105
|
+
- test/factories/webhook_target.rb
|
106
|
+
- test/factories/webhook_template.rb
|
107
|
+
- test/jobs/foreman_webhooks/deliver_webhook_job_test.rb
|
108
|
+
- test/models/webhook_test.rb
|
109
|
+
- test/test_plugin_helper.rb
|
110
|
+
- test/unit/foreman_webhooks/webhook_service_test.rb
|
111
|
+
- webpack/ForemanWebhooks/Routes/ForemanWebhooksRoutes.js
|
112
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/EmptyWebhooksTable/index.js
|
113
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhookDeleteModal.js
|
114
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/EnabledCell.js
|
115
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/__tests__/__snapshots__/enabledCellFormatter.test.js.snap
|
116
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/__tests__/enabledCellFormatter.test.js
|
117
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/enabledCellFormatter.js
|
118
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/index.js
|
119
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/__tests__/EnabledCell.test.js
|
120
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/__tests__/__snapshots__/EnabledCell.test.js.snap
|
121
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/WebhooksTable.js
|
122
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/WebhooksTableSchema.js
|
123
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/__tests__/WebhooksTable.test.js
|
124
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/__tests__/__snapshots__/WebhooksTable.test.js.snap
|
125
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/index.js
|
126
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/WebhooksIndexPage.js
|
127
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/__tests__/WebhooksIndexPage.fixtures.js
|
128
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/__tests__/WebhooksIndexPage.test.js
|
129
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/__tests__/__snapshots__/WebhooksIndexPage.test.js.snap
|
130
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/index.js
|
131
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksPageActions.js
|
132
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksPageHelpers.js
|
133
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksPageSelectors.js
|
134
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/__tests__/WebhooksPageHelpers.test.js
|
135
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/__tests__/WebhooksPageSelectors.test.js
|
136
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/__tests__/__snapshots__/WebhooksPageSelectors.test.js.snap
|
137
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/constants.js
|
138
|
+
- webpack/__mocks__/foremanReact/common/HOC.js
|
139
|
+
- webpack/__mocks__/foremanReact/common/I18n.js
|
140
|
+
- webpack/__mocks__/foremanReact/common/helpers.js
|
141
|
+
- webpack/__mocks__/foremanReact/common/urlHelpers.js
|
142
|
+
- webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalActions.js
|
143
|
+
- webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
|
144
|
+
- webpack/__mocks__/foremanReact/components/ForemanModal/index.js
|
145
|
+
- webpack/__mocks__/foremanReact/components/Layout/LayoutActions.js
|
146
|
+
- webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js
|
147
|
+
- webpack/__mocks__/foremanReact/components/common/EmptyState.js
|
148
|
+
- webpack/__mocks__/foremanReact/components/common/table.js
|
149
|
+
- webpack/__mocks__/foremanReact/constants.js
|
150
|
+
- webpack/__mocks__/foremanReact/redux/API/APISelectors.js
|
151
|
+
- webpack/__mocks__/foremanReact/redux/API/index.js
|
152
|
+
- webpack/__mocks__/foremanReact/redux/actions/toasts.js
|
153
|
+
- webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js
|
154
|
+
- webpack/index.js
|
155
|
+
- webpack/routes_index.js
|
156
|
+
homepage: https://github.com/timogoebel/foreman_webhooks
|
157
|
+
licenses:
|
158
|
+
- GPL-3.0
|
159
|
+
metadata: {}
|
160
|
+
post_install_message:
|
161
|
+
rdoc_options: []
|
162
|
+
require_paths:
|
163
|
+
- lib
|
164
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
requirements: []
|
175
|
+
rubygems_version: 3.1.2
|
176
|
+
signing_key:
|
177
|
+
specification_version: 4
|
178
|
+
summary: Configure webhooks for Foreman.
|
179
|
+
test_files:
|
180
|
+
- test/jobs/foreman_webhooks/deliver_webhook_job_test.rb
|
181
|
+
- test/test_plugin_helper.rb
|
182
|
+
- test/unit/foreman_webhooks/webhook_service_test.rb
|
183
|
+
- test/factories/webhook.rb
|
184
|
+
- test/factories/webhook_target.rb
|
185
|
+
- test/factories/webhook_template.rb
|
186
|
+
- test/controllers/api/v2/webhook_templates_controller_test.rb
|
187
|
+
- test/controllers/api/v2/webhooks_controller_test.rb
|
188
|
+
- test/models/webhook_test.rb
|
189
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/__tests__/enabledCellFormatter.test.js
|
190
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/__tests__/EnabledCell.test.js
|
191
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/__tests__/WebhooksTable.test.js
|
192
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/__tests__/WebhooksIndexPage.fixtures.js
|
193
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/__tests__/WebhooksIndexPage.test.js
|
194
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/__tests__/WebhooksPageHelpers.test.js
|
195
|
+
- webpack/ForemanWebhooks/Routes/Webhooks/__tests__/WebhooksPageSelectors.test.js
|