#----------------------------------------------------------------------------------------------------------------------- # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance # with the License. A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions # and limitations under the License. #----------------------------------------------------------------------------------------------------------------------- Feature: Bulk Certificates # Note: Testing of Get call is done in the create and delete steps Scenario: Request a New Batch of Certificates Given batch "integration-test-batch" does not exist When I request batch certificates with batch id "integration-test-batch" and batchInfo """ { "certInfo":{ "commonName": "test.org", "organization": "integration", "organizationalUnit": "test", "locality": "Testville", "state": "CA", "country": "US", "emailAddress": "info@test.org" }, "tag": "integration-test-bulk-certs", "quantity":5, "register": false, "batchId": "integration-test-batch" } """ Then batch id "integration-test-batch" will have been created with a quantity of 5 and a tag of "integration-test-bulk-certs" Scenario: Delete a Batch of Certificates Given batch "integration-test-batch" exists When I delete the batch "integration-test-batch" Then batch id "integration-test-batch" does not exist