src/main/java/org/edgegallery/appstore/application/inner/AppService.java
public void loadTestTask(String appId, String packageId, AtpMetadata atpMetadata) {
        String status = atpService.getAtpTaskResult(atpMetadata.getToken(), atpMetadata.getTestTaskId());
        if (status != null) {
            Release release = packageRepository.findReleaseById(appId, packageId);
            release.setStatus(EnumPackageStatus.fromString(status));
            release.setTestTaskId(atpMetadata.getTestTaskId());
            packageRepository.updateRelease(release);
        }
    }
/**
     * load test task status from atp.
     *
     * @param packageId package id
     * @param atpMetadata atp data
     */
load test task status from atp.
@param packageId package id
@param atpMetadata atp data
load test task status from atp . @param packageId package id @param atpMetadata atp data
public void loadTestTask(String appId, String packageId, AtpMetadata atpMetadata) {
        String status = atpService.getAtpTaskResult(atpMetadata.getToken(), atpMetadata.getTestTaskId());
        if (status != null) {
            Release release = packageRepository.findReleaseById(appId, packageId);
            release.setStatus(EnumPackageStatus.fromString(status));
            release.setTestTaskId(atpMetadata.getTestTaskId());
            packageRepository.updateRelease(release);
        }
    }
public void loadTestTask ( String appId , String packageId , AtpMetadata atpMetadata ) { String status = atpService . getAtpTaskResult ( atpMetadata . getToken ( ) , atpMetadata . getTestTaskId ( ) ) ; if ( status != null ) { Release release = packageRepository . findReleaseById ( appId , packageId ) ; release . setStatus ( EnumPackageStatus . fromString ( status ) ) ; release . setTestTaskId ( atpMetadata . getTestTaskId ( ) ) ; packageRepository . updateRelease ( release ) ; } }
load test task status from atp.
load test task status from atp .