mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
#104941754 updator_str import fix
This commit is contained in:
parent
ffdd533e2a
commit
e489bd60e1
1 changed files with 6 additions and 6 deletions
|
@ -191,7 +191,7 @@ namespace :import do
|
||||||
x.organization.try(:strip),
|
x.organization.try(:strip),
|
||||||
x.object_registry.try(:registrar).try(:id),
|
x.object_registry.try(:registrar).try(:id),
|
||||||
user,
|
user,
|
||||||
user,
|
x.object.try(:upid) ? x.object.try(:upid) : x.object_registry.try(:crid),
|
||||||
x.country.try(:strip),
|
x.country.try(:strip),
|
||||||
x.id,
|
x.id,
|
||||||
[x.street1.try(:strip), x.street2.try(:strip), x.street3.try(:strip)].join("\n"),
|
[x.street1.try(:strip), x.street2.try(:strip), x.street3.try(:strip)].join("\n"),
|
||||||
|
@ -320,7 +320,7 @@ namespace :import do
|
||||||
1,
|
1,
|
||||||
'y',
|
'y',
|
||||||
user,
|
user,
|
||||||
user,
|
x.object.try(:upid) ? x.object.try(:upid) : x.object_registry.try(:crid),
|
||||||
x.id,
|
x.id,
|
||||||
x.object_registry.try(:crid),
|
x.object_registry.try(:crid),
|
||||||
x.registrant,
|
x.registrant,
|
||||||
|
@ -332,7 +332,7 @@ namespace :import do
|
||||||
domain_contacts << [
|
domain_contacts << [
|
||||||
'AdminDomainContact',
|
'AdminDomainContact',
|
||||||
user,
|
user,
|
||||||
user,
|
x.object.try(:upid) ? x.object.try(:upid) : x.object_registry.try(:crid),
|
||||||
x.id,
|
x.id,
|
||||||
dc.contactid
|
dc.contactid
|
||||||
]
|
]
|
||||||
|
@ -343,7 +343,7 @@ namespace :import do
|
||||||
domain_contacts << [
|
domain_contacts << [
|
||||||
'TechDomainContact',
|
'TechDomainContact',
|
||||||
user,
|
user,
|
||||||
user,
|
x.object.try(:upid) ? x.object.try(:upid) : x.object_registry.try(:crid),
|
||||||
x.id,
|
x.id,
|
||||||
dc.contactid
|
dc.contactid
|
||||||
]
|
]
|
||||||
|
@ -364,7 +364,7 @@ namespace :import do
|
||||||
ips[:ipv4].try(:strip),
|
ips[:ipv4].try(:strip),
|
||||||
ips[:ipv6].try(:strip),
|
ips[:ipv6].try(:strip),
|
||||||
user,
|
user,
|
||||||
user,
|
x.object.try(:upid) ? x.object.try(:upid) : x.object_registry.try(:crid),
|
||||||
x.id
|
x.id
|
||||||
]
|
]
|
||||||
end if x.nsset && x.nsset.hosts
|
end if x.nsset && x.nsset.hosts
|
||||||
|
@ -378,7 +378,7 @@ namespace :import do
|
||||||
3, # ds_alg
|
3, # ds_alg
|
||||||
1, # ds_digest_type /SHA1)
|
1, # ds_digest_type /SHA1)
|
||||||
user,
|
user,
|
||||||
user,
|
x.object.try(:upid) ? x.object.try(:upid) : x.object_registry.try(:crid),
|
||||||
x.id
|
x.id
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue