Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fimg noblob (#90) #96

Merged
merged 2 commits into from
Apr 1, 2019
Merged

Fix fimg noblob (#90) #96

merged 2 commits into from
Apr 1, 2019

Conversation

luisremis
Copy link
Contributor

Fix #90

@luisremis luisremis requested a review from vishakha041 March 29, 2019 16:11
@luisremis
Copy link
Contributor Author

@vishakha041, git gets confused on the changes on ImageCommand.cc. I recommend you look at the files directly to see the changes (that are way less complicated than what it appears)

if (findImage["status"] != 0) {
findImage["status"] = RSCommand::Error;
// Uses PMGD info error.
return error(findImage);
}

bool flag_empty = true;
Json::Value results = get_value<Json::Value>(cmd, "results");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I am quite confused with this commit. Shouldn't we check in construct_protobuf if blob == false and no list/count/average requested? Or is this relying on PMGDQueryHandler throwing an error and then handling it construct_responses? Ideally we should put it in JSON checks but I am guessing that's not possible. What am I missing?

@luisremis luisremis added Bug Indicates unexpected or undesired behaviors Priority: Urgent high priority fixes and/or features. labels Mar 30, 2019
@luisremis luisremis changed the title Fix fimg noblob Fix fimg noblob (#90) Mar 30, 2019
Copy link
Contributor

@vishakha041 vishakha041 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm.

@luisremis luisremis merged commit 05328e4 into develop Apr 1, 2019
@luisremis luisremis deleted the fix_fimg_noblob branch May 3, 2019 23:15
cwlacewe added a commit to cwlacewe/vdms that referenced this pull request Apr 14, 2023
* Format CMakeLists.txt

* Add CSV CPP Client Plugin

* Fix the VDMS path dependencies in csv_plugin library

* Add the multithread layer class in CSVParser class that uses the utilities in CSVPArserUtil.cpp and add the test in tests folder

* merge csv plugin in cleint folder

* Update check-in Dockerfiles to include lib

* Add the csv-plugin as CSVParser in the VDMS::Client CPP folder as a utility

* Remove COpy csv-cpp-lib

* fix the failing tests

* adjust run python_tets

* fix the stash conflict

* wprking on csv tests

* Working os csv tests

* Update run_coverage_cpp.sh

Include .cpp files

* Update run_coverage_cpp.sh

Add flag to overcome known error (https://gcovr.com/en/master/guide/gcov_parser.html#negative-hit-counts)

* stash changes

* Configue the prot of csv parser

* Trying to add the video tesing in csv

* Fi the test script

* fix run_python_test

* Uncoment the Update in CSV

* Csv client lib (IntelLabs#95)

* Update python coverage test to exclude tests folder

* Remove unused old folder (csv-cpp-lib), remove hardcoded ragaad paths from CMakeLists files, remove commented code

* Fix splitrow, add bin to supported image format, uncomment constraints for images, use CSVformat100.csv for entity test, add operations to image and video csv

* Update tests/unit_tests/client_add_entity.cc

Removed empty line (only change to file)

* Update CMakeLists.txt

Remove empty line (only change to file)

* Update tests/main.cc

remove empty line

* Csv client lib (IntelLabs#96)

* Fix ops in video csv, update csvs for additional testing, improve isInt

* Add additional tests and catch case for unkonwn commandtype

* Update tests/main.cc

---------

Co-authored-by: Lacewell, Chaunte W <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Indicates unexpected or undesired behaviors Priority: Urgent high priority fixes and/or features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants