Create API classes for compiled catalog and catalog-diff #44

Merged
merged 37 commits into from Jan 8, 2017

Projects

None yet

1 participant

@kpaulisse
Contributor
kpaulisse commented Jan 3, 2017 edited

This PR adds v1 of an API for octocatalog-diff supporting these methods:

  • catalog (generates a catalog)
  • catalog-diff (computes the difference between 2 catalogs)
  • config (interacts with the .octocatalog-diff.cfg.rb configuration file)

/cc #7

kpaulisse added some commits Jan 3, 2017
@kpaulisse kpaulisse Create catalog-compile, start moving libraries around aff59c3
@kpaulisse kpaulisse More class renames c7f7336
@kpaulisse kpaulisse Update paths and classes in tests 5fe57f2
@kpaulisse kpaulisse Update more paths 652bc32
@kpaulisse kpaulisse Change CLI class --catalog-only over to the API
4efc7a1
@kpaulisse kpaulisse Rename the API to v1 9653424
@kpaulisse kpaulisse Update integration tests to match new API f47fc33
@kpaulisse kpaulisse Add spec test for catalog compile API v1
8828b00
@kpaulisse kpaulisse Add pass-through top level API with methods dbb9b3d
@kpaulisse kpaulisse Move catalog-diff from CLI to new API class 0149171
@kpaulisse kpaulisse Add spec tests for catalog-diff and common
cf82fcf
@kpaulisse kpaulisse Merge remote-tracking branch 'origin/master' into kpaulisse-better-api
3d137ec
@kpaulisse kpaulisse Add spec test for --bootstrap-then-exit clause 9b2cf04
@kpaulisse kpaulisse Stub documentation 559596f
@kpaulisse kpaulisse Make octocatalog-diff config file part of the API 0300de9
@kpaulisse kpaulisse Move CLI to the top level af85f11
@kpaulisse kpaulisse Re-namespace the CLI classes 7bc7749
@kpaulisse kpaulisse Add integration test for the CLI 6f29688
@kpaulisse kpaulisse Call correct classes from CLI
fb248b3
@kpaulisse kpaulisse Merge branch 'kpaulisse-split-cli-catalogs' into kpaulisse-better-api 501cf24
@kpaulisse kpaulisse Merge branch 'kpaulisse-release-0-7' into kpaulisse-better-api
757ce28
@kpaulisse kpaulisse changed the base branch to kpaulisse-release-0-7 from master Jan 7, 2017
@kpaulisse kpaulisse Merge branch 'kpaulisse-release-0-7' into kpaulisse-better-api
67e88f1
@kpaulisse kpaulisse referenced this pull request Jan 7, 2017
Closed

API #7

kpaulisse added some commits Jan 7, 2017
@kpaulisse kpaulisse Merge branch 'kpaulisse-release-0-7' into kpaulisse-better-api
4769985
@kpaulisse kpaulisse Start spec test for API v1 config e42f430
@kpaulisse kpaulisse Add additional test coverage 6449f4d
@kpaulisse kpaulisse Finish test coverage for OctocatalogDiff API config 89cb1de
@kpaulisse kpaulisse Centralize errors to their own class f868a7a
@kpaulisse kpaulisse Create documentation for `.config` API
a4c95ca
@kpaulisse kpaulisse Bigger headings, misc. wording 7a1673f
@kpaulisse kpaulisse Move CatalogError, BootstrapError to error class 6aa1920
@kpaulisse kpaulisse Update tests for error classes 7de36fc
@kpaulisse kpaulisse Stub documentation
880f279
@kpaulisse kpaulisse Move fact source and retrieval errors to error class 72e7264
@kpaulisse kpaulisse Move PuppetDB errors to error class 6689007
@kpaulisse kpaulisse Move catalog compilation errors to errors class 2ede61f
@kpaulisse kpaulisse Move remaining errors
f6b5483
@kpaulisse kpaulisse Ruby variability, accept either error message
0f5e49f
@kpaulisse kpaulisse changed the title from (WIP) Create API classes for compiled catalog and catalog-diff to Create API classes for compiled catalog and catalog-diff Jan 8, 2017
@kpaulisse kpaulisse merged commit b104b30 into kpaulisse-release-0-7 Jan 8, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@kpaulisse kpaulisse deleted the kpaulisse-better-api branch Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment