Skip to content
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

Merged
merged 13 commits into from
Oct 28, 2016

Conversation

olexii4
Copy link
Contributor

@olexii4 olexii4 commented Oct 7, 2016

What does this PR do?

Add ability to configure machines inside stack definition
#2515

#2727

@codenvy-ci
Copy link

Build # 660 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/660/ to view the results.

@TylerJewell
Copy link

@slemeur - are we calling them "environments" or should that label be changed to "Runtimes"?

@codenvy-ci
Copy link

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
Copy link
Contributor

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

Copy link
Contributor Author

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 ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

Copy link
Contributor Author

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
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@benoitf benoitf changed the title Che 2515 Add ability to configure machines inside stack definition [CHE-2515] Oct 10, 2016
});
}

changePortSelection(name): void {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changePortSelection -> changeCommandSelection

Copy link
Contributor Author

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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

selectAllCommands

Copy link
Contributor Author

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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deselectAllCommands

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@codenvy-ci
Copy link

Build # 667 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/667/ to view the results.

@codenvy-ci
Copy link

Build # 668 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/668/ to view the results.

@codenvy-ci
Copy link

Build # 677 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/677/ to view the results.

@olexii4 olexii4 added the status/in-progress This issue has been taken by an engineer and is under active development. label Oct 15, 2016
@codenvy-ci
Copy link

Build # 754 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/754/ to view the results.

@codenvy-ci
Copy link

Build # 764 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/764/ to view the results.

@olexii4 olexii4 force-pushed the CHE-2515 branch 2 times, most recently from 337e411 to 80b195f Compare October 25, 2016 09:21
@codenvy-ci
Copy link

Build # 785 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/785/ to view the results.

@codenvy-ci
Copy link

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"
Copy link
Contributor

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"
Copy link
Contributor

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 {
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

}

/**
* Update the component
Copy link
Contributor

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;
Copy link
Contributor

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 {
Copy link
Contributor

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

Copy link
Contributor Author

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'
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codenvy-ci
Copy link

Build # 816 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/816/ to view the results.

@codenvy-ci
Copy link

Build # 836 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/836/ to view the results.

@olexii4 olexii4 merged commit 10bae41 into master Oct 28, 2016
@olexii4 olexii4 deleted the CHE-2515 branch October 28, 2016 16:55
@codenvy-ci
Copy link

Build # 839 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/839/ to view the results.

@ashumilova ashumilova added this to the 5.0.0-M7 milestone Oct 31, 2016
@bmicklea bmicklea mentioned this pull request Nov 16, 2016
66 tasks
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
Add ability to configure machines inside stack definition [CHE-2515]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/in-progress This issue has been taken by an engineer and is under active development.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants