Skip to content

Commit

Permalink
Get migration staged data API (#6673)
Browse files Browse the repository at this point in the history
* Get migration staged data API added

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Minor changes added

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Modified the response type

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Test cases added

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Updated test cases

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Updated parsed data

Signed-off-by: sonali wale <sonali.wale@progress.com>

* json tag updated

Signed-off-by: sonali wale <sonali.wale@progress.com>
  • Loading branch information
sonali523 authored and vinay033 committed May 4, 2022
1 parent 090b1b8 commit 614dbf7
Show file tree
Hide file tree
Showing 29 changed files with 2,155 additions and 331 deletions.
8 changes: 8 additions & 0 deletions .studio/infra-proxy-service
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ function infra_service_integration() {
log_line "Finished loading chef repo..."
}

document "infra_service_migration_integration" <<DOC
Runs the integration tests for the infra_service_migration_integration
DOC
function infra_service_migration_integration() {
# Go based integration tests
A2_SVC_NAME="infra-proxy-service" A2_SVC_PATH="/hab/svc/infra-proxy-service" go_test -run TestStorageStagedDataLoadSampleData -v "github.com/chef/automate/components/infra-proxy-service/integration_test"
}

document "infra_service_load_test_data" <<DOC
run the infra service's integration tests with data.
Expand Down
78 changes: 74 additions & 4 deletions api/external/infra_proxy/migrations/migrations.pb.client_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 614dbf7

Please sign in to comment.