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

DBB 2.0 Support #253

Merged
merged 68 commits into from
Oct 17, 2022
Merged

DBB 2.0 Support #253

merged 68 commits into from
Oct 17, 2022

Conversation

lburgess07
Copy link
Contributor

In this PR we introduce zAppBuild support of the MetadataStore and DBB 2.0. These changes are NOT compatible with any older versions of DBB. DBB 2.0 is required.

Noteworthy Changes:

  • Replacement of the RepositoryClient with the MetadataStore for collection and build result data storage.
  • All builds will use the new SearchPathDependencyResolver and SearchPathImpactFinder APIs
  • Introduction of a new build property metadataStoreType controls which "version" of the MetadataStore to use. Valid options are 'file' and 'db2'. Default is 'file' which has no external dependencies.
  • With File MetadataStore, all operations which in the past required a RepositoryClient connection are now supported right out of the box (i.e. impactBuild) with no db connection necessary. This is useful for POC development before moving into production with the Db2 MetadataStore.
  • Removal of RepositoryClient/MetadataStore variable from language scripts. With the introduction of the MDS, we can now utilize the MetadataStoreFactory class to create a static MDS instance and retrieve that instance whenever we want. Thus, there is no need to pass around the object anymore. It has been removed from any places in the code where it is not being utilized, including the language scripts.
  • Removal of RepositoryClient/MDS as a method parameter. Similar to the point above, the RepositoryClient was included as a parameter in several methods throughout the code base. With the introduction of the MDS, this is no longer required, so it has been removed as a parameter in any methods across the board and replaced with the MetadataStoreFactory getter method to retrieve the instance.

Luke Burgess added 27 commits October 14, 2022 12:32
@drbruce-git drbruce-git merged commit cd70579 into IBM:develop Oct 17, 2022
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