Skip to content

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

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

ListDibbsRfqsOptions, ListDibbsRfpsOptions and ListDibbsAwardsOptions gain fsc, the Federal Supply Class filter (Tango API 5.13.0).

  • fsc is the first four digits of the 13-digit NSN (NSN 6515012345678 → FSC 6515).
  • Several classes OR together with | (6515|6530); it ANDs with every other filter.
  • The API rejects any value that is not exactly four digits with a 400; the SDK passes the string through unvalidated, like nsn and part_number.
  • fsc also works in dibbs_rfq and dibbs_rfp alert filter definitions; no SDK change is needed for that.

Testing

  • Unit tests: each list's all-filters test sets and asserts fsc.
  • Route test: the RFQ, RFP and award list mocks require the fsc query parameter.
  • cargo fmt --all -- --check, cargo clippy --all-targets --all-features -- -D warnings, cargo test --all-features: all green.

Sequencing

Draft, pending the Tango API 5.13.0 production deploy; until it ships, the production API does not yet honor fsc.

🤖 Generated with Claude Code

vdavez and others added 2 commits October 29, 2026 14:26
ListDibbsRfqsOptions, ListDibbsRfpsOptions and ListDibbsAwardsOptions gain `fsc`, the Federal Supply Class filter added in Tango API 5.13.0.
Each value is the four-digit class (the first four digits of the NSN); several OR together 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): fsc filter on the 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 58a3346 into main Oct 29, 2026
9 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