Page MenuHomePhabricator

AQS 2.0: convert Device Analytics router from fasthttp to mux
Closed, ResolvedPublic

Description

Per T328166: AQS 2.0: Reevaluate Go router package, we are converting the router for all the AQS 2.0 services from fasthttp to gorilla/mux. See that task for rationale.

This task covers conversion of the Device Analytics service.

Completion criteria:

  • router is converted
  • handlers are adjusted to use the standard interface
  • any modifications to tests are completed
  • "make test" passes
  • "make itest" passes

QA needs: this should have no external effect for callers. It is sufficient to ensure that there are no regressions, and that caller-facing functionality is not changed.

Event Timeline

Change 909617 had a related patch set uploaded (by Sg912; author: Sg912):

[generated-data-platform/aqs/device-analytics@main] Bug : T333705

https://gerrit.wikimedia.org/r/909617

Change 909618 had a related patch set uploaded (by Sg912; author: Sg912):

[generated-data-platform/aqs/device-analytics@main] Bug : T333705

https://gerrit.wikimedia.org/r/909618

Change 909617 abandoned by Sg912:

[generated-data-platform/aqs/device-analytics@main] Bug : T333705

Reason:

Multiple MRs same topic

https://gerrit.wikimedia.org/r/909617

Change 909618 had a related patch set uploaded (by BPirkle; author: Sg912):

[generated-data-platform/aqs/device-analytics@main] This change covers - Router changes from fasthttp to gorilla/mux Some minor restructuring

https://gerrit.wikimedia.org/r/909618

Change 909618 merged by BPirkle:

[generated-data-platform/aqs/device-analytics@main] This change covers - Router changes from fasthttp to gorilla/mux Some minor restructuring

https://gerrit.wikimedia.org/r/909618

Change 910894 had a related patch set uploaded (by Sg912; author: Sg912):

[generated-data-platform/aqs/device-analytics@main] Resolving issues on main branch

https://gerrit.wikimedia.org/r/910894

Change 910894 merged by BPirkle:

[generated-data-platform/aqs/device-analytics@main] Resolving issues on main branch

https://gerrit.wikimedia.org/r/910894

SGupta-WMF added a subscriber: EChukwukere-WMF.

@BPirkle I made some additional changes to restrict routers to use only GET . And I thought its better to do it before QA so reassigning this for code review.
Apologies for causing inconvenience and asking for multiple review cycles.

@BPirkle I made some additional changes to restrict routers to use only GET . And I thought its better to do it before QA so reassigning this for code review.
Apologies for causing inconvenience and asking for multiple review cycles.

Glad you did, that was a good addition, thanks for thinking of it.

Reviewed, merged, reassigning to QA.

Test status: QA PASS

Tests works as expected