Skip to content

Commit

Permalink
added DS, SPS features
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-gangl committed Apr 14, 2022
1 parent 22ca1b1 commit abb5d6b
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
8 changes: 8 additions & 0 deletions features/ds/ingest-data.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ Feature: Ingest (copy and catalog) Data in S3 with the U-DS Catalog
Then the product should be searchable in the catalog
And the search result maps to the new file
And the search result maps to a collection

Scenario: Ingest a data file from SPS Processing
Given data products are in a Unity owned bucket
And a metadata sidecar file in a Unity owned bucket
When a CNM populated with required files is sent to the Cumulus SNS Topic
Then the data are cataloged
And the metadata are cataloged
And a success response is sent to the SPS Process
7 changes: 7 additions & 0 deletions features/sps/ades.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Feature: ADES features including the provisioning of an ADES deployment to a venue

Scenario: Deploy an ADES

Scenario: Undeploy an ADES

Scenario: Deploy an ADES with required ancillary (large) data populated
11 changes: 11 additions & 0 deletions features/sps/process.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Feature: Science Processing Service

Scenario: Request an Aglorithm Deployment

Scenario: Undeploy an Algorithm deployment

Scenario: Get the inputs for a given Algorithm deployment

Scenario: Request Processing from an Algorithm deployment

Scenario: Get the result of a process request
30 changes: 30 additions & 0 deletions features/steps/ds/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,33 @@ def step_impl(context):
@then(u'the search result maps to a collection')
def step_impl(context):
raise NotImplementedError(u'STEP: Then the search result maps to a collection')

@given(u'data products are in a Unity owned bucket')
def step_impl(context):
raise NotImplementedError(u'STEP: Given data products are in a Unity owned bucket')


@given(u'a metadata sidecar file in a Unity owned bucket')
def step_impl(context):
raise NotImplementedError(u'STEP: Given a metadata sidecar file in a Unity owned bucket')


@when(u'a CNM populated with required files is sent to the Cumulus SNS Topic')
def step_impl(context):
raise NotImplementedError(u'STEP: When a CNM populated with required files is sent to the Cumulus SNS Topic')


@then(u'the data are cataloged')
def step_impl(context):
raise NotImplementedError(u'STEP: Then the data are cataloged')


@then(u'the metadata are cataloged')
def step_impl(context):
raise NotImplementedError(u'STEP: Then the metadata are cataloged')


@then(u'a success response is sent to the SPS Process')
def step_impl(context):
raise NotImplementedError(u'STEP: Then a success response is sent to the SPS Process')

0 comments on commit abb5d6b

Please sign in to comment.