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 new command `goagen controller` (backport) #1049

Merged
merged 2 commits into from Feb 12, 2017

Conversation

Projects
None yet
1 participant
@raphael
Member

raphael commented Feb 12, 2017

Backport #1046

Hector Fernandez added some commits Feb 12, 2017

Add new command `goagen controller` (#1046)
Added command goagen controller
gen_cli: Replace underscores by dashes for the generated cmd arguments (
#1039)

gen_cli: Replace underscores by dashes for the generated cmd arguments

@raphael raphael changed the title from V1.add controller command to Add new command `goagen controller` (backport) Feb 12, 2017

@raphael raphael merged commit 9eda811 into v1 Feb 12, 2017

3 checks passed

continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@raphael raphael deleted the v1.add_controller_command branch Feb 12, 2017

kwk added a commit to fabric8-services/fabric8-wit that referenced this pull request Feb 27, 2017

Moved the controllers to the controller pkg (#773)
We now use the new goa command `controller` to generate the code inside a specific folder (goadesign/goa#1049).

related to: #723 in particular to this comment #723 (comment)

That leaves our root folder much cleaner.

* Moved the controllers to the controllers pkg
* Adapted the tests to the new package and modified the path to the config file
* Use singular packages name and moved new controllers
* Add the pwd to locate the config file
* Added code to find config.yaml inside the controller tests
* Moved iteration_whitebox_test to controller pkg

mindreeper2420 added a commit to mindreeper2420/almighty-core that referenced this pull request Mar 7, 2017

Moved the controllers to the controller pkg (fabric8-services#773)
We now use the new goa command `controller` to generate the code inside a specific folder (goadesign/goa#1049).

related to: fabric8-services#723 in particular to this comment fabric8-services#723 (comment)

That leaves our root folder much cleaner.

* Moved the controllers to the controllers pkg
* Adapted the tests to the new package and modified the path to the config file
* Use singular packages name and moved new controllers
* Add the pwd to locate the config file
* Added code to find config.yaml inside the controller tests
* Moved iteration_whitebox_test to controller pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment