culturecreates / footlight-aggregator

A tool to inject entities from Artsdata to footlight
0 stars 0 forks source link

Aggregator: Cannot load customTaxonomies #22

Closed saumier closed 1 year ago

saumier commented 1 year ago

I created JSON from Artsdata to load Place concepts for the Laval quartiers. I followed the model from the doc https://docs.google.com/document/d/1AOUiZD3wh-J3M1UDpwBjMhBZm2HfhM_8_NgWCy74LLg/edit#

Example: http://api.artsdata.ca/query?adid=K5-354&format=json&frame=ranked_place_footlight&sparql=ranked_place_footlight

It is not getting imported with the Aggregator in staging. Yet there is no message in the log of the Aggregator. Please look into this.

Output from Artsdata:

 "dynamicFields": [
        {
          "conceptIds": [
            "63caeb50230627006f5669f7"
          ],
          "taxonomyId": "63caeb13230627006f5669af"
        }
      ]

Doc on needed payload for CMS API.

"dynamicFields": [
   {
     "taxonomyId": "taxonomy_uuid",
     "conceptIds": ["concept_uuid"]}
] 
dev-aravind commented 1 year ago

The payload format is good. The issue is related to the footlight backend. The issue is fixed and deployed in staging.

saumier commented 1 year ago

Not working for me this morning. Here are my parameters for staging

Image

dev-aravind commented 1 year ago

This looks like a config issue in the CMS. The region (Quartiers) is not set to "dynamicField".

Let's look into it after our daily standup.

SuhailAliyar commented 1 year ago

For regions use the schema below:

regions: [{entityId: "conceptId"}]