|
|
|
@ -7,7 +7,7 @@ namespace :core do |
|
|
|
|
|
|
|
|
|
|
|
# We only allow a reduced list of known fields to be updatable |
|
|
|
# We only allow a reduced list of known fields to be updatable |
|
|
|
case field |
|
|
|
case field |
|
|
|
when "tenancycode", "major_repairs", "lettings_allocation", "offered", "address", "reason", "person_details" |
|
|
|
when "tenancycode", "major_repairs", "lettings_allocation", "offered", "address", "reason", "homeless", "created_by", "sex_and_relat", "general_needs_referral", "person_details" |
|
|
|
s3_service = Storage::S3Service.new(PlatformHelper.is_paas? ? Configuration::PaasConfigurationService.new : Configuration::EnvConfigurationService.new, ENV["IMPORT_PAAS_INSTANCE"]) |
|
|
|
s3_service = Storage::S3Service.new(PlatformHelper.is_paas? ? Configuration::PaasConfigurationService.new : Configuration::EnvConfigurationService.new, ENV["IMPORT_PAAS_INSTANCE"]) |
|
|
|
archive_io = s3_service.get_file_io(path) |
|
|
|
archive_io = s3_service.get_file_io(path) |
|
|
|
archive_service = Storage::ArchiveService.new(archive_io) |
|
|
|
archive_service = Storage::ArchiveService.new(archive_io) |
|
|
|
|