Skip to content

Commit

Permalink
Update dataset URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
luciajanikova committed Feb 12, 2024
1 parent 9eaeb6b commit bfaa415
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=c67849ad-bd97-4c43-90d4-42f00f450c56'
DATASET_URL = 'https://data.slovensko.sk/download?id=fa54d032-c8ec-4c92-8fbe-2b2730a9d202'

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=ce7c38ed-31e2-423a-b963-6bfda7696666'
DATASET_URL = 'https://data.slovensko.sk/download?id=429304ae-4036-4594-9336-334f679c812d'

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=13b52968-e3d5-4d75-b8f1-fa9f25789033'
DATASET_URL = 'https://data.slovensko.sk/download?id=cca55db1-3bce-4cb9-9aa1-0679bd362205'

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=c67849ad-bd97-4c43-90d4-42f00f450c56' }
let(:url) { 'https://data.slovensko.sk/download?id=fa54d032-c8ec-4c92-8fbe-2b2730a9d202' }

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=ce7c38ed-31e2-423a-b963-6bfda7696666' }
let(:url) { 'https://data.slovensko.sk/download?id=429304ae-4036-4594-9336-334f679c812d' }

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=13b52968-e3d5-4d75-b8f1-fa9f25789033' }
let(:url) { 'https://data.slovensko.sk/download?id=cca55db1-3bce-4cb9-9aa1-0679bd362205' }

let(:downloader) { double }

Expand Down

0 comments on commit bfaa415

Please sign in to comment.