Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-6014

FIWARE.Request.Tech.WebUI.POIDataProvider.DesignRationalesAndMissingFile

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Chapter:
      WebUI
    • HD-Enabler:
      POI Provider

      Description

      Dear Franck,

      As indicated before by Frank Verbeeck, we started our analysis of the
      FIWARE enablers in the context of our FIC3 project ‘QuAALity’ in
      collaboration with Gociety, in order to be able to integrate them in the
      Gociety architecture in a next step.

      We started with the POI Data Provider GE, on which we have the following
      questions:

      • The enabler uses two separate databases; a (structured) PostGIS
        database on the Generic POI server to do spatial search of location points,
        and a (unstructured) database (e.g., MongoDB) on the business-specific POI
        server to store extra business-specific POI info. As the choice for two
        databases means that you need to support two technologies, we were
        wondering about the rationale for this choice? MongoDB namely also provides
        geospatial query operators (using GeoJSON), and is thus similar in
        functionality as PostGIS (
        https://docs.mongodb.org/v3.0/reference/operator/query-geospatial/).
        Does PostGIS provide distinguishing features which could be interesting to
        explore in our context, e.g. the actual detection of POIs, faster lookups,
        ...?
      • The documentation of the POI Data Provider suggests to install the
        Pecl_HTTP module voor PHP 5. However, the most recent version of this
        module only runs with PHP7. We thus see two options: either upgrading to
        PHP7 (our preferred option), or install a lower version of the module
        (e.g., 2.1.1). Does a choice for one of these options impact the
        functionality of the enabler?
      • The file 'example_poi_2_fw_relationships.json’ in the
        'install_scripts/test_data/‘ folder is missing on the Git repository of the
        enabler, which results in an error. In the commit history, we found an
        earlier version of that file, with which we can successfully install the
        module, although we were wondering if any more recent updates/fixes to this
        file were made that were not recorded in the Git repository?

      Thanks in advance for your feedback.

      Best regards,

      Mathias

        Issue Links

          Activity

          Hide
          ariokkon Ari Okkonen added a comment - - edited

          Name changed. Was "Re: [Fiware-fic3-coaching] Questions POI Data Provider"

          Quick answers to questions

          1. Why the enabler uses two separate databases?
            • Historical reasons. Basic functionality was implemented using PostGIS. Later, extending the data model was more effective using MongoDB. Effects and required effort to change to MongoDB-only solution have not been studied.
          2. Why old Pecl_HTTP and PHP.
            • Extensive interface changes from old to new Pecl_HTTP. Extensive changes from old to new PHP. The changes are not backward compatible, and they require large effort to accommodate.
          3. Missing file 'example_poi_2_fw_relationships.json’ requires more inspection...
          Show
          ariokkon Ari Okkonen added a comment - - edited Name changed. Was "Re: [Fiware-fic3-coaching] Questions POI Data Provider" Quick answers to questions Why the enabler uses two separate databases? Historical reasons. Basic functionality was implemented using PostGIS. Later, extending the data model was more effective using MongoDB. Effects and required effort to change to MongoDB-only solution have not been studied. Why old Pecl_HTTP and PHP. Extensive interface changes from old to new Pecl_HTTP. Extensive changes from old to new PHP. The changes are not backward compatible, and they require large effort to accommodate. Missing file 'example_poi_2_fw_relationships.json’ requires more inspection...
          Hide
          ariokkon Ari Okkonen added a comment - - edited
          Show
          ariokkon Ari Okkonen added a comment - - edited Fixing the error caused by missing file 'example_poi_2_fw_relationships.json’ in installing will be monitored in the issue FIWARE.Bug.WebUI.POIDataProvider.MissingFile_example_poi_2_fw_relationships_json . The file was removed due to inconsistencies in design. Redesign will be monitored in the issue FIWARE.WorkItem.WebUI.POIDataProvider.Relationships.Redesign
          Hide
          ariokkon Ari Okkonen added a comment - - edited

          Correction related to the missing file 'example_poi_2_fw_relationships.json’ pushed to GitHub as commit 5154ac3ea4668992a1653ac4cc3277057f8e1b8d in the master branch. Loading attempt of the file removed from one of the install files.

          Show
          ariokkon Ari Okkonen added a comment - - edited Correction related to the missing file 'example_poi_2_fw_relationships.json’ pushed to GitHub as commit 5154ac3ea4668992a1653ac4cc3277057f8e1b8d in the master branch. Loading attempt of the file removed from one of the install files.

            People

            • Assignee:
              ariokkon Ari Okkonen
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: