This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auth": { | |
"enabled": true, | |
"timeout": 60 | |
}, | |
"autoUpdate": { | |
"enabled": false, | |
"url": "https://s3-us-west-2.amazonaws.com/vneck-windows-releases" | |
}, | |
"adminAPI": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View> | |
{loading ? ( | |
<LoadingView /> | |
) : ( | |
completed && <ResultsView /> | |
inProgress && <QuestionView /> | |
)} | |
</View> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Before Refresh | |
#<TransformationMappingItem:0x00007fb8f5a4caf8 | |
id: 13, | |
source_id: 1, | |
source_type: "Storage", | |
destination_id: 13, | |
destination_type: "Storage", | |
transformation_mapping_id: 2, | |
options: {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):005:0> pp Lan.all | |
Lan Load (0.5ms) SELECT "lans".* FROM "lans" | |
Lan Inst Including Associations (0.4ms - 26rows) | |
[#<Lan:0x00007fb00b2465e0 | |
id: 1, | |
switch_id: 1, | |
name: "VM Network", | |
tag: "0", | |
created_on: Tue, 22 Jan 2019 09:33:15 UTC +00:00, | |
updated_on: Tue, 22 Jan 2019 09:33:15 UTC +00:00, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):003:0> pp Lan.all | |
Lan Load (0.5ms) SELECT "lans".* FROM "lans" | |
Lan Inst Including Associations (0.4ms - 16rows) | |
[#<Lan:0x00007fb01b2e4410 | |
id: 1, | |
switch_id: 1, | |
name: "VM Network", | |
tag: "0", | |
created_on: Tue, 22 Jan 2019 09:33:15 UTC +00:00, | |
updated_on: Tue, 22 Jan 2019 09:33:15 UTC +00:00, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
current_state: '/State3', | |
current_description: '<PRE_MIGRATION_PLAYBOOK_DESCRIPTION>', | |
percent: null, | |
states: { | |
'/State1': { | |
status: 'finished', | |
weight: 1, | |
description: 'Assess Migration', | |
message: 'State1 is finished.', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Plan Name", | |
"prov_type": "generic_transformation_plan", | |
"config_info": { | |
"transformation_mapping_id": "4", | |
"pre_service_id": "1", | |
"post_service_id": "2", | |
"tasks": [ | |
{ "vm_id": 1, "pre_service": true, "post_service": false }, | |
{ "vm_id": 2, "pre_service": true, "post_service": true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Mapping Name", | |
"state": "draft", | |
"transformation_mapping_items": [ | |
{ "source": "/api/clusters/3", "destination": "/api/clusters/1" }, | |
{ "source": "/api/data_stores/10", "destination": "/api/data_stores/1" }, | |
{ "source": "/api/lans/29", "destination": "/api/lans/19" }, | |
{ "source": "/api/lans/42", "destination": "/api/lans/19" } | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "service_templates", | |
"count": 18, | |
"subcount": 1, | |
"subquery_count": 1, | |
"pages": 1, | |
"resources": [ | |
{ | |
"href": "http://localhost:3000/api/service_templates/44", | |
"name": "Pending Plan Test", |
NewerOlder