geo_concerns 0.0.10 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -0
  3. data/.travis.yml +8 -4
  4. data/README.md +23 -8
  5. data/app/controllers/concerns/geo_concerns/messenger_behavior.rb +29 -0
  6. data/app/jobs/delivery_job.rb +15 -2
  7. data/app/jobs/geoblacklight_job.rb +10 -0
  8. data/app/models/concerns/geo_concerns/file_set/derivatives.rb +11 -9
  9. data/app/models/concerns/geo_concerns/solr_document_behavior.rb +5 -0
  10. data/app/presenters/geo_concerns/geo_concerns_show_presenter.rb +1 -1
  11. data/app/processors/geo_concerns/processors/base_geo_processor.rb +9 -24
  12. data/app/processors/geo_concerns/processors/image.rb +59 -0
  13. data/app/processors/geo_concerns/processors/ogr.rb +1 -1
  14. data/app/processors/geo_concerns/processors/raster.rb +18 -3
  15. data/app/processors/geo_concerns/processors/raster/base.rb +1 -0
  16. data/app/processors/geo_concerns/processors/rendering.rb +79 -0
  17. data/app/processors/geo_concerns/processors/vector.rb +16 -3
  18. data/app/processors/geo_concerns/processors/vector/base.rb +3 -2
  19. data/app/processors/geo_concerns/processors/vector/info.rb +21 -3
  20. data/app/services/geo_concerns/delivery/geoserver.rb +43 -6
  21. data/app/services/geo_concerns/discovery/abstract_document.rb +2 -1
  22. data/app/services/geo_concerns/discovery/document_builder.rb +2 -3
  23. data/app/services/geo_concerns/discovery/document_builder/basic_metadata_builder.rb +13 -2
  24. data/app/services/geo_concerns/discovery/document_builder/date_builder.rb +2 -0
  25. data/app/services/geo_concerns/discovery/document_builder/document_path.rb +12 -7
  26. data/app/services/geo_concerns/discovery/document_builder/references_builder.rb +20 -1
  27. data/app/services/geo_concerns/discovery/document_builder/spatial_builder.rb +2 -0
  28. data/app/services/geo_concerns/discovery/document_builder/wxs.rb +81 -0
  29. data/app/services/geo_concerns/discovery/geoblacklight_document.rb +9 -3
  30. data/app/services/geo_concerns/events_generator.rb +25 -0
  31. data/app/services/geo_concerns/events_generator/base_events_generator.rb +22 -0
  32. data/app/services/geo_concerns/events_generator/composite_generator.rb +18 -0
  33. data/app/services/geo_concerns/events_generator/geoblacklight_event_generator.rb +44 -0
  34. data/app/services/geo_concerns/events_generator/geoserver_event_generator.rb +30 -0
  35. data/app/services/geo_concerns/local_messaging_client.rb +18 -0
  36. data/app/services/geo_concerns/rabbit_messaging_client.rb +38 -0
  37. data/app/values/geo_concerns/time_period.rb +4 -5
  38. data/app/views/geo_concerns/_attribute_rows.html.erb +1 -0
  39. data/app/views/geo_concerns/_form_additional_information.html.erb +1 -0
  40. data/app/views/geo_concerns/file_sets/actions/_default_actions.html.erb +1 -1
  41. data/app/views/geo_concerns/file_sets/actions/_image_actions.html.erb +1 -1
  42. data/app/views/geo_concerns/file_sets/actions/_metadata_actions.html.erb +1 -1
  43. data/app/views/geo_concerns/file_sets/actions/_raster_actions.html.erb +2 -2
  44. data/app/views/geo_concerns/file_sets/actions/_vector_actions.html.erb +2 -2
  45. data/app/views/geo_concerns/file_sets/media_display/_geo.html.erb +2 -1
  46. data/docker-compose-full.yml +30 -0
  47. data/docker-compose.yml +4 -5
  48. data/geo_concerns.gemspec +5 -4
  49. data/lib/generators/geo_concerns/install_generator.rb +19 -25
  50. data/lib/generators/geo_concerns/templates/config/geoblacklight.yml +12 -0
  51. data/lib/generators/geo_concerns/templates/config/geoserver.yml +2 -0
  52. data/lib/generators/geo_concerns/templates/config/initializers/geoblacklight_config.rb +13 -0
  53. data/lib/generators/geo_concerns/templates/config/initializers/messaging_config.rb +34 -0
  54. data/lib/generators/geo_concerns/templates/config/initializers/simpler_tiles.rb +65 -0
  55. data/lib/generators/geo_concerns/templates/config/messaging.yml +15 -0
  56. data/lib/generators/geo_concerns/templates/config/simpler_tiles.yml +24 -0
  57. data/lib/generators/geo_concerns/templates/controllers/curation_concerns/file_sets_controller.rb +1 -0
  58. data/lib/generators/geo_concerns/templates/controllers/curation_concerns/image_works_controller.rb +1 -0
  59. data/lib/generators/geo_concerns/templates/controllers/curation_concerns/raster_works_controller.rb +1 -0
  60. data/lib/generators/geo_concerns/templates/controllers/curation_concerns/vector_works_controller.rb +1 -0
  61. data/lib/geo_concerns/version.rb +1 -1
  62. data/run-docker.sh +11 -1
  63. data/spec/controllers/file_sets_controller_spec.rb +50 -0
  64. data/spec/jobs/delivery_job_spec.rb +30 -7
  65. data/spec/models/concerns/geo_concerns/file_set/derivatives_spec.rb +9 -3
  66. data/spec/models/solr_document_spec.rb +6 -0
  67. data/spec/processors/geo_concerns/processors/base_geo_processor_spec.rb +15 -22
  68. data/spec/processors/geo_concerns/processors/image_spec.rb +71 -0
  69. data/spec/processors/geo_concerns/processors/rendering_spec.rb +64 -0
  70. data/spec/processors/geo_concerns/processors/vector/base_spec.rb +1 -1
  71. data/spec/processors/geo_concerns/processors/vector/info_spec.rb +10 -1
  72. data/spec/services/geo_concerns/delivery/geoserver_spec.rb +30 -6
  73. data/spec/services/{derivative_path_spec.rb → geo_concerns/derivative_path_spec.rb} +0 -0
  74. data/spec/services/geo_concerns/discovery/document_builder/wxs_spec.rb +69 -0
  75. data/spec/services/geo_concerns/discovery/document_builder_spec.rb +48 -32
  76. data/spec/services/geo_concerns/discovery/geoblacklight_document_spec.rb +1 -0
  77. data/spec/services/geo_concerns/events_generator/geoblacklight_event_generator_spec.rb +87 -0
  78. data/spec/services/geo_concerns/events_generator/geoserver_event_generator_spec.rb +40 -0
  79. data/spec/services/geo_concerns/local_messaging_client_spec.rb +35 -0
  80. data/spec/services/geo_concerns/rabbit_messaging_client_spec.rb +35 -0
  81. data/spec/services/{raster_format_service_spec.rb → geo_concerns/raster_format_service_spec.rb} +0 -0
  82. data/template.rb +1 -1
  83. metadata +85 -31
  84. data/app/processors/geo_concerns/processors/mapnik.rb +0 -35
  85. data/app/processors/geo_concerns/processors/raster/processor.rb +0 -26
  86. data/app/processors/geo_concerns/processors/vector/processor.rb +0 -24
  87. data/lib/generators/geo_concerns/templates/config/locales/geo_concerns.en.yml +0 -4
  88. data/lib/generators/geo_concerns/templates/config/mapnik.yml +0 -24
  89. data/spec/processors/geo_concerns/processors/mapnik_spec.rb +0 -70
@@ -5,6 +5,7 @@ describe GeoConcerns::Discovery::GeoblacklightDocument do
5
5
 
6
6
  describe '#to_hash' do
7
7
  before do
8
+ allow(subject).to receive(:rights).and_return('Public')
8
9
  allow(subject).to receive(:document_hash).and_return(document_hash)
9
10
  end
10
11
  context 'incomplete data' do
@@ -0,0 +1,87 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe GeoConcerns::EventsGenerator::GeoblacklightEventGenerator do
4
+ subject { described_class.new(rabbit_connection) }
5
+ let(:rabbit_connection) { instance_double(GeoConcerns::RabbitMessagingClient, publish: true) }
6
+ let(:geo_concern) { FactoryGirl.build(:public_vector_work, attributes) }
7
+ let(:record) { GeoConcerns::VectorWorkShowPresenter.new(SolrDocument.new(geo_concern.to_solr), nil) }
8
+ let(:visibility) { Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC }
9
+ let(:coverage) { GeoConcerns::Coverage.new(43, -69, 42, -71) }
10
+ let(:attributes) { { id: 'geo-work-1',
11
+ title: ['Geo Work'],
12
+ coverage: coverage.to_s,
13
+ description: ['geo work'],
14
+ temporal: ['2011'] }
15
+ }
16
+ let(:refs) { { "http://schema.org/url" => "http://localhost:3000/concern/vector_works/geo-work-1" } }
17
+ let(:layer_modified) do
18
+ datetime = record.solr_document[:system_modified_dtsi]
19
+ datetime = DateTime.parse(datetime.to_s).utc
20
+ Rails::VERSION::MAJOR == 4 ? datetime.utc.xmlschema : datetime.utc.strftime('%FT%TZ')
21
+ end
22
+ let(:discovery_doc) { { "geoblacklight_version" => "1.0",
23
+ "dc_identifier_s" => "geo-work-1",
24
+ "layer_slug_s" => "your-institution-geo-work-1",
25
+ "uuid" => "your-institution-geo-work-1",
26
+ "dc_title_s" => record.title.first,
27
+ "solr_geom" => "ENVELOPE(-71.0, -69.0, 43.0, 42.0)",
28
+ "dct_provenance_s" => "Your Institution",
29
+ "dc_rights_s" => "Public",
30
+ "dc_description_s" => "geo work",
31
+ "dct_temporal_sm" => ["2011"],
32
+ "solr_year_i" => 2011,
33
+ "layer_modified_dt" => layer_modified,
34
+ "dct_references_s" => refs.to_json,
35
+ "layer_geom_type_s" => "Mixed" }
36
+ }
37
+
38
+ before do
39
+ allow(record.solr_document).to receive(:visibility).and_return(visibility)
40
+ allow(record.request).to receive_messages(host_with_port: 'localhost:3000', protocol: 'http://')
41
+ end
42
+
43
+ describe "#record_created" do
44
+ it "publishes a persistent JSON message" do
45
+ geo_concern.save
46
+ expected_result = {
47
+ "id" => record.id,
48
+ "event" => "CREATED",
49
+ "exchange" => "geoblacklight",
50
+ "doc" => discovery_doc
51
+ }
52
+ subject.record_created(record)
53
+ expect(rabbit_connection).to have_received(:publish).with(expected_result.to_json)
54
+ end
55
+ end
56
+
57
+ describe "#record_deleted" do
58
+ it "publishes a persistent JSON message" do
59
+ geo_concern.save
60
+ geo_concern.destroy
61
+ expected_result = {
62
+ "id" => "your-institution-geo-work-1",
63
+ "event" => "DELETED",
64
+ "exchange" => "geoblacklight"
65
+ }
66
+
67
+ subject.record_deleted(record)
68
+ expect(rabbit_connection).to have_received(:publish).with(expected_result.to_json)
69
+ end
70
+ end
71
+
72
+ describe "#record_updated" do
73
+ let(:title) { ['New Geo Work'] }
74
+ it "publishes a persistent JSON message with new title" do
75
+ geo_concern.title = ["New Geo Work"]
76
+ geo_concern.save!
77
+ expected_result = {
78
+ "id" => record.id,
79
+ "event" => "UPDATED",
80
+ "exchange" => "geoblacklight",
81
+ "doc" => discovery_doc
82
+ }
83
+ subject.record_updated(record)
84
+ expect(rabbit_connection).to have_received(:publish).with(expected_result.to_json)
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,40 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe GeoConcerns::EventsGenerator::GeoserverEventGenerator do
4
+ subject { described_class.new(rabbit_connection) }
5
+ let(:rabbit_connection) { instance_double(GeoConcerns::RabbitMessagingClient, publish: true) }
6
+ let(:file_set) { FactoryGirl.build(:vector_file) }
7
+ let(:visibility) { Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC }
8
+ let(:attributes) { { id: 'geo-work-1',
9
+ title: ['Geo Work'],
10
+ description: ['geo work'],
11
+ temporal: ['2011'] }
12
+ }
13
+
14
+ describe "#derivatives_created" do
15
+ it "publishes a persistent JSON message" do
16
+ file_set.save
17
+ expected_result = {
18
+ "id" => file_set.id,
19
+ "event" => "CREATED",
20
+ "exchange" => "geoserver"
21
+ }
22
+ subject.derivatives_created(file_set)
23
+ expect(rabbit_connection).to have_received(:publish).with(expected_result.to_json)
24
+ end
25
+ end
26
+
27
+ describe "#record_updated" do
28
+ it "publishes a persistent JSON message with new title" do
29
+ file_set.title = ["New Geo Work"]
30
+ file_set.save!
31
+ expected_result = {
32
+ "id" => file_set.id,
33
+ "event" => "UPDATED",
34
+ "exchange" => "geoserver"
35
+ }
36
+ subject.record_updated(file_set)
37
+ expect(rabbit_connection).to have_received(:publish).with(expected_result.to_json)
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,35 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe GeoConcerns::LocalMessagingClient do
4
+ subject { described_class.new }
5
+ let(:config) { { 'events' => { 'exchange' => { 'geoblacklight' => 'gbl_events', 'geoserver' => 'geoserver_events' } } } }
6
+ let(:exchange) { 'geoblacklight' }
7
+ let(:message) { { exchange: exchange }.to_json }
8
+
9
+ describe "#publish" do
10
+ context 'with a geoblacklight exchange type' do
11
+ it 'calls the geoblacklight method' do
12
+ expect(GeoblacklightJob).to receive(:perform_later)
13
+ subject.publish(message)
14
+ end
15
+ end
16
+
17
+ context 'with a geoserver exchange type' do
18
+ let(:exchange) { 'geoserver' }
19
+
20
+ it 'calls the geoserver method' do
21
+ expect(DeliveryJob).to receive(:perform_later)
22
+ subject.publish(message)
23
+ end
24
+ end
25
+
26
+ context 'with an unknown exchange type' do
27
+ let(:exchange) { 'someexchange' }
28
+
29
+ it 'logs an error' do
30
+ expect(Rails.logger).to receive(:warn).with(/Unable to publish message/)
31
+ subject.publish(message)
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe GeoConcerns::RabbitMessagingClient do
4
+ subject { described_class.new(url) }
5
+ let(:url) { "amqp://test.x.z.s:4000" }
6
+ let(:config) { { 'events' => { 'exchange' => { 'geoblacklight' => 'gbl_events', 'geoserver' => 'geoserver_events' } } } }
7
+ let(:exchange) { 'geoblacklight' }
8
+ let(:message) { { exchange: exchange }.to_json }
9
+ let(:channel) { instance_double(Bunny::Channel) }
10
+ let(:bunny_session) { instance_double(Bunny::Session, create_channel: channel) }
11
+
12
+ before do
13
+ allow(Messaging).to receive(:config).and_return(config)
14
+ allow(Bunny).to receive(:new).and_return(bunny_session)
15
+ allow(bunny_session).to receive(:start)
16
+ end
17
+
18
+ describe "#publish" do
19
+ context 'with a geoblacklight exchange type' do
20
+ it 'calls the geoblacklight method' do
21
+ expect(channel).to receive(:fanout).with('gbl_events', durable: true)
22
+ subject.publish(message)
23
+ end
24
+ end
25
+
26
+ context 'with a geoserver exchange type' do
27
+ let(:exchange) { 'geoserver' }
28
+
29
+ it 'calls the geoserver method' do
30
+ expect(channel).to receive(:fanout).with('geoserver_events', durable: true)
31
+ subject.publish(message)
32
+ end
33
+ end
34
+ end
35
+ end
data/template.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  gem 'curation_concerns', '1.6.0'
2
- gem 'geo_concerns', '0.0.10'
2
+ gem 'geo_concerns', '0.1.0'
3
3
 
4
4
  run 'bundle install'
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_concerns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Griffin
@@ -12,22 +12,22 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-09-16 00:00:00.000000000 Z
15
+ date: 2016-11-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: curation_concerns
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - '='
21
+ - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.6.0
23
+ version: '1.6'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - '='
28
+ - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: 1.6.0
30
+ version: '1.6'
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: leaflet-rails
33
33
  requirement: !ruby/object:Gem::Requirement
@@ -43,47 +43,75 @@ dependencies:
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0.7'
45
45
  - !ruby/object:Gem::Dependency
46
- name: simple_mapnik
46
+ name: json-schema
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - '='
49
+ - - ">="
50
50
  - !ruby/object:Gem::Version
51
- version: 0.1.2
51
+ version: 2.6.2
52
52
  type: :runtime
53
53
  prerelease: false
54
54
  version_requirements: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - '='
56
+ - - ">="
57
57
  - !ruby/object:Gem::Version
58
- version: 0.1.2
58
+ version: 2.6.2
59
59
  - !ruby/object:Gem::Dependency
60
- name: json-schema
60
+ name: rgeoserver
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 2.6.2
65
+ version: 0.10.0
66
66
  type: :runtime
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 2.6.2
72
+ version: 0.10.0
73
73
  - !ruby/object:Gem::Dependency
74
- name: rgeoserver
74
+ name: simpler-tiles
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 0.10.0
79
+ version: '0'
80
80
  type: :runtime
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 0.10.0
86
+ version: '0'
87
+ - !ruby/object:Gem::Dependency
88
+ name: bunny
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ type: :runtime
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ - !ruby/object:Gem::Dependency
102
+ name: geoblacklight_messaging
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ type: :runtime
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
87
115
  - !ruby/object:Gem::Dependency
88
116
  name: bundler
89
117
  requirement: !ruby/object:Gem::Requirement
@@ -155,7 +183,7 @@ dependencies:
155
183
  version: '1.0'
156
184
  - - ">="
157
185
  - !ruby/object:Gem::Version
158
- version: 1.0.0
186
+ version: 1.0.1
159
187
  type: :development
160
188
  prerelease: false
161
189
  version_requirements: !ruby/object:Gem::Requirement
@@ -165,7 +193,7 @@ dependencies:
165
193
  version: '1.0'
166
194
  - - ">="
167
195
  - !ruby/object:Gem::Version
168
- version: 1.0.0
196
+ version: 1.0.1
169
197
  - !ruby/object:Gem::Dependency
170
198
  name: solr_wrapper
171
199
  requirement: !ruby/object:Gem::Requirement
@@ -339,6 +367,7 @@ files:
339
367
  - app/controllers/concerns/geo_concerns/file_sets_controller_behavior.rb
340
368
  - app/controllers/concerns/geo_concerns/geoblacklight_controller_behavior.rb
341
369
  - app/controllers/concerns/geo_concerns/image_works_controller_behavior.rb
370
+ - app/controllers/concerns/geo_concerns/messenger_behavior.rb
342
371
  - app/controllers/concerns/geo_concerns/raster_works_controller_behavior.rb
343
372
  - app/controllers/concerns/geo_concerns/vector_works_controller_behavior.rb
344
373
  - app/forms/geo_concerns/basic_geo_metadata_form.rb
@@ -353,6 +382,7 @@ files:
353
382
  - app/helpers/geo_concerns/geo_works_helper.rb
354
383
  - app/helpers/geo_concerns/populate_metadata_helper.rb
355
384
  - app/jobs/delivery_job.rb
385
+ - app/jobs/geoblacklight_job.rb
356
386
  - app/models/concerns/geo_concerns/ability.rb
357
387
  - app/models/concerns/geo_concerns/basic_geo_metadata.rb
358
388
  - app/models/concerns/geo_concerns/external_metadata_file_behavior.rb
@@ -380,18 +410,17 @@ files:
380
410
  - app/presenters/geo_concerns/vector_work_show_presenter.rb
381
411
  - app/processors/geo_concerns/processors/base_geo_processor.rb
382
412
  - app/processors/geo_concerns/processors/gdal.rb
383
- - app/processors/geo_concerns/processors/mapnik.rb
413
+ - app/processors/geo_concerns/processors/image.rb
384
414
  - app/processors/geo_concerns/processors/ogr.rb
385
415
  - app/processors/geo_concerns/processors/raster.rb
386
416
  - app/processors/geo_concerns/processors/raster/aig.rb
387
417
  - app/processors/geo_concerns/processors/raster/base.rb
388
418
  - app/processors/geo_concerns/processors/raster/dem.rb
389
419
  - app/processors/geo_concerns/processors/raster/info.rb
390
- - app/processors/geo_concerns/processors/raster/processor.rb
420
+ - app/processors/geo_concerns/processors/rendering.rb
391
421
  - app/processors/geo_concerns/processors/vector.rb
392
422
  - app/processors/geo_concerns/processors/vector/base.rb
393
423
  - app/processors/geo_concerns/processors/vector/info.rb
394
- - app/processors/geo_concerns/processors/vector/processor.rb
395
424
  - app/processors/geo_concerns/processors/vector/shapefile.rb
396
425
  - app/processors/geo_concerns/processors/zip.rb
397
426
  - app/renderers/geo_concerns/coverage_renderer.rb
@@ -415,9 +444,17 @@ files:
415
444
  - app/services/geo_concerns/discovery/document_builder/layer_info_builder.rb
416
445
  - app/services/geo_concerns/discovery/document_builder/references_builder.rb
417
446
  - app/services/geo_concerns/discovery/document_builder/spatial_builder.rb
447
+ - app/services/geo_concerns/discovery/document_builder/wxs.rb
418
448
  - app/services/geo_concerns/discovery/geoblacklight_document.rb
449
+ - app/services/geo_concerns/events_generator.rb
450
+ - app/services/geo_concerns/events_generator/base_events_generator.rb
451
+ - app/services/geo_concerns/events_generator/composite_generator.rb
452
+ - app/services/geo_concerns/events_generator/geoblacklight_event_generator.rb
453
+ - app/services/geo_concerns/events_generator/geoserver_event_generator.rb
419
454
  - app/services/geo_concerns/image_format_service.rb
455
+ - app/services/geo_concerns/local_messaging_client.rb
420
456
  - app/services/geo_concerns/metadata_format_service.rb
457
+ - app/services/geo_concerns/rabbit_messaging_client.rb
421
458
  - app/services/geo_concerns/raster_format_service.rb
422
459
  - app/services/geo_concerns/vector_format_service.rb
423
460
  - app/values/geo_concerns/coverage.rb
@@ -470,6 +507,7 @@ files:
470
507
  - config/fcrepo_wrapper_test.yml
471
508
  - config/routes.rb
472
509
  - config/solr_wrapper_test.yml
510
+ - docker-compose-full.yml
473
511
  - docker-compose.yml
474
512
  - geo_concerns.gemspec
475
513
  - lib/generators/geo_concerns/install_generator.rb
@@ -480,9 +518,13 @@ files:
480
518
  - lib/generators/geo_concerns/templates/config/authorities/metadata_formats.yml
481
519
  - lib/generators/geo_concerns/templates/config/authorities/raster_formats.yml
482
520
  - lib/generators/geo_concerns/templates/config/authorities/vector_formats.yml
521
+ - lib/generators/geo_concerns/templates/config/geoblacklight.yml
483
522
  - lib/generators/geo_concerns/templates/config/geoserver.yml
484
- - lib/generators/geo_concerns/templates/config/locales/geo_concerns.en.yml
485
- - lib/generators/geo_concerns/templates/config/mapnik.yml
523
+ - lib/generators/geo_concerns/templates/config/initializers/geoblacklight_config.rb
524
+ - lib/generators/geo_concerns/templates/config/initializers/messaging_config.rb
525
+ - lib/generators/geo_concerns/templates/config/initializers/simpler_tiles.rb
526
+ - lib/generators/geo_concerns/templates/config/messaging.yml
527
+ - lib/generators/geo_concerns/templates/config/simpler_tiles.yml
486
528
  - lib/generators/geo_concerns/templates/controllers/curation_concerns/file_sets_controller.rb
487
529
  - lib/generators/geo_concerns/templates/controllers/curation_concerns/image_works_controller.rb
488
530
  - lib/generators/geo_concerns/templates/controllers/curation_concerns/raster_works_controller.rb
@@ -565,26 +607,32 @@ files:
565
607
  - spec/presenters/vector_work_show_presenter_spec.rb
566
608
  - spec/processors/geo_concerns/processors/base_geo_processor_spec.rb
567
609
  - spec/processors/geo_concerns/processors/gdal_spec.rb
568
- - spec/processors/geo_concerns/processors/mapnik_spec.rb
610
+ - spec/processors/geo_concerns/processors/image_spec.rb
569
611
  - spec/processors/geo_concerns/processors/ogr_spec.rb
570
612
  - spec/processors/geo_concerns/processors/raster/aig_spec.rb
571
613
  - spec/processors/geo_concerns/processors/raster/base_spec.rb
572
614
  - spec/processors/geo_concerns/processors/raster/dem_spec.rb
573
615
  - spec/processors/geo_concerns/processors/raster/info_spec.rb
574
616
  - spec/processors/geo_concerns/processors/raster/processor_spec.rb
617
+ - spec/processors/geo_concerns/processors/rendering_spec.rb
575
618
  - spec/processors/geo_concerns/processors/vector/base_spec.rb
576
619
  - spec/processors/geo_concerns/processors/vector/info_spec.rb
577
620
  - spec/processors/geo_concerns/processors/vector/processor_spec.rb
578
621
  - spec/processors/geo_concerns/processors/vector/shapefile_spec.rb
579
622
  - spec/processors/geo_concerns/processors/zip_spec.rb
580
623
  - spec/renderers/geo_concerns/coverage_renderer_spec.rb
581
- - spec/services/derivative_path_spec.rb
582
624
  - spec/services/geo_concerns/delivery/geoserver_spec.rb
583
625
  - spec/services/geo_concerns/delivery_service_spec.rb
626
+ - spec/services/geo_concerns/derivative_path_spec.rb
584
627
  - spec/services/geo_concerns/discovery/abstract_document_spec.rb
628
+ - spec/services/geo_concerns/discovery/document_builder/wxs_spec.rb
585
629
  - spec/services/geo_concerns/discovery/document_builder_spec.rb
586
630
  - spec/services/geo_concerns/discovery/geoblacklight_document_spec.rb
587
- - spec/services/raster_format_service_spec.rb
631
+ - spec/services/geo_concerns/events_generator/geoblacklight_event_generator_spec.rb
632
+ - spec/services/geo_concerns/events_generator/geoserver_event_generator_spec.rb
633
+ - spec/services/geo_concerns/local_messaging_client_spec.rb
634
+ - spec/services/geo_concerns/rabbit_messaging_client_spec.rb
635
+ - spec/services/geo_concerns/raster_format_service_spec.rb
588
636
  - spec/spec_helper.rb
589
637
  - spec/support/backport_test.rb
590
638
  - spec/support/controllers/engine_helpers.rb
@@ -619,7 +667,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
619
667
  version: '0'
620
668
  requirements: []
621
669
  rubyforge_project:
622
- rubygems_version: 2.6.6
670
+ rubygems_version: 2.6.7
623
671
  signing_key:
624
672
  specification_version: 4
625
673
  summary: Rails engine for Hydra Geo models. Built around Curation Concerns engine.
@@ -670,26 +718,32 @@ test_files:
670
718
  - spec/presenters/vector_work_show_presenter_spec.rb
671
719
  - spec/processors/geo_concerns/processors/base_geo_processor_spec.rb
672
720
  - spec/processors/geo_concerns/processors/gdal_spec.rb
673
- - spec/processors/geo_concerns/processors/mapnik_spec.rb
721
+ - spec/processors/geo_concerns/processors/image_spec.rb
674
722
  - spec/processors/geo_concerns/processors/ogr_spec.rb
675
723
  - spec/processors/geo_concerns/processors/raster/aig_spec.rb
676
724
  - spec/processors/geo_concerns/processors/raster/base_spec.rb
677
725
  - spec/processors/geo_concerns/processors/raster/dem_spec.rb
678
726
  - spec/processors/geo_concerns/processors/raster/info_spec.rb
679
727
  - spec/processors/geo_concerns/processors/raster/processor_spec.rb
728
+ - spec/processors/geo_concerns/processors/rendering_spec.rb
680
729
  - spec/processors/geo_concerns/processors/vector/base_spec.rb
681
730
  - spec/processors/geo_concerns/processors/vector/info_spec.rb
682
731
  - spec/processors/geo_concerns/processors/vector/processor_spec.rb
683
732
  - spec/processors/geo_concerns/processors/vector/shapefile_spec.rb
684
733
  - spec/processors/geo_concerns/processors/zip_spec.rb
685
734
  - spec/renderers/geo_concerns/coverage_renderer_spec.rb
686
- - spec/services/derivative_path_spec.rb
687
735
  - spec/services/geo_concerns/delivery/geoserver_spec.rb
688
736
  - spec/services/geo_concerns/delivery_service_spec.rb
737
+ - spec/services/geo_concerns/derivative_path_spec.rb
689
738
  - spec/services/geo_concerns/discovery/abstract_document_spec.rb
739
+ - spec/services/geo_concerns/discovery/document_builder/wxs_spec.rb
690
740
  - spec/services/geo_concerns/discovery/document_builder_spec.rb
691
741
  - spec/services/geo_concerns/discovery/geoblacklight_document_spec.rb
692
- - spec/services/raster_format_service_spec.rb
742
+ - spec/services/geo_concerns/events_generator/geoblacklight_event_generator_spec.rb
743
+ - spec/services/geo_concerns/events_generator/geoserver_event_generator_spec.rb
744
+ - spec/services/geo_concerns/local_messaging_client_spec.rb
745
+ - spec/services/geo_concerns/rabbit_messaging_client_spec.rb
746
+ - spec/services/geo_concerns/raster_format_service_spec.rb
693
747
  - spec/spec_helper.rb
694
748
  - spec/support/backport_test.rb
695
749
  - spec/support/controllers/engine_helpers.rb