Skip to content

feat(dibbs): FSC filter on the DIBBS list options (v0.4.0) - #19

Merged
vdavez merged 2 commits into
mainfrom
feat/dibbs-fsc-filter
Oct 29, 2026
Merged

vdavez merged 2 commits into
mainfrom
feat/dibbs-fsc-filter

Conversation

@vdavez

@vdavez vdavez commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

What

Adds an FSC field to ListDibbsRfqsOptions, ListDibbsRfpsOptions and ListDibbsAwardsOptions, sent as the fsc query parameter on /api/dibbs/rfqs/, /api/dibbs/rfps/ and /api/dibbs/awards/ (Tango API 5.13.0).

  • FSC is the Federal Supply Class: the first four digits of the 13-digit NSN (NSN 6515012345678 → FSC 6515).
  • Several classes are OR'd with | (6515|6530); the filter ANDs with every other filter.
  • Each value must be exactly four digits; anything else is an HTTP 400, surfaced as *ValidationError.
  • fsc also works in dibbs_rfq and dibbs_rfp alert filter definitions.

Wired exactly like the existing NSN / PartNumber options. Docs (docs/API_REFERENCE.md) and CHANGELOG.md updated.

Sequencing

Draft pending the Tango API 5.13.0 production deploy; until then the API may not recognize fsc.

Testing

  • go test ./... passes; the three DIBBS filter-mapping tests now assert fsc is encoded.
  • go vet ./... and gofmt -l . clean.

🤖 Generated with Claude Code

vdavez and others added 2 commits October 29, 2026 14:25
Adds `FSC` to `ListDibbsRfqsOptions`, `ListDibbsRfpsOptions` and `ListDibbsAwardsOptions`, sent as the `fsc` query parameter (Tango API 5.13.0).
FSC is the four-digit Federal Supply Class, the first four digits of the NSN; several are OR'd with `|`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vdavez vdavez changed the title feat(dibbs): add FSC filter to DIBBS RFQ, RFP and award lists feat(dibbs): FSC filter on the DIBBS list options (v0.4.0) Oct 29, 2026
@vdavez
vdavez marked this pull request as ready for review October 29, 2026 20:01
@vdavez
vdavez merged commit f49018b into main Oct 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant