-
Notifications
You must be signed in to change notification settings - Fork 66
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
DEMO: Unknown request ID when deleting a test session #877
Comments
I just tested deleting a vendor to see if it was resource specific (test session) and deleting a vendor works correctly. Upon submission of the DELETE operation, I am returned a request ID which then is pushed through the appropriate stages and the resource is successfully deleted. |
Hey @AlexThurston I wouldn't say this is exactly "intended" behavior, but it kind of is at the moment, anything that hits our "workflow" queue - things that need approval - are the things that get a request ID. Removing a test session is however automatic and never actually hits our workflow queue. We should revisit what's returned in the response in this case, but it should be fine from a functionality perspective. Generally speaking, all meta data is a workflow item that requires approval (be it automatic on demo or manual on prod); where test session specific things (except for certify) don't require approval. I think we're ok here, just need to figure out a better response to provide. |
Understood and that makes sense. You're bang on in that it's the response that is confusing. That being said, once a test session is deleted, how do I know that it has been deleted? After removing it, I am still able to perform a |
Would it be useful/prudent/easy to perhaps indicate in the meta data of a test session that it has been cancelled/deleted? {
"url": "/acvp/v1/testSessions/86530",
"createdOn": "2020-05-28T14:50:45.553",
"expiresOn": "2020-06-28T11:34:25.663",
"vectorSetUrls": [
"/acvp/v1/testSessions/86530/vectorSets/219270"
],
"publishable": true,
"passed": false,
"isSample": false,
"deleted": true
} Otherwise, there is no way for a user to know that it has been cancelled. I get that if you cancel/delete a test session, you can essentially stop it from generating any un-generated vectors sets, but there would be no way of knowing that those vectors sets won't be forthcoming without an indication that it has been cancelled. |
environment
Demo
testSessionId
86533
vsId
N/A
Algorithm registration
N/A
Endpoint in which the error is experienced
https://demo.acvts.nist.gov/acvp/v1/testSessions/86533 DELETE
Expected behaviour
When deleting a test session, the response that is returned is:
The request ID associated with this request is not shown in the url so it's impossible to know what request ID corresponds to what operation.
It also doesn't even looks like the request is being registered. If I list my requests prior and after submitting the delete operation, the total number of requests isn't going up.
The text was updated successfully, but these errors were encountered: