avm-eac_webapp_base0 0.21.5 → 0.22.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a72d97d8631a35e577347dbbe31e0e371d383654236f4519c92687f3b34fe31a
|
|
4
|
+
data.tar.gz: e29f5dffd9cc75dca6844e2ef99527bdd17a5a25e02767c6433e73c822457679
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1aab5cf07947fcdda733871ec91d7f6339ccedfe6701f37ac210eb4cbef4d6fd5bae3e88ede6c92ac2af919702afaf47f7dd3146ce1daebefe3c885be9daed85
|
|
7
|
+
data.tar.gz: aa58ac03445047c72a917d3808eb8ff0ca2edba37c46ca4820fe268aa8d1813d808f97fb39108b3bb24f4ddc0ed2db1d4072625cc359a3c6affd7cc3083a3893
|
|
@@ -9,11 +9,7 @@ module Avm
|
|
|
9
9
|
|
|
10
10
|
# @param options [Class<Avm::EacWebappBase0::Instances::Deploy>]
|
|
11
11
|
def deploy_class
|
|
12
|
-
application.stereotype.namespace_module.
|
|
13
|
-
s.const_get('Instances').const_get('Deploy')
|
|
14
|
-
rescue ::NameError
|
|
15
|
-
s.const_get('Deploy')
|
|
16
|
-
end
|
|
12
|
+
application.stereotype.namespace_module.const_get('Instances').const_get('Deploy')
|
|
17
13
|
end
|
|
18
14
|
|
|
19
15
|
# @param options [Hash]
|
|
@@ -6,12 +6,17 @@ module Avm
|
|
|
6
6
|
class Base < ::Avm::Instances::Base
|
|
7
7
|
module Install
|
|
8
8
|
common_concern do
|
|
9
|
-
uri_components_entries_values 'install', %w[apache_resource_name]
|
|
9
|
+
uri_components_entries_values 'install', %w[apache_resource_name request_test_timeout]
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def install_apache_resource_name_default_value
|
|
13
13
|
id
|
|
14
14
|
end
|
|
15
|
+
|
|
16
|
+
# @return [Integer]
|
|
17
|
+
def install_request_test_timeout_default_value
|
|
18
|
+
::EacEnvs::Http::Request::FaradayConnection::DEFAULT_TIMEOUT.to_seconds
|
|
19
|
+
end
|
|
15
20
|
end
|
|
16
21
|
end
|
|
17
22
|
end
|
|
@@ -53,10 +53,8 @@ module Avm
|
|
|
53
53
|
|
|
54
54
|
def request_test
|
|
55
55
|
infom 'Requesting web interface...'
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
infov 'Response status', response.code
|
|
59
|
-
fatal_error "Request to #{uri} failed" unless response.code.to_i == 200
|
|
56
|
+
::EacEnvs::Http::Request.new.url(instance.read_entry('web.url'))
|
|
57
|
+
.timeout(instance.install_request_test_timeout).response.raise_unless_200
|
|
60
58
|
end
|
|
61
59
|
|
|
62
60
|
protected
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: avm-eac_webapp_base0
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.22.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Put here the authors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: avm
|