-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to configure machines inside stack definition [CHE-2515] #2734
Conversation
Build # 660 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/660/ to view the results. |
@slemeur - are we calling them "environments" or should that label be changed to "Runtimes"? |
Build # 662 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/662/ to view the results. |
|
||
/** | ||
* @ngdoc controller | ||
* @name list.environment.variables.controller:EditCommandDialogController |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workspace.details.controller instead list.environment.variables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
list.commands.controller instead list.environment.variables.controller ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
/** | ||
* @ngdoc controller | ||
* @name list.environment.variables.controller:AddCommandDialogController |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workspace.details.controller list.environment.variables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
}); | ||
} | ||
|
||
changePortSelection(name): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changePortSelection -> changeCommandSelection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
/** | ||
* Check all ports in list | ||
*/ | ||
selectAllPorts(): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
selectAllCommands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
/** | ||
* Uncheck all ports in list | ||
*/ | ||
deselectAllPorts(): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deselectAllCommands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Build # 667 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/667/ to view the results. |
Build # 668 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/668/ to view the results. |
Build # 677 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/677/ to view the results. |
Build # 754 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/754/ to view the results. |
Build # 764 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/764/ to view the results. |
337e411
to
80b195f
Compare
Build # 785 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/785/ to view the results. |
Build # 803 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/803/ to view the results. |
che-form="addComponentForm" | ||
che-label-name="Name" | ||
che-name="name" | ||
che-place-holder="enter component's name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enter component's name - Enter component's name
<che-input che-form="addComponentForm" | ||
che-label-name="Version" | ||
che-name="version" | ||
che-place-holder="enter component's version" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enter component's version -> Enter component's version
* @description This class is handling the controller for a dialog box about editing the stack's component. | ||
* @author Oleksii Orel | ||
*/ | ||
export class EditComponentDialogController { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use same widget for adding new and editing, cause they are the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
} | ||
|
||
/** | ||
* Update the component |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update doc header with params
* Update machine RAM. | ||
*/ | ||
updateMachineRAM() { | ||
this.machineRecipe[Object.keys(this.machineRecipe)[0]]['mem_limit'] = this.machineRAM; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use EnvironmentManager when perform any actions or transformations on machine and environment.
* @description This class is handling the controller for a dialog box about editing the workspace's command. | ||
* @author Oleksii Orel | ||
*/ | ||
export class EditCommandDialogController { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same as add command dialog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
'description': 'New Java Stack', | ||
'scope': 'general', | ||
'tags': [ | ||
'Java 1.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this tag is not displayed in tags section on creation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it have fixed 74ccff2#diff-f32fbb5cbd6b9b53264cc71d6a04ef37R78
Build # 816 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/816/ to view the results. |
…definition Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Signed-off-by: Oleksii Orel <[email protected]>
Build # 836 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/836/ to view the results. |
Build # 839 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/839/ to view the results. |
Add ability to configure machines inside stack definition [CHE-2515]
What does this PR do?
Add ability to configure machines inside stack definition
#2515
#2727