question: public List < NamespaceVO > findNamespaces ( String appId , Env env , String clusterName ) { List < NamespaceDTO > namespaces = namespaceAPI . findNamespaceByCluster ( appId , env , clusterName ) ; if ( namespaces == null || namespaces . size ( ) == 0 ) { throw new BadRequestException ( "namespaces not exist" ) ; } List < NamespaceVO > namespaceVOs = new LinkedList < > ( ) ; for ( NamespaceDTO namespace : namespaces ) { NamespaceVO namespaceVO = null ; try { namespaceVO = parseNamespace ( appId , env , clusterName , namespace ) ; namespaceVOs . add ( namespaceVO ) ; } catch ( Exception e ) { logger . error ( "parse namespace error. app id:{}, env:{}, clusterName:{}, namespace:{}" , appId , env , clusterName , namespace . getNamespaceName ( ) , e ) ; throw e ; } } return namespaceVOs ; }
target:  load cluster all namespace info with items