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

Refactoring pipeline and engine #100

Merged
merged 2 commits into from
Mar 30, 2015
Merged

Refactoring pipeline and engine #100

merged 2 commits into from
Mar 30, 2015

Conversation

takahi-i
Copy link
Member

  • created pipline.Resources
  • moved reporters and channels to Resorces

- created pipline.Resources
- moved reporters and channels to Resorces
@takahi-i takahi-i changed the title [WIP] Refactoring pipeline and engine Refactoring pipeline and engine Mar 30, 2015
@@ -33,14 +33,14 @@ func getStageTypeModuleName(stageType string) string {
return strings.ToLower(stageType)
}

func Parse(configData *map[interface{}]interface{}) (*pipelines.Pipeline, error) {
func Parse(configData *map[interface{}]interface{}) (*pipelines.Resources, error) {
envs := NewEnvVariables()
return ParseWithSpecifiedEnvs(configData, envs)
}

// TODO: need refactoring
Copy link
Member

Choose a reason for hiding this comment

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

Did you finished refactoring?
If you didn't , please add comment what do you refactor about.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for the comment. I have not done refactoring of parser.go in this commit. I will add the following comment.

TODO: make parser a struct (for simplifying redundant methods and reducing the number of function parameters)

@ainoya
Copy link
Member

ainoya commented Mar 30, 2015

LGTM

ainoya added a commit that referenced this pull request Mar 30, 2015
Refactoring pipeline and engine
@ainoya ainoya merged commit 2e53e91 into master Mar 30, 2015
@takahi-i takahi-i deleted the refactor-engine branch June 5, 2015 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants