Dataset Viewer
Auto-converted to Parquet Duplicate
Unnamed: 0
int64
0
10k
source
stringlengths
27
7.27k
target
stringlengths
54
7.29k
0
public int enable ( GL gl , int refID ) { synchronized ( LOCK ) { if ( referencedRenderFragments . contains ( refID ) ) { } referencedRenderFragments . add ( refID ) ; loadToGPU ( gl ) ; } return textureID == null ? - 1 : textureID [ 0 ] ; }
public int enable ( GL gl , int refID ) { synchronized ( LOCK ) { if ( referencedRenderFragments . contains ( refID ) ) { LOG . debug ( "Given reference was already registered: {}" , refID ) ; } referencedRenderFragments . add ( refID ) ; loadToGPU ( gl ) ; } return textureID == null ? - 1 : textureID [ 0 ] ; }
1
public static void grepZkLog ( File zkLog , long start , long end , String ... patterns ) { FileInputStream fis = null ; BufferedReader br = null ; try { fis = new FileInputStream ( zkLog ) ; br = new BufferedReader ( new InputStreamReader ( fis ) ) ; String line ; while ( ( line = br . readLine ( ) ) != null ) { try {...
public static void grepZkLog ( File zkLog , long start , long end , String ... patterns ) { FileInputStream fis = null ; BufferedReader br = null ; try { fis = new FileInputStream ( zkLog ) ; br = new BufferedReader ( new InputStreamReader ( fis ) ) ; String line ; while ( ( line = br . readLine ( ) ) != null ) { try {...
2
public static void grepZkLog ( File zkLog , long start , long end , String ... patterns ) { FileInputStream fis = null ; BufferedReader br = null ; try { fis = new FileInputStream ( zkLog ) ; br = new BufferedReader ( new InputStreamReader ( fis ) ) ; String line ; while ( ( line = br . readLine ( ) ) != null ) { try {...
public static void grepZkLog ( File zkLog , long start , long end , String ... patterns ) { FileInputStream fis = null ; BufferedReader br = null ; try { fis = new FileInputStream ( zkLog ) ; br = new BufferedReader ( new InputStreamReader ( fis ) ) ; String line ; while ( ( line = br . readLine ( ) ) != null ) { try {...
3
public CsvDestination setPath ( final String path ) { if ( csvFile != null ) { throw new UnsupportedOperationException ( "Changing the value of path after opening the destination is not allowed." ) ; } if ( outputChannel != null ) { try { outputChannel . close ( ) ; outputChannel = null ; } catch ( final IOException e ...
public CsvDestination setPath ( final String path ) { if ( csvFile != null ) { throw new UnsupportedOperationException ( "Changing the value of path after opening the destination is not allowed." ) ; } if ( outputChannel != null ) { try { outputChannel . close ( ) ; outputChannel = null ; } catch ( final IOException e ...
4
public void handleV2Response ( long ledgerId , long entryId , StatusCode status , BookieProtocol . Response response ) { }
public void handleV2Response ( long ledgerId , long entryId , StatusCode status , BookieProtocol . Response response ) { LOG . warn ( "Unhandled V2 response {}" , response ) ; }
5
private String request ( String uri ) throws ShellyApiException { ShellyApiResult apiResult = new ShellyApiResult ( ) ; int retries = 3 ; boolean timeout = false ; while ( retries > 0 ) { try { apiResult = innerRequest ( HttpMethod . GET , uri ) ; if ( timeout ) { timeoutsRecovered ++ ; } return apiResult . response ; ...
private String request ( String uri ) throws ShellyApiException { ShellyApiResult apiResult = new ShellyApiResult ( ) ; int retries = 3 ; boolean timeout = false ; while ( retries > 0 ) { try { apiResult = innerRequest ( HttpMethod . GET , uri ) ; if ( timeout ) { logger . debug ( "{}: API timeout #{}/{} recovered ({})...
6
private String request ( String uri ) throws ShellyApiException { ShellyApiResult apiResult = new ShellyApiResult ( ) ; int retries = 3 ; boolean timeout = false ; while ( retries > 0 ) { try { apiResult = innerRequest ( HttpMethod . GET , uri ) ; if ( timeout ) { logger . debug ( "{}: API timeout #{}/{} recovered ({})...
private String request ( String uri ) throws ShellyApiException { ShellyApiResult apiResult = new ShellyApiResult ( ) ; int retries = 3 ; boolean timeout = false ; while ( retries > 0 ) { try { apiResult = innerRequest ( HttpMethod . GET , uri ) ; if ( timeout ) { logger . debug ( "{}: API timeout #{}/{} recovered ({})...
7
public boolean wikiPageExists ( final String page ) { if ( m_engine . getManager ( CommandResolver . class ) . getSpecialPageReference ( page ) != null ) { return true ; } Attachment att = null ; try { if ( m_engine . getFinalPageName ( page ) != null ) { return true ; } att = m_engine . getManager ( AttachmentManager ...
public boolean wikiPageExists ( final String page ) { if ( m_engine . getManager ( CommandResolver . class ) . getSpecialPageReference ( page ) != null ) { return true ; } Attachment att = null ; try { if ( m_engine . getFinalPageName ( page ) != null ) { return true ; } att = m_engine . getManager ( AttachmentManager ...
8
public static ExprNode getValidatedSubtree ( ExprNodeOrigin origin , ExprNode exprNode , ExprValidationContext validationContext ) throws ExprValidationException { if ( exprNode instanceof ExprLambdaGoesNode ) { return exprNode ; } try { return getValidatedSubtreeInternal ( exprNode , validationContext , true ) ; } cat...
public static ExprNode getValidatedSubtree ( ExprNodeOrigin origin , ExprNode exprNode , ExprValidationContext validationContext ) throws ExprValidationException { if ( exprNode instanceof ExprLambdaGoesNode ) { return exprNode ; } try { return getValidatedSubtreeInternal ( exprNode , validationContext , true ) ; } cat...
9
public void handleLine ( String line ) { if ( getLogger ( ) . isDebugEnabled ( ) ) { } if ( line . startsWith ( "VALUE " ) ) { String [ ] stuff = line . split ( " " ) ; assert stuff . length == 3 ; assert "VALUE" . equals ( stuff [ 0 ] ) ; flags = Integer . parseInt ( stuff [ 1 ] ) ; count = Integer . parseInt ( stuff ...
public void handleLine ( String line ) { if ( getLogger ( ) . isDebugEnabled ( ) ) { getLogger ( ) . debug ( "Got line %s" , line ) ; } if ( line . startsWith ( "VALUE " ) ) { String [ ] stuff = line . split ( " " ) ; assert stuff . length == 3 ; assert "VALUE" . equals ( stuff [ 0 ] ) ; flags = Integer . parseInt ( st...
10
public void handleLine ( String line ) { if ( getLogger ( ) . isDebugEnabled ( ) ) { getLogger ( ) . debug ( "Got line %s" , line ) ; } if ( line . startsWith ( "VALUE " ) ) { String [ ] stuff = line . split ( " " ) ; assert stuff . length == 3 ; assert "VALUE" . equals ( stuff [ 0 ] ) ; flags = Integer . parseInt ( st...
public void handleLine ( String line ) { if ( getLogger ( ) . isDebugEnabled ( ) ) { getLogger ( ) . debug ( "Got line %s" , line ) ; } if ( line . startsWith ( "VALUE " ) ) { String [ ] stuff = line . split ( " " ) ; assert stuff . length == 3 ; assert "VALUE" . equals ( stuff [ 0 ] ) ; flags = Integer . parseInt ( st...
11
private StoragePool createCLVMStoragePool ( Connect conn , String uuid , String host , String path ) { String volgroupPath = "/dev/" + path ; String volgroupName = path ; volgroupName = volgroupName . replaceFirst ( "/" , "" ) ; LibvirtStoragePoolDef spd = new LibvirtStoragePoolDef ( PoolType . LOGICAL , volgroupName ,...
private StoragePool createCLVMStoragePool ( Connect conn , String uuid , String host , String path ) { String volgroupPath = "/dev/" + path ; String volgroupName = path ; volgroupName = volgroupName . replaceFirst ( "/" , "" ) ; LibvirtStoragePoolDef spd = new LibvirtStoragePoolDef ( PoolType . LOGICAL , volgroupName ,...
12
private StoragePool createCLVMStoragePool ( Connect conn , String uuid , String host , String path ) { String volgroupPath = "/dev/" + path ; String volgroupName = path ; volgroupName = volgroupName . replaceFirst ( "/" , "" ) ; LibvirtStoragePoolDef spd = new LibvirtStoragePoolDef ( PoolType . LOGICAL , volgroupName ,...
private StoragePool createCLVMStoragePool ( Connect conn , String uuid , String host , String path ) { String volgroupPath = "/dev/" + path ; String volgroupName = path ; volgroupName = volgroupName . replaceFirst ( "/" , "" ) ; LibvirtStoragePoolDef spd = new LibvirtStoragePoolDef ( PoolType . LOGICAL , volgroupName ,...
13
private StoragePool createCLVMStoragePool ( Connect conn , String uuid , String host , String path ) { String volgroupPath = "/dev/" + path ; String volgroupName = path ; volgroupName = volgroupName . replaceFirst ( "/" , "" ) ; LibvirtStoragePoolDef spd = new LibvirtStoragePoolDef ( PoolType . LOGICAL , volgroupName ,...
private StoragePool createCLVMStoragePool ( Connect conn , String uuid , String host , String path ) { String volgroupPath = "/dev/" + path ; String volgroupName = path ; volgroupName = volgroupName . replaceFirst ( "/" , "" ) ; LibvirtStoragePoolDef spd = new LibvirtStoragePoolDef ( PoolType . LOGICAL , volgroupName ,...
14
@ BeforeMethod ( alwaysRun = true ) public void setUp ( Method method ) throws Exception { logger . info ( "Creating a new Session for " + method . getName ( ) ) ; sessionHandleString = sHelper . openSession ( lens . getCurrentDB ( ) ) ; }
@ BeforeMethod ( alwaysRun = true ) public void setUp ( Method method ) throws Exception { logger . info ( "Test Name: " + method . getName ( ) ) ; logger . info ( "Creating a new Session for " + method . getName ( ) ) ; sessionHandleString = sHelper . openSession ( lens . getCurrentDB ( ) ) ; }
15
private void logWarnings ( JsonObject body ) { if ( body . has ( "Warnings" ) ) { JsonElement warningsObj = body . get ( "Warnings" ) ; if ( ! warningsObj . isJsonNull ( ) ) { JsonArray warnings = ( JsonArray ) warningsObj ; for ( int i = 0 ; i < warnings . size ( ) ; i ++ ) { } } } }
private void logWarnings ( JsonObject body ) { if ( body . has ( "Warnings" ) ) { JsonElement warningsObj = body . get ( "Warnings" ) ; if ( ! warningsObj . isJsonNull ( ) ) { JsonArray warnings = ( JsonArray ) warningsObj ; for ( int i = 0 ; i < warnings . size ( ) ; i ++ ) { log . warn ( warnings . get ( i ) . getAsS...
16
public GenPolynomial < GenPolynomial < C > > call ( ) { try { GenPolynomial < GenPolynomial < C > > g = e1 . recursiveUnivariateGcd ( P , S ) ; if ( debug ) { } return g ; } catch ( PreemptingException e ) { throw new RuntimeException ( "GCDProxy e1 pre " + e ) ; } catch ( Exception e ) { logger . info ( "GCDProxy e1 "...
public GenPolynomial < GenPolynomial < C > > call ( ) { try { GenPolynomial < GenPolynomial < C > > g = e1 . recursiveUnivariateGcd ( P , S ) ; if ( debug ) { logger . info ( "GCDProxy done e1 " + e1 . getClass ( ) . getName ( ) ) ; } return g ; } catch ( PreemptingException e ) { throw new RuntimeException ( "GCDProxy...
17
public GenPolynomial < GenPolynomial < C > > call ( ) { try { GenPolynomial < GenPolynomial < C > > g = e1 . recursiveUnivariateGcd ( P , S ) ; if ( debug ) { logger . info ( "GCDProxy done e1 " + e1 . getClass ( ) . getName ( ) ) ; } return g ; } catch ( PreemptingException e ) { throw new RuntimeException ( "GCDProxy...
public GenPolynomial < GenPolynomial < C > > call ( ) { try { GenPolynomial < GenPolynomial < C > > g = e1 . recursiveUnivariateGcd ( P , S ) ; if ( debug ) { logger . info ( "GCDProxy done e1 " + e1 . getClass ( ) . getName ( ) ) ; } return g ; } catch ( PreemptingException e ) { throw new RuntimeException ( "GCDProxy...
18
public GenPolynomial < GenPolynomial < C > > call ( ) { try { GenPolynomial < GenPolynomial < C > > g = e1 . recursiveUnivariateGcd ( P , S ) ; if ( debug ) { logger . info ( "GCDProxy done e1 " + e1 . getClass ( ) . getName ( ) ) ; } return g ; } catch ( PreemptingException e ) { throw new RuntimeException ( "GCDProxy...
public GenPolynomial < GenPolynomial < C > > call ( ) { try { GenPolynomial < GenPolynomial < C > > g = e1 . recursiveUnivariateGcd ( P , S ) ; if ( debug ) { logger . info ( "GCDProxy done e1 " + e1 . getClass ( ) . getName ( ) ) ; } return g ; } catch ( PreemptingException e ) { throw new RuntimeException ( "GCDProxy...
19
public GenPolynomial < GenPolynomial < C > > call ( ) { try { GenPolynomial < GenPolynomial < C > > g = e1 . recursiveUnivariateGcd ( P , S ) ; if ( debug ) { logger . info ( "GCDProxy done e1 " + e1 . getClass ( ) . getName ( ) ) ; } return g ; } catch ( PreemptingException e ) { throw new RuntimeException ( "GCDProxy...
public GenPolynomial < GenPolynomial < C > > call ( ) { try { GenPolynomial < GenPolynomial < C > > g = e1 . recursiveUnivariateGcd ( P , S ) ; if ( debug ) { logger . info ( "GCDProxy done e1 " + e1 . getClass ( ) . getName ( ) ) ; } return g ; } catch ( PreemptingException e ) { throw new RuntimeException ( "GCDProxy...
20
protected void doStop ( ) throws Exception { for ( Map . Entry < String , PropertyUserStore > entry : _propertyUserStores . entrySet ( ) ) { try { entry . getValue ( ) . stop ( ) ; } catch ( Exception e ) { } } _propertyUserStores = null ; super . doStop ( ) ; }
protected void doStop ( ) throws Exception { for ( Map . Entry < String , PropertyUserStore > entry : _propertyUserStores . entrySet ( ) ) { try { entry . getValue ( ) . stop ( ) ; } catch ( Exception e ) { LOG . warn ( "Error stopping PropertyUserStore at {}" , entry . getKey ( ) , e ) ; } } _propertyUserStores = null...
21
public RepeatStatus executeStep ( ChunkContext chunkContext , JobExecutionStatusHolder jobExecutionStatusHolder ) throws Exception { String clusterName = getJobParameters ( chunkContext ) . getString ( JobConstants . CLUSTER_NAME_JOB_PARAM ) ; if ( clusterName == null ) { clusterName = getJobParameters ( chunkContext )...
public RepeatStatus executeStep ( ChunkContext chunkContext , JobExecutionStatusHolder jobExecutionStatusHolder ) throws Exception { String clusterName = getJobParameters ( chunkContext ) . getString ( JobConstants . CLUSTER_NAME_JOB_PARAM ) ; if ( clusterName == null ) { clusterName = getJobParameters ( chunkContext )...
22
public RepeatStatus executeStep ( ChunkContext chunkContext , JobExecutionStatusHolder jobExecutionStatusHolder ) throws Exception { String clusterName = getJobParameters ( chunkContext ) . getString ( JobConstants . CLUSTER_NAME_JOB_PARAM ) ; if ( clusterName == null ) { clusterName = getJobParameters ( chunkContext )...
public RepeatStatus executeStep ( ChunkContext chunkContext , JobExecutionStatusHolder jobExecutionStatusHolder ) throws Exception { String clusterName = getJobParameters ( chunkContext ) . getString ( JobConstants . CLUSTER_NAME_JOB_PARAM ) ; if ( clusterName == null ) { clusterName = getJobParameters ( chunkContext )...
23
public void generate ( Model model , MolgenisOptions options ) throws Exception { Template template = createTemplate ( "/" + getClass ( ) . getSimpleName ( ) + ".java.ftl" ) ; Map < String , Object > templateArgs = createTemplateArguments ( options ) ; File target = new File ( this . getDocumentationPath ( options ) + ...
public void generate ( Model model , MolgenisOptions options ) throws Exception { Template template = createTemplate ( "/" + getClass ( ) . getSimpleName ( ) + ".java.ftl" ) ; Map < String , Object > templateArgs = createTemplateArguments ( options ) ; File target = new File ( this . getDocumentationPath ( options ) + ...
24
public final Response getSequence ( final String seqId , boolean next ) { String path ; if ( next ) { path = String . format ( SEQUENCE_PATH , seqId ) + "/next" ; } else { path = String . format ( SEQUENCE_PATH , seqId ) + "/curr" ; } return getObjectToSystemMng ( path ) ; }
public final Response getSequence ( final String seqId , boolean next ) { String path ; if ( next ) { path = String . format ( SEQUENCE_PATH , seqId ) + "/next" ; } else { path = String . format ( SEQUENCE_PATH , seqId ) + "/curr" ; } log . debug ( "seqId='{}'" , seqId ) ; return getObjectToSystemMng ( path ) ; }
25
public void initializeDatabaseContent ( ) { super . initializeDatabaseContent ( ) ; if ( projectInitEnabled ) { } }
public void initializeDatabaseContent ( ) { super . initializeDatabaseContent ( ) ; if ( projectInitEnabled ) { LOG . info ( "Initializing project specific stuff..." ) ; } }
26
public static S3AUnderFileSystem createInstance ( AlluxioURI uri , UnderFileSystemConfiguration conf ) { AWSCredentialsProvider credentials = createAwsCredentialsProvider ( conf ) ; String bucketName = UnderFileSystemUtils . getBucketName ( uri ) ; ClientConfiguration clientConf = new ClientConfiguration ( ) ; if ( con...
public static S3AUnderFileSystem createInstance ( AlluxioURI uri , UnderFileSystemConfiguration conf ) { AWSCredentialsProvider credentials = createAwsCredentialsProvider ( conf ) ; String bucketName = UnderFileSystemUtils . getBucketName ( uri ) ; ClientConfiguration clientConf = new ClientConfiguration ( ) ; if ( con...
27
@ Given ( "the IEC60870 device is not connected" ) public void givenIec60870DeviceIsNotConnected ( ) throws ConnectionFailureException { final DeviceConnection deviceConnection = new DeviceConnection ( mock ( Connection . class ) , this . connectionParameters ) ; when ( this . clientMock . connect ( eq ( this . connect...
@ Given ( "the IEC60870 device is not connected" ) public void givenIec60870DeviceIsNotConnected ( ) throws ConnectionFailureException { LOGGER . debug ( "Given IEC60870 device is not connected" ) ; final DeviceConnection deviceConnection = new DeviceConnection ( mock ( Connection . class ) , this . connectionParameter...
28
public void initialize ( Class < K > keyClass , Class < T > persistentClass , Properties properties ) throws GoraException { super . initialize ( keyClass , persistentClass , properties ) ; try { rethinkDBStoreParameters = RethinkDBStoreParameters . load ( properties ) ; connection = r . connection ( ) . hostname ( ret...
public void initialize ( Class < K > keyClass , Class < T > persistentClass , Properties properties ) throws GoraException { super . initialize ( keyClass , persistentClass , properties ) ; try { rethinkDBStoreParameters = RethinkDBStoreParameters . load ( properties ) ; connection = r . connection ( ) . hostname ( ret...
29
@ POST @ Consumes ( MediaType . APPLICATION_XML ) @ Produces ( MediaType . APPLICATION_XML ) public Response createProvider ( @ Context HttpHeaders hh , @ Context UriInfo uriInfo , String payload ) throws IOException , JAXBException { ProviderHelper providerRestService = getProviderHelper ( ) ; String location ; try { ...
@ POST @ Consumes ( MediaType . APPLICATION_XML ) @ Produces ( MediaType . APPLICATION_XML ) public Response createProvider ( @ Context HttpHeaders hh , @ Context UriInfo uriInfo , String payload ) throws IOException , JAXBException { logger . debug ( "StartOf createProvider - REQUEST Insert /providers" ) ; ProviderHel...
30
@ POST @ Consumes ( MediaType . APPLICATION_XML ) @ Produces ( MediaType . APPLICATION_XML ) public Response createProvider ( @ Context HttpHeaders hh , @ Context UriInfo uriInfo , String payload ) throws IOException , JAXBException { logger . debug ( "StartOf createProvider - REQUEST Insert /providers" ) ; ProviderHel...
@ POST @ Consumes ( MediaType . APPLICATION_XML ) @ Produces ( MediaType . APPLICATION_XML ) public Response createProvider ( @ Context HttpHeaders hh , @ Context UriInfo uriInfo , String payload ) throws IOException , JAXBException { logger . debug ( "StartOf createProvider - REQUEST Insert /providers" ) ; ProviderHel...
31
@ POST @ Consumes ( MediaType . APPLICATION_XML ) @ Produces ( MediaType . APPLICATION_XML ) public Response createProvider ( @ Context HttpHeaders hh , @ Context UriInfo uriInfo , String payload ) throws IOException , JAXBException { logger . debug ( "StartOf createProvider - REQUEST Insert /providers" ) ; ProviderHel...
@ POST @ Consumes ( MediaType . APPLICATION_XML ) @ Produces ( MediaType . APPLICATION_XML ) public Response createProvider ( @ Context HttpHeaders hh , @ Context UriInfo uriInfo , String payload ) throws IOException , JAXBException { logger . debug ( "StartOf createProvider - REQUEST Insert /providers" ) ; ProviderHel...
32
public static SignatureAndHashAlgorithm forCertificateKeyPair ( CertificateKeyPair keyPair , Chooser chooser ) { Sets . SetView < SignatureAndHashAlgorithm > intersection = Sets . intersection ( Sets . newHashSet ( chooser . getClientSupportedSignatureAndHashAlgorithms ( ) ) , Sets . newHashSet ( chooser . getServerSup...
public static SignatureAndHashAlgorithm forCertificateKeyPair ( CertificateKeyPair keyPair , Chooser chooser ) { Sets . SetView < SignatureAndHashAlgorithm > intersection = Sets . intersection ( Sets . newHashSet ( chooser . getClientSupportedSignatureAndHashAlgorithms ( ) ) , Sets . newHashSet ( chooser . getServerSup...
33
private void entering ( final String taskName ) { }
private void entering ( final String taskName ) { LOGGER . info ( ">>> {}" , taskName ) ; }
34
private void stopUAV ( UAVHttpMessage data ) { final String pid = data . getRequest ( "pid" ) ; final String profile = data . getRequest ( "profile" ) ; if ( pid == null || profile == null ) { data . putResponse ( "rs" , "ERR" ) ; return ; } Thread t = new Thread ( new Runnable ( ) { private void stopOnWin ( ) { OSProc...
private void stopUAV ( UAVHttpMessage data ) { final String pid = data . getRequest ( "pid" ) ; final String profile = data . getRequest ( "profile" ) ; log . warn ( this , "STOP UAV node: pid=" + pid + ", profile=" + profile ) ; if ( pid == null || profile == null ) { data . putResponse ( "rs" , "ERR" ) ; return ; } T...
35
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
36
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
37
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
38
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
39
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
40
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
41
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
42
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
43
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
44
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
private < T extends HttpRequestBase > JSONObject doRequest ( Class < T > requestType , String requestUrl , String adminUser , String adminPassword , JSONObject requestParams ) throws InstantiationException , IllegalAccessException { AlfrescoHttpClient client = alfrescoHttpClientFactory . getObject ( ) ; T request = req...
45
protected void messagesFailure ( Throwable cause , List < ? extends Message > messages ) { for ( Message message : messages ) { if ( logger . isDebugEnabled ( ) ) { } Message . Mutable failed = newReply ( message ) ; failed . setSuccessful ( false ) ; Map < String , Object > failure = new HashMap < > ( ) ; failed . put...
protected void messagesFailure ( Throwable cause , List < ? extends Message > messages ) { for ( Message message : messages ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Failing {}" , message ) ; } Message . Mutable failed = newReply ( message ) ; failed . setSuccessful ( false ) ; Map < String , Object > ...
46
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; if ( NullChecker . isNotNullish ( sValue ) ) { retryDelayProp = Integer . parseInt ( sValue ) ; } } catch ( PropertyAccessException...
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
47
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
48
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
49
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
50
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
private int getRetryDelayFromConfig ( ) { int retryDelayProp = 0 ; try { String sValue = propertyAccessor . getProperty ( NhincConstants . GATEWAY_PROPERTY_FILE , CONFIG_KEY_RETRYDELAY ) ; LOG . debug ( "Retrieved from config file (" + CONFIG_FILE + ".properties) " + CONFIG_KEY_RETRYDELAY + "='" + sValue + "')" ) ; if ...
51
protected synchronized void protocolsAdded ( final Set < String > protocols ) { try { testStart ( ) ; } catch ( final Exception e ) { logger . warn ( "Failed to start" , e ) ; } }
protected synchronized void protocolsAdded ( final Set < String > protocols ) { logger . info ( "Protocols added - {}" , protocols ) ; try { testStart ( ) ; } catch ( final Exception e ) { logger . warn ( "Failed to start" , e ) ; } }
52
protected synchronized void protocolsAdded ( final Set < String > protocols ) { logger . info ( "Protocols added - {}" , protocols ) ; try { testStart ( ) ; } catch ( final Exception e ) { } }
protected synchronized void protocolsAdded ( final Set < String > protocols ) { logger . info ( "Protocols added - {}" , protocols ) ; try { testStart ( ) ; } catch ( final Exception e ) { logger . warn ( "Failed to start" , e ) ; } }
53
public void push ( final Message msg ) { if ( this . thread . isInterrupted ( ) ) { throw new IllegalStateException ( String . format ( "Thread %s was interrupted, state=%s" , this . thread . getName ( ) , this . thread . getState ( ) ) ) ; } this . msgs . removeIf ( next -> Objects . equals ( next . getMessageId ( ) ,...
public void push ( final Message msg ) { if ( this . thread . isInterrupted ( ) ) { throw new IllegalStateException ( String . format ( "Thread %s was interrupted, state=%s" , this . thread . getName ( ) , this . thread . getState ( ) ) ) ; } this . msgs . removeIf ( next -> Objects . equals ( next . getMessageId ( ) ,...
54
public void push ( final Message msg ) { if ( this . thread . isInterrupted ( ) ) { throw new IllegalStateException ( String . format ( "Thread %s was interrupted, state=%s" , this . thread . getName ( ) , this . thread . getState ( ) ) ) ; } this . msgs . removeIf ( next -> Objects . equals ( next . getMessageId ( ) ,...
public void push ( final Message msg ) { if ( this . thread . isInterrupted ( ) ) { throw new IllegalStateException ( String . format ( "Thread %s was interrupted, state=%s" , this . thread . getName ( ) , this . thread . getState ( ) ) ) ; } this . msgs . removeIf ( next -> Objects . equals ( next . getMessageId ( ) ,...
55
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { } } String ...
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
56
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
57
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
58
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
59
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
private void initJobParameters ( Properties props ) { String jobBatchSizeProperty = props . getProperty ( TASKANA_JOB_HISTORY_BATCH_SIZE ) ; if ( jobBatchSizeProperty != null && ! jobBatchSizeProperty . isEmpty ( ) ) { try { batchSize = Integer . parseInt ( jobBatchSizeProperty ) ; } catch ( Exception e ) { LOGGER . wa...
60
public void stop ( ) { ESClient client = ( ESClient ) this . getConfigManager ( ) . getComponent ( this . feature , "ESClient" ) ; if ( client != null ) { client . close ( ) ; } if ( jtaQueryServerWorker != null ) { jtaQueryServerWorker . stop ( ) ; if ( log . isTraceEnable ( ) ) { } } super . stop ( ) ; }
public void stop ( ) { ESClient client = ( ESClient ) this . getConfigManager ( ) . getComponent ( this . feature , "ESClient" ) ; if ( client != null ) { client . close ( ) ; } if ( jtaQueryServerWorker != null ) { jtaQueryServerWorker . stop ( ) ; if ( log . isTraceEnable ( ) ) { log . info ( this , "ThreadAnalysisQu...
61
private StringBuilder fetchEntities ( final QanaryQuestion < String > qanaryQuestion , final QanaryUtils qanaryUtils ) throws SparqlQueryFailed { final String sparql = "" + "PREFIX qa: <http://www.wdaqua.eu/qa#> " + "PREFIX oa: <http://www.w3.org/ns/openannotation/core/> " + "PREFIX xsd: <http://www.w3.org/2001/XMLSche...
private StringBuilder fetchEntities ( final QanaryQuestion < String > qanaryQuestion , final QanaryUtils qanaryUtils ) throws SparqlQueryFailed { final String sparql = "" + "PREFIX qa: <http://www.wdaqua.eu/qa#> " + "PREFIX oa: <http://www.w3.org/ns/openannotation/core/> " + "PREFIX xsd: <http://www.w3.org/2001/XMLSche...
62
private StringBuilder fetchEntities ( final QanaryQuestion < String > qanaryQuestion , final QanaryUtils qanaryUtils ) throws SparqlQueryFailed { final String sparql = "" + "PREFIX qa: <http://www.wdaqua.eu/qa#> " + "PREFIX oa: <http://www.w3.org/ns/openannotation/core/> " + "PREFIX xsd: <http://www.w3.org/2001/XMLSche...
private StringBuilder fetchEntities ( final QanaryQuestion < String > qanaryQuestion , final QanaryUtils qanaryUtils ) throws SparqlQueryFailed { final String sparql = "" + "PREFIX qa: <http://www.wdaqua.eu/qa#> " + "PREFIX oa: <http://www.w3.org/ns/openannotation/core/> " + "PREFIX xsd: <http://www.w3.org/2001/XMLSche...
63
protected synchronized Status doProcess ( ) throws EventDeliveryException { boolean error = true ; try { if ( consumer == null ) { consumer = createConsumer ( ) ; } List < Event > events = consumer . take ( ) ; int size = events . size ( ) ; if ( size == 0 ) { error = false ; return Status . BACKOFF ; } sourceCounter ....
protected synchronized Status doProcess ( ) throws EventDeliveryException { boolean error = true ; try { if ( consumer == null ) { consumer = createConsumer ( ) ; } List < Event > events = consumer . take ( ) ; int size = events . size ( ) ; if ( size == 0 ) { error = false ; return Status . BACKOFF ; } sourceCounter ....
64
protected synchronized Status doProcess ( ) throws EventDeliveryException { boolean error = true ; try { if ( consumer == null ) { consumer = createConsumer ( ) ; } List < Event > events = consumer . take ( ) ; int size = events . size ( ) ; if ( size == 0 ) { error = false ; return Status . BACKOFF ; } sourceCounter ....
protected synchronized Status doProcess ( ) throws EventDeliveryException { boolean error = true ; try { if ( consumer == null ) { consumer = createConsumer ( ) ; } List < Event > events = consumer . take ( ) ; int size = events . size ( ) ; if ( size == 0 ) { error = false ; return Status . BACKOFF ; } sourceCounter ....
65
protected synchronized Status doProcess ( ) throws EventDeliveryException { boolean error = true ; try { if ( consumer == null ) { consumer = createConsumer ( ) ; } List < Event > events = consumer . take ( ) ; int size = events . size ( ) ; if ( size == 0 ) { error = false ; return Status . BACKOFF ; } sourceCounter ....
protected synchronized Status doProcess ( ) throws EventDeliveryException { boolean error = true ; try { if ( consumer == null ) { consumer = createConsumer ( ) ; } List < Event > events = consumer . take ( ) ; int size = events . size ( ) ; if ( size == 0 ) { error = false ; return Status . BACKOFF ; } sourceCounter ....
66
protected synchronized Status doProcess ( ) throws EventDeliveryException { boolean error = true ; try { if ( consumer == null ) { consumer = createConsumer ( ) ; } List < Event > events = consumer . take ( ) ; int size = events . size ( ) ; if ( size == 0 ) { error = false ; return Status . BACKOFF ; } sourceCounter ....
protected synchronized Status doProcess ( ) throws EventDeliveryException { boolean error = true ; try { if ( consumer == null ) { consumer = createConsumer ( ) ; } List < Event > events = consumer . take ( ) ; int size = events . size ( ) ; if ( size == 0 ) { error = false ; return Status . BACKOFF ; } sourceCounter ....
67
public Integer getProducerMaxRate ( ) { if ( logger . isTraceEnabled ( ) ) { } return raProperties . getProducerMaxRate ( ) ; }
public Integer getProducerMaxRate ( ) { if ( logger . isTraceEnabled ( ) ) { logger . trace ( "getProducerMaxRate()" ) ; } return raProperties . getProducerMaxRate ( ) ; }
68
public boolean createDirectory ( String keyName ) throws IOException { incrementCounter ( Statistic . OBJECTS_CREATED , 1 ) ; try { bucket . createDirectory ( keyName ) ; } catch ( OMException e ) { if ( e . getResult ( ) == OMException . ResultCodes . FILE_ALREADY_EXISTS ) { throw new FileAlreadyExistsException ( e . ...
public boolean createDirectory ( String keyName ) throws IOException { LOG . trace ( "creating dir for key:{}" , keyName ) ; incrementCounter ( Statistic . OBJECTS_CREATED , 1 ) ; try { bucket . createDirectory ( keyName ) ; } catch ( OMException e ) { if ( e . getResult ( ) == OMException . ResultCodes . FILE_ALREADY_...
69
private Object convertAvroBeanToRethinkDBDoc ( final Schema fieldSchema , final MapObject < String , Object > doc ) throws GoraException { Object result ; Class < ? > clazz = null ; try { clazz = ClassLoadingUtils . loadClass ( fieldSchema . getFullName ( ) ) ; } catch ( Exception e ) { throw new GoraException ( e ) ; ...
private Object convertAvroBeanToRethinkDBDoc ( final Schema fieldSchema , final MapObject < String , Object > doc ) throws GoraException { Object result ; Class < ? > clazz = null ; try { clazz = ClassLoadingUtils . loadClass ( fieldSchema . getFullName ( ) ) ; } catch ( Exception e ) { throw new GoraException ( e ) ; ...
70
public Local find ( ) { final Local folder = LocalFactory . get ( LocalFactory . get ( preferences . getProperty ( "local.user.home" ) ) , ".duck" ) ; if ( log . isDebugEnabled ( ) ) { } return folder ; }
public Local find ( ) { final Local folder = LocalFactory . get ( LocalFactory . get ( preferences . getProperty ( "local.user.home" ) ) , ".duck" ) ; if ( log . isDebugEnabled ( ) ) { log . debug ( String . format ( "Use folder %s for application support directory" , folder ) ) ; } return folder ; }
71
public static Collection < Ignite > reconnectServersRestart ( final IgniteLogger log , Ignite client , Collection < Ignite > srvs , Callable < Collection < Ignite > > srvStartC ) throws Exception { final CountDownLatch disconnectLatch = new CountDownLatch ( 1 ) ; final CountDownLatch reconnectLatch = new CountDownLatch...
public static Collection < Ignite > reconnectServersRestart ( final IgniteLogger log , Ignite client , Collection < Ignite > srvs , Callable < Collection < Ignite > > srvStartC ) throws Exception { final CountDownLatch disconnectLatch = new CountDownLatch ( 1 ) ; final CountDownLatch reconnectLatch = new CountDownLatch...
72
public static Collection < Ignite > reconnectServersRestart ( final IgniteLogger log , Ignite client , Collection < Ignite > srvs , Callable < Collection < Ignite > > srvStartC ) throws Exception { final CountDownLatch disconnectLatch = new CountDownLatch ( 1 ) ; final CountDownLatch reconnectLatch = new CountDownLatch...
public static Collection < Ignite > reconnectServersRestart ( final IgniteLogger log , Ignite client , Collection < Ignite > srvs , Callable < Collection < Ignite > > srvStartC ) throws Exception { final CountDownLatch disconnectLatch = new CountDownLatch ( 1 ) ; final CountDownLatch reconnectLatch = new CountDownLatch...
73
private static void activate ( ClassLoader classLoader , Set < String > extensions ) { final ClassLoader originalClassLoader = Thread . currentThread ( ) . getContextClassLoader ( ) ; try { Thread . currentThread ( ) . setContextClassLoader ( classLoader ) ; if ( logger . isDebugEnabled ( ) ) for ( String extensionName...
private static void activate ( ClassLoader classLoader , Set < String > extensions ) { final ClassLoader originalClassLoader = Thread . currentThread ( ) . getContextClassLoader ( ) ; try { Thread . currentThread ( ) . setContextClassLoader ( classLoader ) ; if ( logger . isDebugEnabled ( ) ) logger . debug ( "Activati...
74
protected @ Nullable ModuleHandler internalCreate ( Module module , String ruleUID ) { String moduleTypeUID = module . getTypeUID ( ) ; if ( HueRuleConditionHandler . MODULE_TYPE_ID . equals ( moduleTypeUID ) && module instanceof Condition ) { return new HueRuleConditionHandler ( ( Condition ) module , configStore . ds...
protected @ Nullable ModuleHandler internalCreate ( Module module , String ruleUID ) { logger . trace ( "create {} -> {}" , module . getId ( ) , module . getTypeUID ( ) ) ; String moduleTypeUID = module . getTypeUID ( ) ; if ( HueRuleConditionHandler . MODULE_TYPE_ID . equals ( moduleTypeUID ) && module instanceof Cond...
75
protected @ Nullable ModuleHandler internalCreate ( Module module , String ruleUID ) { logger . trace ( "create {} -> {}" , module . getId ( ) , module . getTypeUID ( ) ) ; String moduleTypeUID = module . getTypeUID ( ) ; if ( HueRuleConditionHandler . MODULE_TYPE_ID . equals ( moduleTypeUID ) && module instanceof Cond...
protected @ Nullable ModuleHandler internalCreate ( Module module , String ruleUID ) { logger . trace ( "create {} -> {}" , module . getId ( ) , module . getTypeUID ( ) ) ; String moduleTypeUID = module . getTypeUID ( ) ; if ( HueRuleConditionHandler . MODULE_TYPE_ID . equals ( moduleTypeUID ) && module instanceof Cond...
76
@ Test public void TestDeleteGenericVnfFailure_5000 ( ) { String request = "<vnf-request xmlns=\"http://openecomp.org/mso/infra/vnf-request/v1\">" + EOL + " <request-info>" + EOL + " <action>DELETE_VF_MODULE</action>" + EOL + " <source>PORTAL</source>" + EOL + " </request-info>" + EOL + " <vnf-inputs>" + EOL +...
@ Test public void TestDeleteGenericVnfFailure_5000 ( ) { String request = "<vnf-request xmlns=\"http://openecomp.org/mso/infra/vnf-request/v1\">" + EOL + " <request-info>" + EOL + " <action>DELETE_VF_MODULE</action>" + EOL + " <source>PORTAL</source>" + EOL + " </request-info>" + EOL + " <vnf-inputs>" + EOL +...
77
private void obtainTokenFileReference ( ) { if ( tokenFile == null ) { tokenFile = dataDir . resolve ( TOKEN_FILE ) ; } }
private void obtainTokenFileReference ( ) { if ( tokenFile == null ) { tokenFile = dataDir . resolve ( TOKEN_FILE ) ; LOG . info ( "Token file: {}" , tokenFile . toAbsolutePath ( ) . toAbsolutePath ( ) ) ; } }
78
public String upload ( ) { if ( valid ) { logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "filename {}" , fileName ) ; logger . debug ( "uploadId {}" , uploadId ) ...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
79
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "filename {}" , fileName ) ; logger . deb...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
80
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "filename {}" , fileName ) ; logger ....
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
81
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "filename {}" , fileName ) ; logger . debug ( "uplo...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
82
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "filename {}" , fileName ) ; logger . debug ( "uploadId {}" , u...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
83
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
84
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
85
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
86
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
87
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
public String upload ( ) { if ( valid ) { logger . info ( "ResourceFileChunksUploadAction Save {}" , fileName ) ; logger . debug ( "start {}" , start ) ; logger . debug ( "end {}" , end ) ; logger . debug ( "fileUpload {}" , fileUpload ) ; logger . debug ( "contentType {}" , fileUploadContentType ) ; logger . debug ( "...
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
3