Uploaded image for project: 'Portal'
  1. Portal
  2. PORTAL-502

Portal/SDK missing DDL script to create tables for version 2.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • Casablanca Release
    • Portal/SDK
    • None

      Cannot find an SQL/DDL file.

      I'm following these instructions:
      https://onap.readthedocs.io/en/latest/submodules/portal.git/docs/tutorials/portal-sdk/setting-up.html

      I cloned the portal/sdk git repo and the POM says version 2.5. I've reached this step:

      mysql -proot -uroot < sdk/ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkDDLMySql_2_4_Common.sql
      

      The instructions above are for version 2.4, so trying to do the right thing for the POM, I looked for file sdk/ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkDDLMySql_2_5_Common.sql but it's not present:

      ~/git/onap/sdk/ecomp-sdk/epsdk-app-common/db-scripts$ ls *DDL*
      EcompSdkDDLMySql_1707_Common.sql	EcompSdkDDLMySql_2_1_Common.sql		EcompSdkDDLMySql_2_4_Common.sql
      EcompSdkDDLMySql_1710_Common.sql	EcompSdkDDLMySql_2_2_Common.sql
      

      Please add the appropriate file.

      Also: I checked the version 2.4 file and its header says "2.1" which is a little confusing:

      -- This script creates tables in the COMMON version 2.1.0 of the ONAP SDK application database.
      

            lorraineawelch lorraineawelch
            cl778h cl778h
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: