Skip to content

(feat): Added inferred tags to activity entity and elasticsearch index #2619

Fausto Arcidiacono requested to merge feat/inferred-tags-e2619 into master

Ticket(s) / Related Merge Requests

#2619 (closed)

Summary of Changes

Added inferred tags to activity entity and elasticsearch index

Testing Considerations

  • Open a terminal window run the following command:
    cd engine
    source /vault/secrets/env && php cli.php EventStreams --subscription "Core\\Feeds\\Activity\\EventStreamSubscription\\InferredTagsEventStreamSubscription"
  • Open another terminal window run the following command:
    cd engine
    source /vault/secrets/env && php cli.php InferredTags Generate --activity_urn="<activity_urn>" --inferred_tags="<inferred_tags_array_json>"
  • Now go to https://feat-img-to-caption-search-e2580.oke.minds.io/search?q=<inferred_tag> and search for one of the tags in the inferred tags you provided for the activity above
  • Switch to the Latest tab and you should see the activity you tagged above

Deployment Considerations

Apply new property to ES index using request in Postman (here)

Regression Scope

Platform Affected (web, mobile, etc)

Developer Testing Completed

Screenshots / Screen Recording

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Fausto Arcidiacono

Merge request reports