Skip to content

Commit

Permalink
Merge pull request #136 from slovensko-digital/ECO-253/update_upvs_da…
Browse files Browse the repository at this point in the history
…tasets_urls

ECO-253 Update UPVS datasets URLs
  • Loading branch information
luciajanikova authored Mar 11, 2024
2 parents cffc43f + 93c4387 commit ff8ddec
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Upvs::FetchPublicAuthorityActiveEdesksListJob < ApplicationJob
queue_as :upvs

DATASET_URL = 'https://data.slovensko.sk/download?id=fa54d032-c8ec-4c92-8fbe-2b2730a9d202'
DATASET_URL = 'https://data.slovensko.sk/download?id=6881224e-6ec4-4e83-ae73-f1dfa3125d82'

def perform(downloader: HarvesterUtils::Downloader)
csv_file = downloader.download_file(DATASET_URL)
Expand Down
2 changes: 1 addition & 1 deletion app/jobs/upvs/fetch_public_authority_edesks_list_job.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Upvs::FetchPublicAuthorityEdesksListJob < ApplicationJob
queue_as :upvs

DATASET_URL = 'https://data.slovensko.sk/download?id=429304ae-4036-4594-9336-334f679c812d'
DATASET_URL = 'https://data.slovensko.sk/download?id=7dc7f9be-0d6f-4bac-b3fd-5df587da8ac1'

def perform(downloader: HarvesterUtils::Downloader)
csv_file = downloader.download_file(DATASET_URL)
Expand Down
2 changes: 1 addition & 1 deletion app/jobs/upvs/fetch_services_with_forms_list_job.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Upvs::FetchServicesWithFormsListJob < ApplicationJob
queue_as :upvs

DATASET_URL = 'https://data.slovensko.sk/download?id=cca55db1-3bce-4cb9-9aa1-0679bd362205'
DATASET_URL = 'https://data.slovensko.sk/download?id=49212a67-5002-409d-bfad-82a69c8fa153'

def perform(downloader: HarvesterUtils::Downloader)
zip_file = downloader.download_file(DATASET_URL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

RSpec.describe Upvs::FetchPublicAuthorityActiveEdesksListJob, type: :job do
describe '#perform' do
let(:url) { 'https://data.slovensko.sk/download?id=fa54d032-c8ec-4c92-8fbe-2b2730a9d202' }
let(:url) { 'https://data.slovensko.sk/download?id=6881224e-6ec4-4e83-ae73-f1dfa3125d82' }

let(:downloader) { double }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

RSpec.describe Upvs::FetchPublicAuthorityEdesksListJob, type: :job do
describe '#perform' do
let(:url) { 'https://data.slovensko.sk/download?id=429304ae-4036-4594-9336-334f679c812d' }
let(:url) { 'https://data.slovensko.sk/download?id=7dc7f9be-0d6f-4bac-b3fd-5df587da8ac1' }

let(:downloader) { double }

Expand Down
2 changes: 1 addition & 1 deletion spec/jobs/upvs/fetch_services_with_forms_list_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

RSpec.describe Upvs::FetchServicesWithFormsListJob, type: :job do
describe '#perform' do
let(:url) { 'https://data.slovensko.sk/download?id=cca55db1-3bce-4cb9-9aa1-0679bd362205' }
let(:url) { 'https://data.slovensko.sk/download?id=49212a67-5002-409d-bfad-82a69c8fa153' }

let(:downloader) { double }

Expand Down

0 comments on commit ff8ddec

Please sign in to comment.