Page MenuHomeSoftware Heritage

webapp: support new metadata search backend configuation
ClosedPublic

Authored by vsellier on Tue, Sep 7, 4:08 PM.

Details

Summary

Related to T3433

Test Plan
  • webapp1.production
diff origin/production/webapp1.internal.softwareheritage.org current/webapp1.internal.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/web/web.yml] =>
   parameters =>
     content =>
      @@ -3,5 +3,6 @@
         cls: remote
         url: http://webapp1.internal.softwareheritage.org:5010/
      -metadata_search_backend: swh-search
      +search_config:
      +  metadata_backend: swh-search
       storage:
         cls: remote
*******************************************
*** End octocatalog-diff on webapp1.internal.softwareheritage.org
  • moma
*** Running octocatalog-diff on host moma.softwareheritage.org
I, [2021-09-07T16:04:07.509785 #30702]  INFO -- : Catalogs compiled for moma.softwareheritage.org
I, [2021-09-07T16:04:09.500586 #30702]  INFO -- : Diffs computed for moma.softwareheritage.org
diff origin/production/moma.softwareheritage.org current/moma.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/web/web.yml] =>
   parameters =>
     content =>
      @@ -3,5 +3,6 @@
         cls: remote
         url: http://moma.internal.softwareheritage.org:5010/
      -metadata_search_backend: swh-search
      +search_config:
      +  metadata_backend: swh-search
       storage:
         cls: remote
*******************************************
*** End octocatalog-diff on moma.softwareheritage.org
  • webapp.staging
diff origin/production/webapp.internal.staging.swh.network current/webapp.internal.staging.swh.network
*******************************************
  File[/etc/softwareheritage/web/web.yml] =>
   parameters =>
     content =>
      @@ -3,5 +3,6 @@
         cls: remote
         url: http://webapp.internal.staging.swh.network:5010/
      -metadata_search_backend: swh-search
      +search_config:
      +  metadata_backend: swh-search
       storage:
         cls: remote
*******************************************
*** End octocatalog-diff on webapp.internal.staging.swh.network

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vsellier created this revision.
ardumont added a subscriber: ardumont.

lgtm

I gather from this that the actual configuration structure changed as well.

This revision is now accepted and ready to land.Wed, Sep 8, 1:22 PM

I gather from this that the actual configuration structure changed as well.

yes, see D6202