Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F906905
job_template.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Aug 30, 11:24 AM
Size
337 B
Mime Type
text/plain
Expires
Mon, Sep 1, 11:24 AM (8 h, 25 m)
Engine
blob
Format
Raw Data
Handle
252766
Attached To
rARCHIVING archiving
job_template.rb
View Options
FactoryGirl
.
define
do
factory
:jobtemplate
,
class
:
JobTemplate
do
host
fileset
sequence
(
:name
)
{
|
n
|
"Job
#{
n
}
"
}
trait
:backup
do
job_type
:backup
schedule
end
trait
:restore
do
job_type
:restore
restore_location
'/tmp'
end
factory
:job_template
,
traits
:
[
:backup
]
end
end
Event Timeline
Log In to Comment