et_full_system 0.1.40 → 0.1.41

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: '08bde4482164de2dd1e60e2ec4b199aa6cba0a4915cdaa4b0d8d187995d30c99'
4
- data.tar.gz: 90a09d9e484a60b2931cd57192293228c761eeefedc777f25389cb0baf338c03
3
+ metadata.gz: 36b49d2dfdf5d389e0ab6382f9d1dc98c4d2e65e5fa0125a517b8909902db8e2
4
+ data.tar.gz: 0d8ffa904de76bc90864ef55460866b0bc564a93762c4068ffbbfcc18db849b8
5
5
  SHA512:
6
- metadata.gz: '092cb07b3fd1e6f086a30a7b675cfe85c8d06748cc4b531274a710aefdc1aa243f4aaf99a3004020f5b568f437f09611998ac64c6922033e1e7c35d5d8b2585f'
7
- data.tar.gz: 46bab84cfa048119c8cd58dad5fee4bd208543adcf23f4191c18e07dd48af99d504b917ed82c07e9288552d9de708723b6d5b523b7bbbbba943862c8427e97f3
6
+ metadata.gz: 5f035f8bab5d1d9320abece1633acfaeb2050d1234eceb0f9f0498781b00bda433ea2d50348ec80b880efc1d8b69fb25609cbeb40f436bae3024dd6964d824ca
7
+ data.tar.gz: bc573df604ff711391df3840db89f8aa2985c8b9fbb9c69911bd434778a963c84ae6680634cc1d7b55dd9e04e780e218f0a7b7bfb273b731d9a20214550376ae
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (0.1.40)
4
+ et_full_system (0.1.41)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
@@ -18,8 +18,8 @@ GEM
18
18
  minitest (~> 5.1)
19
19
  tzinfo (~> 1.1)
20
20
  aws-eventstream (1.0.3)
21
- aws-partitions (1.160.0)
22
- aws-sdk-core (3.50.0)
21
+ aws-partitions (1.161.0)
22
+ aws-sdk-core (3.51.0)
23
23
  aws-eventstream (~> 1.0, >= 1.0.2)
24
24
  aws-partitions (~> 1.0)
25
25
  aws-sigv4 (~> 1.1)
@@ -69,7 +69,7 @@ GEM
69
69
  minitest (5.11.3)
70
70
  multi_json (1.13.1)
71
71
  multi_xml (0.6.0)
72
- multipart-post (2.1.0)
72
+ multipart-post (2.1.1)
73
73
  mustermann (1.0.3)
74
74
  nokogiri (1.10.3)
75
75
  mini_portile2 (~> 2.4.0)
data/README.md CHANGED
@@ -132,7 +132,7 @@ database, then they will both process jobs, meaning you might not see the jobs b
132
132
  Say I am working on a Mac and I wanted to work on some front end stuff in ET1 but wasn't touching any
133
133
  background jobs in sidekiq - I would do this (with et_full_system docker server already running) :-
134
134
 
135
- $ et_full_system docker update_service_url et1 http://docker.host.internal:3000
135
+ $ et_full_system docker update_service_url et1 http://host.docker.internal:3000
136
136
 
137
137
  And then start your local server, not forgetting any important environment variables (hint - to see what the docker version has them
138
138
  set to - do use the service_env command as previously mentioned)
@@ -157,6 +157,9 @@ wouldnt go to plan.
157
157
 
158
158
  The --without flag tells the system to start up, but exclude et1_web and et1_sidekiq
159
159
 
160
+ Then, I do the same command as the previous example to tell it to use my local web server
161
+
162
+ $ et_full_system docker update_service_url et1 http://host.docker.internal:3000
160
163
 
161
164
  ## Usage (Without docker)
162
165
 
data/foreman/Procfile CHANGED
@@ -10,3 +10,4 @@ atos_api_web: bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_f
10
10
  s3_web: bash --login -c "dotenv -f ${FOREMAN_PATH}/minio.env minio server ${MINIO_STORAGE_PATH}"
11
11
  azure_blob_web: bash --login -c "azurite -l ${AZURITE_STORAGE_PATH}"
12
12
  fake_acas_web: 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:${PORT} && rvm use && et_fake_acas_server --port=$PORT --threads=1:5"
13
+ et_ccd_export_sidekiq: bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && cd systems/et_ccd_export && dotenv -f ${FOREMAN_PATH}/.env dotenv -f ${FOREMAN_PATH}/et_ccd_export.env ./run.sh"
@@ -0,0 +1,2 @@
1
+ WEB_CONCURRENCY=1
2
+ REDIS_DATABASE=2
@@ -120,6 +120,7 @@ module EtFullSystem
120
120
  setup_api_service
121
121
  setup_admin_service
122
122
  setup_atos_service
123
+ setup_ccd_service
123
124
  end
124
125
  end
125
126
 
@@ -224,6 +225,13 @@ module EtFullSystem
224
225
  puts cmd
225
226
  external_command cmd, 'atos setup'
226
227
  end
228
+
229
+ def setup_ccd_service
230
+ puts "------------------------------------------------ SETTING UP CCD EXPORT SERVICE ---------------------------------------------------"
231
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et_ccd_export && CLOUD_PROVIDER=#{options[:cloud_provider]} RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_ccd_export.env\" bundle install --with=#{options[:rails_env]}\""
232
+ puts cmd
233
+ external_command cmd, 'ccd setup'
234
+ end
227
235
 
228
236
  def update_rest_backend_url(service, url)
229
237
  connect_retry_countdown = 10
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "0.1.40"
2
+ VERSION = "0.1.41"
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: 0.1.40
4
+ version: 0.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-10 00:00:00.000000000 Z
11
+ date: 2019-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -160,6 +160,7 @@ files:
160
160
  - foreman/et_admin.env
161
161
  - foreman/et_api.env
162
162
  - foreman/et_atos.env
163
+ - foreman/et_ccd_export.env
163
164
  - foreman/mailhog.env
164
165
  - foreman/minio.env
165
166
  - foreman/ports.env
@@ -195,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
196
  - !ruby/object:Gem::Version
196
197
  version: '0'
197
198
  requirements: []
198
- rubygems_version: 3.0.3
199
+ rubygems_version: 3.0.4
199
200
  signing_key:
200
201
  specification_version: 4
201
202
  summary: Runs the employment tribunals system - all services and background jobs