Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-3251

Build AAI from sources (gerrit.onap.org) for Frankfurt release

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • None

      Hello

      For the introduction, I am from Sopra Steria group, a French company that have many locations in several countries (~46 000 employees). I work with Orange Labs Networks (Orange company from France). For example, I have meetings with Eric Debeau or Sylvain Desbureaux (maintainer of OOM component for the ONAP ecosystem).

      With our work with Orange, we (Sopra Steria) have to build some ONAP components from sources of gerrit.onap.org (including AAI, CDS and SO). But we have some troubles with AAI.

      We work on the Frankfurt Release.

      On the almost 30 microservices of AAI, we need only these ones below:

      [centos@host-xxxxxxx ~]$ kubectl get pod -n onap | grep aai
      onap-aai-76755df5bd-8pv28 1/1 Running 0 2d1h
      onap-aai-babel-6cb9d4cf7c-k9rxr 2/2 Running 0 2d1h
      onap-aai-data-router-8797d8d4d-pbn6x 2/2 Running 0 2d1h
      onap-aai-elasticsearch-5894f8fbdd-8pgv7 1/1 Running 0 2d1h
      onap-aai-graphadmin-7f9fdd7f8b-4kv9z 2/2 Running 0 2d1h
      onap-aai-graphadmin-create-db-schema-cdpcx 0/1 Completed 0 2d1h
      onap-aai-modelloader-9859c45c8-5tdtt 2/2 Running 0 2d1h
      onap-aai-resources-7bc5c6b67-8vbxm 2/2 Running 0 2d1h
      onap-aai-schema-service-84b99c99d7-6djdk 2/2 Running 0 2d1h
      onap-aai-search-data-548747b884-nsl97 2/2 Running 0 2d1h
      onap-aai-sparky-be-85c88c784f-xz7m4 2/2 Running 0 2d1h
      onap-aai-traversal-6c458bcd6-snsqf 2/2 Running 0 2d1h
      onap-aai-traversal-update-query-data-8rbd2 0/1 Completed 0 2d1h

      In the first place, we took all the components with 6.0.0-ONAP git tag. As we thought it was relevant to the Frankfurt release. But after the building of the components above (mvn install ok), we had some troubles during the runtime. Indeed, the graphadmin job said it cannot find a SQL script to initialize the database...

      So i deeped dive. For all the components above, i made an inventory of which docker images is used for Frankfurt release. I pull these images. I run these images. I connect to these containers. And i got the version of java JAR included in all these containers.

      And i saw, the versions of the JAR included into these official AAI docker images for Frankfurt release, fetched from the Internet, didn't correspond to the fund of the Frankfurt branch.

      And also, for example, if we take the model-loader AAI component, we can see, if we take the official Frankfurt image from the internet that the JAR version corresponds to 1.6.2 but if we take the code from gerrit Git repository, we can see from the log that, at a time, we have a commit sha1xxxx that corresponding to a 1.6.2-SNAPSHOT for the maven's version project and the N+1 commit, sha1xxxx+1 is relative to a 1.6.3-SNAPSHOT for the maven's version project. So, no 1.6.2 without SNAPHOST.

      Sorry for all these words because my question is very simple: how to build an AAI Frankfurt release component from sources available at gerrit.onap.org?

      Regards

            wreehil wreehil
            jdeppe jdeppe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: