src/main/java/org/edgegallery/appstore/application/inner/OrderService.java
public String unDeployApp(Order order, String userId, String token) {
        order.setStatus(EnumOrderStatus.DEACTIVATING);
        setOrderDetail(order, EnumOrderOperation.DEACTIVATED.getChinese(),
            EnumOrderOperation.DEACTIVATED.getEnglish());
        orderRepository.updateOrder(order);
        return mecmService.deleteServer(userId, order.getMecPackageId(), token);
    }
/**
     * undeploy app.
     *
     * @param order order info
     * @param userId deactivate user id
     * @param token access token
     * @return mecm response message
     */
undeploy app.
@param order order info
@param userId deactivate user id
@param token access token
@return mecm response message
undeploy app . @param order order info @param userId deactivate user id @param token access token @return mecm response message
public String unDeployApp(Order order, String userId, String token) {
        order.setStatus(EnumOrderStatus.DEACTIVATING);
        setOrderDetail(order, EnumOrderOperation.DEACTIVATED.getChinese(),
            EnumOrderOperation.DEACTIVATED.getEnglish());
        orderRepository.updateOrder(order);
        return mecmService.deleteServer(userId, order.getMecPackageId(), token);
    }
public String unDeployApp ( Order order , String userId , String token ) { order . setStatus ( EnumOrderStatus . DEACTIVATING ) ; setOrderDetail ( order , EnumOrderOperation . DEACTIVATED . getChinese ( ) , EnumOrderOperation . DEACTIVATED . getEnglish ( ) ) ; orderRepository . updateOrder ( order ) ; return mecmService . deleteServer ( userId , order . getMecPackageId ( ) , token ) ; }
undeploy app.
undeploy app .