HomePhabricator
Diffusion Comm 842b9c95f514

[services] Tunnelbroker - Empty field checks in database items

Description

[services] Tunnelbroker - Empty field checks in database items

Summary:
Check multiple fields to not be empty in the database item entity.

Implemented a small checkEmptyField function in Tools which checks for an empty string and zero numbers.
Usage implementation in database items also was added.

Linear task: ENG-618

Test Plan: Successfully built and run service using yarn run-tunnelbroker-service.

Reviewers: palys-swm, karol-bisztyga, varun

Reviewed By: palys-swm

Subscribers: ashoat, palys-swm, Adrian, atul, karol-bisztyga, benschac

Differential Revision: https://phabricator.ashoat.com/D3525

Details

Provenance
maxAuthored on Mar 28 2022, 6:12 AM
Reviewer
tomek
Differential Revision
D3525: [services] Tunnelbroker - Empty field checks in database items
Parents
rCOMM8330dbc8e2ff: [web] Introduce search modal component
Branches
Unknown
Tags
Unknown