@RestController public class AppmarketMigrationController extends Object
| Constructor and Description |
|---|
AppmarketMigrationController() |
| Modifier and Type | Method and Description |
|---|---|
Callable<APIResult> |
validateISVCustomerAccount(Map<String,String> isvCustomerAccountData)
Validate a customer account record that need to be migrated.
|
Callable<APIResult> |
validateISVSubscription(Map<String,String> isvSubscriptionData)
Validate a subscription record that need to be migrated.
|
@RequestMapping(method=POST,
value="/api/v1/migration/validateCustomerAccount",
produces="application/json",
consumes="application/json")
public Callable<APIResult> validateISVCustomerAccount(@RequestBody
Map<String,String> isvCustomerAccountData)
isvCustomerAccountData - A single migration record that is to be validatedAPIResult.success(String) in case the validation is successful and a APIResult.failure(ErrorCode, String)
otherwise.@RequestMapping(method=POST,
value="/api/v1/migration/validateSubscription",
produces="application/json",
consumes="application/json")
public Callable<APIResult> validateISVSubscription(@RequestBody
Map<String,String> isvSubscriptionData)
isvSubscriptionData - the subscription record to be migratedAPIResult.success(String) in case the validation is successful and a APIResult.failure(ErrorCode, String)
otherwise.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.