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

rename ansibleapp to apb #47

Merged
merged 15 commits into from Mar 22, 2017
Merged

rename ansibleapp to apb #47

merged 15 commits into from Mar 22, 2017

Conversation

jmrodri
Copy link
Contributor

@jmrodri jmrodri commented Mar 22, 2017

No description provided.

@jmrodri
Copy link
Contributor Author

jmrodri commented Mar 22, 2017

I was able to provision with dockerhub, and was able to talk to the mock registry.

@jmrodri
Copy link
Contributor Author

jmrodri commented Mar 22, 2017

In some places in the code apb didn't really make sense, usually in a method name. For those I favored playbookbundle or PlaybookBundle.

@jmrodri
Copy link
Contributor Author

jmrodri commented Mar 22, 2017

@eriknelson some of the changes I made to mock_registry.go might affect your other work so beware.

@jmrodri jmrodri changed the title [WIP] rename ansibleapp to apb rename ansibleapp to apb Mar 22, 2017
Copy link
Contributor

@eriknelson eriknelson left a comment

Choose a reason for hiding this comment

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

ACK

PlaybookBundles feels better than AnsibleApp to me when read in the code. asb feels like an appropriate package name given go conventions around package names. I think this is an overall improvement, at least with the go project.

flags "github.com/jessevdk/go-flags"
yaml "gopkg.in/yaml.v1"
)

type Args struct {
AppFile string `short:"a" long:"appfile" description:"Mock Ansible Apps yaml file"`
AppFile string `short:"a" long:"appfile" description:"Mock Ansible Playbook Bundles yaml file"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Playbook Bundle/PlaybookBundle feels reasonable in place of "App" to me.

// TODO: Is this required just to unwrap the root key and get the array?
// Load just an array without a root key to wrap it?
var parsedDat struct {
AnsibleApps []ansibleapp.Spec
PlaybookBundles []apb.Spec
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we get more specific with "spec" files, such as BundleSpec?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like that BundleSpec would be nicer. I can make that change.


## Running AnsibleApps with the ASB
## Running APB with the ASB
Copy link
Contributor

Choose a reason for hiding this comment

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

Keeping track of these two acronyms when referenced closely is going to get difficult :/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll update the doc to be more clear. I'll make that PlaybookBundle instead.

@eriknelson
Copy link
Contributor

@jmrodri RE: mock_registry.go changes, I don't expect demo-broker branch to come back into master, sort of a one off thing.

@jmrodri jmrodri merged commit 81059da into master Mar 22, 2017
@eriknelson eriknelson deleted the newapb branch April 6, 2017 15:26
shawn-hurley pushed a commit to shawn-hurley/ansible-service-broker that referenced this pull request Nov 2, 2017
* Added push functionality for adding APB spec to broker

* Updated build to use spec image tag by default
jianzhangbjz pushed a commit to jianzhangbjz/ansible-service-broker that referenced this pull request May 17, 2018
* rename ansibleapp to apb
* rename ansibleapp directory to apb
* AnsibleApp to APB or Ansible Playbook Bundle
* change to be apb
* rename ansibleapp -> apb
* change Ansible App to Ansible Playbook Bundle
* change ansibleApp -> apb, AnsibleApp -> APB
* AnsibleApp -> APB
* IsAPB -> IsPlaybookBundle
* fix formatting
* rename ansibleapp to apb
* fix docker registry
* fix mock registry
* change header to be playbookbundles
* update diagrams to not say AnsibleApp
* update comment
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.

None yet

2 participants