You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

CPS-503 - Getting issue details... STATUS



Purpose of spike


Because of license issues with Liquibase core we need to investigate building liquibase-core from open source Apacahe-2.0 sources ourselves.

see also this mail snippet from Steve Winslow:

"At the community discussion form post that I linked to below, https://forum.liquibase.org/t/licensing-questions-for-community-distro/5617/3, someone from the Liquibase team (I believe one of the primary authors) responded to my question there. They indicated that the built components they offer do contain both Apache-2.0 and proprietary code, and didn't appear to indicate that they could be redistributed due to the presence of the latter. Because of this, they indicated that if ONAP wants to have an open source / Apache-2.0 only version, we would need to build it from the Liquibase Apache-2.0 sources ourselves."


Assumptions


#

Assumption

Notes

1



Open Issues & Decisions


#

Question

Answer

1


Approaches


  1. Explore option to automatically copy an build using a Nordix Repo and C/I job. Some technical and legal issues to be examined. Will the delivered artifact(s) be available to non-Nordix users ie. what repo will be used?
  2. Create CPS sub-repo with copy of sources from https://github.com/liquibase/liquibase  (legal option, but not easy to share with others) Later even a new shared stand-alone repo? (two-step approach) (Appears to be the quickest and most efficient way to add liquibase to code base)
  3. Consider DB-Migrator tool already used and part of ONAP: https://docs.onap.org/projects/onap-policy-parent/en/guilin/drools/pdpdEngine.html#data-migration
  4. Consider FlyWay https://dzone.com/articles/flyway-vs-liquibase


Point #2

  • Clone liquibase code from GitHub: https://github.com/liquibase/liquibase
  • Create new module in CPS (e.g. cps-liquibase)
  • Add necessary code to new module (After adding files there are 2,500 checkstyle violations)

  • Build liquibase with CPS & ensure DB steps are carried out


  • No labels