et_full_system 3.0.6 → 4.0.0.pre.rc2

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: b9c390f6a9b04f6c3882ff3d266111d0eba517a3a3026dfa25e8b6c1455307a9
4
- data.tar.gz: cb09cb0300ae43234c4b03bc207eddbfd287c4a52efa391342c56f6827914b9e
3
+ metadata.gz: e987a3724e9e25d4b8dc70b5cbf3294963d2a3dd37cca5c0186124afe0b840e6
4
+ data.tar.gz: 7968ec2c06ede9a1618167c7b0c2804373f2462b2c4a38098367791014bb0009
5
5
  SHA512:
6
- metadata.gz: 577d97b057127bbcb9d5966001aa155ce0e476f6f5f80eb9c225fd65ad48728ee45d790d82745587ff8f0bc00849b7a732da8c372f605eb3c709f3eac18af772
7
- data.tar.gz: 7e9e8779bd339e066553ed99e20044eae6c4b0f4de823cd05347b5a2662a976179028ca5176ff74622eb2d8881389aa42c1752240dd07820315386c1179abdac
6
+ metadata.gz: fc92141b85627f076811705b5847f7c921b05bf07827c31ac34303b4c6e24bc356e8851242b05d655acf6ba5cf5994ebb4946e583ed02d59d6d7ba0e93a2a3be
7
+ data.tar.gz: 7f9e899eea0e334a6a7e35092781023239cc4c5abd90aa182bdc186e28b894f394ac4f36a2d91fe49835d07e2d0a370849f2c96865974f493ec69757f4d1ae20
data/Gemfile.lock CHANGED
@@ -1,11 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (3.0.6)
4
+ et_full_system (4.0.0.pre.rc2)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
8
8
  et_fake_ccd (~> 1.0)
9
+ gov_fake_notify (~> 1.1)
9
10
  httparty (~> 0.16)
10
11
  thor (~> 1.0)
11
12
 
@@ -22,21 +23,21 @@ GEM
22
23
  zeitwerk (~> 2.3)
23
24
  addressable (2.8.0)
24
25
  public_suffix (>= 2.0.2, < 5.0)
25
- aws-eventstream (1.1.1)
26
- aws-partitions (1.492.0)
27
- aws-sdk-core (3.119.1)
26
+ aws-eventstream (1.2.0)
27
+ aws-partitions (1.507.0)
28
+ aws-sdk-core (3.121.1)
28
29
  aws-eventstream (~> 1, >= 1.0.2)
29
30
  aws-partitions (~> 1, >= 1.239.0)
30
31
  aws-sigv4 (~> 1.1)
31
32
  jmespath (~> 1.0)
32
- aws-sdk-kms (1.47.0)
33
- aws-sdk-core (~> 3, >= 3.119.0)
33
+ aws-sdk-kms (1.48.0)
34
+ aws-sdk-core (~> 3, >= 3.120.0)
34
35
  aws-sigv4 (~> 1.1)
35
- aws-sdk-s3 (1.100.0)
36
- aws-sdk-core (~> 3, >= 3.119.0)
36
+ aws-sdk-s3 (1.103.0)
37
+ aws-sdk-core (~> 3, >= 3.120.0)
37
38
  aws-sdk-kms (~> 1)
38
- aws-sigv4 (~> 1.1)
39
- aws-sigv4 (1.2.4)
39
+ aws-sigv4 (~> 1.4)
40
+ aws-sigv4 (1.4.0)
40
41
  aws-eventstream (~> 1, >= 1.0.2)
41
42
  azure-core (0.1.15)
42
43
  faraday (~> 0.9)
@@ -61,7 +62,15 @@ GEM
61
62
  multipart-post (>= 1.2, < 3)
62
63
  faraday_middleware (0.14.0)
63
64
  faraday (>= 0.7.4, < 1.0)
64
- httparty (0.18.1)
65
+ gov_fake_notify (1.1.1)
66
+ activemodel (>= 5.2.3)
67
+ iodine (~> 0.7)
68
+ jwt (~> 2.2, >= 2.2.3)
69
+ mail (~> 2.7, >= 2.7.1)
70
+ roda (~> 3.48)
71
+ thor (~> 1.1)
72
+ tilt (~> 2.0, >= 2.0.10)
73
+ httparty (0.19.0)
65
74
  mime-types (~> 3.0)
66
75
  multi_xml (>= 0.5.2)
67
76
  i18n (1.8.10)
@@ -70,21 +79,25 @@ GEM
70
79
  jmespath (1.4.0)
71
80
  json-schema (2.8.1)
72
81
  addressable (>= 2.4)
82
+ jwt (2.2.3)
83
+ mail (2.7.1)
84
+ mini_mime (>= 0.1.1)
73
85
  mime-types (3.3.1)
74
86
  mime-types-data (~> 3.2015)
75
- mime-types-data (3.2021.0704)
87
+ mime-types-data (3.2021.0901)
88
+ mini_mime (1.1.1)
76
89
  mini_portile2 (2.6.1)
77
90
  minitest (5.14.4)
78
91
  multi_xml (0.6.0)
79
92
  multipart-post (2.1.1)
80
- nokogiri (1.12.4)
93
+ nokogiri (1.12.5)
81
94
  mini_portile2 (~> 2.6.1)
82
95
  racc (~> 1.4)
83
96
  public_suffix (4.0.6)
84
97
  racc (1.5.2)
85
98
  rack (2.2.3)
86
99
  rake (13.0.1)
87
- roda (3.47.0)
100
+ roda (3.48.0)
88
101
  rack
89
102
  rotp (6.2.0)
90
103
  thor (1.1.0)
@@ -137,46 +137,6 @@ services:
137
137
  - "localhost.from.docker:${LOCALHOST_FROM_DOCKER_IP:-127.255.255.255}"
138
138
  networks:
139
139
  - et_full_system
140
- zalenium:
141
- image: "dosel/zalenium"
142
- container_name: zalenium
143
- hostname: zalenium
144
- tty: true
145
- volumes:
146
- - zalenium_videos:/home/seluser/videos
147
- - /var/run/docker.sock:/var/run/docker.sock
148
- ports:
149
- - 4444:4444
150
- extra_hosts:
151
- - "localhost.from.docker:${LOCALHOST_FROM_DOCKER_IP}"
152
- networks:
153
- - et_full_system
154
- command: >
155
- start --desiredContainers 2
156
- --maxDockerSeleniumContainers 8
157
- --screenWidth 1024 --screenHeight 768
158
- --timeZone "Europe/Berlin"
159
- --videoRecordingEnabled ${RECORD_VIDEO:-'false'}
160
- --sauceLabsEnabled 'false'
161
- --browserStackEnabled 'false'
162
- --testingBotEnabled 'false'
163
- --cbtEnabled 'false'
164
- --lambdaTestEnabled 'false'
165
- --startTunnel 'false'
166
- environment:
167
- - HOST_UID
168
- - HOST_GID
169
- - SAUCE_USERNAME
170
- - SAUCE_ACCESS_KEY
171
- - BROWSER_STACK_USER
172
- - BROWSER_STACK_KEY
173
- - TESTINGBOT_KEY
174
- - TESTINGBOT_SECRET
175
- - CBT_USERNAME
176
- - CBT_AUTHKEY
177
- - LT_USERNAME
178
- - LT_ACCESS_KEY
179
- - PULL_SELENIUM_IMAGE='true'
180
140
  volumes:
181
141
  rvm:
182
142
  global_node_modules:
@@ -197,7 +157,6 @@ volumes:
197
157
  atos_bundle:
198
158
  db_data:
199
159
  redis_data:
200
- zalenium_videos:
201
160
 
202
161
  networks:
203
162
  et_full_system:
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency 'azure-storage', '~> 0.15.0.preview'
29
29
  spec.add_dependency 'dotenv', '~> 2.7', '>= 2.7.2'
30
30
  spec.add_dependency 'et_fake_ccd', '~> 1.0'
31
-
31
+ spec.add_dependency 'gov_fake_notify', '~> 1.1'
32
+
32
33
  spec.add_development_dependency "rake", "~> 13.0"
33
34
  end
data/foreman/Procfile CHANGED
@@ -11,4 +11,5 @@ s3_web: bash --login -c "godotenv -f ${FOREMAN_PATH}/minio.env minio server ${MI
11
11
  azure_blob_web: bash --login -c "azurite -l ${AZURITE_STORAGE_PATH} -d ${AZURITE_STORAGE_PATH}/debug.log"
12
12
  fake_acas_web: export FREEPORT=$(freeport) && bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url fake_acas http://localhost:$FREEPORT && rvm use && et_fake_acas_server -port $FREEPORT -threads=1 -workers=2"
13
13
  fake_ccd_web: export FREEPORT=$(freeport) && bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url fake_ccd http://localhost:$FREEPORT && rvm use && et_fake_ccd start --port=$FREEPORT --create_case_schema=./systems/et_ccd_export/spec/json_schemas/case_create.json"
14
+ fake_notify_web: export FREEPORT=$(freeport) && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/fake_notify.env bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url fake_notify http://localhost:$FREEPORT && rvm use && gov_fake_notify start --port=$FREEPORT --config=${FOREMAN_PATH}/gov_fake_notify.yaml"
14
15
  et_ccd_export_sidekiq: bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && cd systems/et_ccd_export && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_ccd_export.env ./run_sidekiq.sh"
@@ -0,0 +1,3 @@
1
+ GOV_FAKE_NOTIFY_SMTP_HOSTNAME=${SMTP_HOSTNAME}
2
+ GOV_FAKE_NOTIFY_SMTP_PORT=${SMTP_PORT}
3
+ GOV_FAKE_NOTIFY_BASE_URL='http://notify.et.127.0.0.1.nip.io:3100'
@@ -0,0 +1,110 @@
1
+ ---
2
+ delivery_method: smtp
3
+ include_templates:
4
+ - id: a55e0b84-8d65-4bf4-93a7-e974e0d8d48d
5
+ name: et1-confirmation-email-v1-en
6
+ subject: "Employment tribunal: claim submitted"
7
+ message: |
8
+ Claim number: ((claim.reference))
9
+
10
+ ((primary_claimant.first_name)) ((primary_claimant.last_name))
11
+
12
+ Thank you for submitting your claim to an employment tribunal.
13
+
14
+ ---
15
+
16
+ WHAT HAPPENS NEXT
17
+
18
+ We'll contact you once we have sent your claim to the respondent and explain what happens next.
19
+ At present, this is taking us an average of 25 days.
20
+ Once we have sent them your claim, the respondent has 28 days to reply.
21
+
22
+ ---
23
+
24
+ SUBMISSION DETAILS
25
+
26
+ Claim submitted: ((submitted_date))
27
+ Tribunal office: ((office.name))
28
+ Contact: ((office.email)), ((office.telephone))
29
+
30
+ ---
31
+
32
+ Please use the link below to download a copy of your claim.
33
+ ((link_to_pdf))
34
+
35
+ ---
36
+
37
+ Additional Information File
38
+
39
+ ((link_to_additional_info))
40
+
41
+ ---
42
+
43
+ Group Claim File
44
+
45
+ ((link_to_claimants_file))
46
+
47
+ ---
48
+
49
+
50
+
51
+ Your feedback helps us improve this service:
52
+ https://www.gov.uk/done/employment-tribunals-make-a-claim
53
+
54
+ Help us keep track. Complete our diversity monitoring questionnaire.
55
+ https://employmenttribunals.service.gov.uk/en/apply/diversity
56
+
57
+ Contact us: http://www.justice.gov.uk/contacts/hmcts/tribunals/employment
58
+ - id: 97a117f1-727d-4631-bbc6-b2bc98d30a0f
59
+ name: et1-confirmation-email-v1-cy
60
+ subject: "Tribiwnlys Cyflogaeth: hawliad wedi’i gyflwyno"
61
+ message: |
62
+ Eich rhif hawliad: ((claim.reference))
63
+
64
+ ((primary_claimant.first_name)) ((primary_claimant.last_name))
65
+ Diolch am gyflwyno eich hawliad i dribiwnlys cyflogaeth.
66
+ ---
67
+
68
+ BETH SY'N DIGWYDD NESAF
69
+
70
+ Byddwn yn cysylltu â chi unwaith y byddwn wedi anfon eich hawliad at yr atebydd i egluro beth fydd yn digwydd nesaf. Ar hyn o bryd, mae’n cymryd oddeutu 25 diwrnod.
71
+ Unwaith y byddwn wedi anfon eich hawliad atynt, mae gan yr atebydd 28 diwrnod i ymateb.
72
+
73
+ ---
74
+
75
+ MANYLION CYFLWYNO
76
+
77
+ Hawliad wedi'i gyflwyno: Cyflwynwyd ar ((submitted_date))
78
+ Swyddfa tribiwnlys: Cymru, Tribiwnlys Cyflogaeth
79
+ Cyswllt: ((office.email)), 0300 303 0654
80
+
81
+ ---
82
+
83
+ Defnyddiwch y ddolen isod i lawrlwytho copi o’ch hawliad.
84
+ ((link_to_pdf))
85
+
86
+ ---
87
+
88
+ Ffeil Gwybodaeth Ychwanegol
89
+
90
+ ((link_to_additional_info))
91
+
92
+ ---
93
+
94
+ Hawliad Grŵp
95
+
96
+ ((link_to_claimants_file))
97
+
98
+ ---
99
+
100
+ Mae eich adborth yn ein helpu i wella'r gwasanaeth hwn:
101
+ https://www.gov.uk/done/employment-tribunals-make-a-claim
102
+
103
+ Helpwch ni i gadw cofnodion cywir . Llenwch ein holiadur monitro amrywiaeth.
104
+ https://employmenttribunals.service.gov.uk/en/apply/diversity
105
+
106
+ Cysylltu â ni: http://www.justice.gov.uk/contacts/hmcts/tribunals/employment
107
+ include_api_keys:
108
+ - service_name: Employment Tribunals
109
+ service_email: employmenttribunals@email.com
110
+ key: fake-key-7fc24bc8-1938-1827-bed3-fb237f9cd5e7-c34b3015-02a1-4e01-b922-1ea21f331d4d
data/foreman/traefik.json CHANGED
@@ -79,6 +79,14 @@
79
79
  "weight": 1
80
80
  }
81
81
  }
82
+ },
83
+ "fake_notify": {
84
+ "servers": {
85
+ "web": {
86
+ "url": "http://localhost:11603",
87
+ "weight": 1
88
+ }
89
+ }
82
90
  }
83
91
 
84
92
 
@@ -203,6 +211,18 @@
203
211
  "rule": "Host:ccd.et.127.0.0.1.nip.io"
204
212
  }
205
213
  }
214
+ },
215
+ "fake_notify": {
216
+ "entryPoints": [
217
+ "http"
218
+ ],
219
+ "backend": "fake_notify",
220
+ "passHostHeader": true,
221
+ "routes": {
222
+ "test_1": {
223
+ "rule": "Host:notify.et.127.0.0.1.nip.io"
224
+ }
225
+ }
206
226
  }
207
227
  }
208
228
  }
@@ -14,7 +14,6 @@ module EtFullSystem
14
14
  method_option :use_selenium, type: :boolean, default: false, aliases: 'use-selenium', desc: 'Only used if with_test is true - says to use selenium in preference to zalenium'
15
15
  method_option :chrome_instances, type: :numeric, default: 1, aliases: 'chrome-instances', desc: 'Specify the number of chrome instances for selenium'
16
16
  method_option :firefox_instances, type: :numeric, default: 1, aliases: 'firefox-instances', desc: 'Specify the number of firefox instances for selenium'
17
- method_option :record_video, type: :boolean, default: false, aliases: 'record-video', desc: 'When using zalenium, enable video recording'
18
17
  method_option :minimal, type: :boolean, default: false, desc: 'Set to true to only start the minimum (db, redis, mail, s3, azure blob, fake_acas, fake_ccd)'
19
18
  def up(*args)
20
19
  unbundled do
@@ -42,9 +41,6 @@ module EtFullSystem
42
41
  else
43
42
  extra_args.concat(['--scale selenium-hub=0', '--scale chrome=0', '--scale firefox=0'])
44
43
  end
45
- unless options.with_test? && !options.use_selenium?
46
- extra_args.concat(['--scale zalenium=0'])
47
- end
48
44
  env_vars << "DB_PORT=#{ENV.fetch('DB_PORT', EtFullSystem.is_port_open?(5432) ? 0 : 5432)}"
49
45
  env_vars << "REDIS_PORT=#{ENV.fetch('REDIS_PORT', EtFullSystem.is_port_open?(6379) ? 0 : 6379)}"
50
46
  gem_root = File.absolute_path('../../../..', __dir__)
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "3.0.6"
2
+ VERSION = "4.0.0-rc2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_full_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 4.0.0.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-31 00:00:00.000000000 Z
11
+ date: 2021-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -100,6 +100,20 @@ dependencies:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
102
  version: '1.0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: gov_fake_notify
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.1'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '1.1'
103
117
  - !ruby/object:Gem::Dependency
104
118
  name: rake
105
119
  requirement: !ruby/object:Gem::Requirement
@@ -149,6 +163,8 @@ files:
149
163
  - foreman/et_api.env
150
164
  - foreman/et_atos.env
151
165
  - foreman/et_ccd_export.env
166
+ - foreman/fake_notify.env
167
+ - foreman/gov_fake_notify.yaml
152
168
  - foreman/mailhog.env
153
169
  - foreman/minio.env
154
170
  - foreman/ports.env
@@ -181,11 +197,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
197
  version: '0'
182
198
  required_rubygems_version: !ruby/object:Gem::Requirement
183
199
  requirements:
184
- - - ">="
200
+ - - ">"
185
201
  - !ruby/object:Gem::Version
186
- version: '0'
202
+ version: 1.3.1
187
203
  requirements: []
188
- rubygems_version: 3.1.4
204
+ rubygems_version: 3.1.6
189
205
  signing_key:
190
206
  specification_version: 4
191
207
  summary: Runs the employment tribunals system - all services and background jobs