src/main/java/org/edgegallery/appstore/interfaces/system/web/AppToolCheckController.java
@GetMapping(value = "/check", produces = MediaType.APPLICATION_JSON_VALUE)
    @ApiOperation(value = "app tool check", response = Boolean.class)
    @PreAuthorize("hasRole('APPSTORE_TENANT') || hasRole('APPSTORE_ADMIN') || hasRole('APPSTORE_GUEST')")
    public ResponseEntity<Boolean> appPkgTransToolCheck() {
        Boolean checkResult = "true".equals(appToolEnabled);
        return ResponseEntity.ok(checkResult);
    }
/**
     * check if deploy app package trans tool.
     *
     * @return true or false
     */
check if deploy app package trans tool.
@return true or false
check if deploy app package trans tool . @return true or false
@GetMapping(value = "/check", produces = MediaType.APPLICATION_JSON_VALUE)
    @ApiOperation(value = "app tool check", response = Boolean.class)
    @PreAuthorize("hasRole('APPSTORE_TENANT') || hasRole('APPSTORE_ADMIN') || hasRole('APPSTORE_GUEST')")
    public ResponseEntity<Boolean> appPkgTransToolCheck() {
        Boolean checkResult = "true".equals(appToolEnabled);
        return ResponseEntity.ok(checkResult);
    }
@ GetMapping ( value = "/check" , produces = MediaType . APPLICATION_JSON_VALUE ) @ ApiOperation ( value = "app tool check" , response = Boolean . class ) @ PreAuthorize ( "hasRole('APPSTORE_TENANT') || hasRole('APPSTORE_ADMIN') || hasRole('APPSTORE_GUEST')" ) public ResponseEntity < Boolean > appPkgTransToolCheck ( ) { Boolean checkResult = "true" . equals ( appToolEnabled ) ; return ResponseEntity . ok ( checkResult ) ; }
check if deploy app package trans tool.
check if deploy app package trans tool .