index
int64
0
0
repo_id
stringlengths
26
205
file_path
stringlengths
51
246
content
stringlengths
8
433k
__index_level_0__
int64
0
10k
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation/workflow/step/TaskEvictionResultStoreStepTest.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,500
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation/workflow/step/MustBeRelocatedSelfManagedTaskCollectorStepTest.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,501
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation/workflow/step/TaskEvictionStepTest.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,502
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation/connector/TitusNodePredicatesTest.java
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,503
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/test/java/com/netflix/titus/supplementary/relocation/connector/KubernetesNodeDataResolverTest.java
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,504
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/RelocationConfiguration.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,505
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/RelocationLeaderActivator.java
/* * Copyright 2019 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,506
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/RelocationMetrics.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,507
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/descheduler/DeschedulerService.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,508
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/descheduler/EvictionQuotaTracker.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,509
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/descheduler/DefaultDeschedulerService.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,510
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/descheduler/TaskMigrationDescheduler.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,511
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/descheduler/DeschedulerException.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,512
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/descheduler/DeschedulerComponent.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,513
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/descheduler/EvacuatedAgentsAllocationTracker.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,514
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/util/RelocationUtil.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,515
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/util/RelocationPredicates.java
/* * Copyright 2019 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,516
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint/TaskRelocationPlanPredicate.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,517
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint/grpc/ReactorTaskRelocationGrpcService.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,518
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint/grpc/TaskRelocationGrpcComponent.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,519
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint/grpc/TaskRelocationGrpcServerRunner.java
/* * Copyright 2019 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,520
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint/rest/TaskRelocationSpringResource.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,521
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/endpoint/rest/TaskRelocationExceptionHandler.java
/* * Copyright 2019 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,522
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/NodeConditionController.java
package com.netflix.titus.supplementary.relocation.workflow; import com.netflix.titus.api.common.LeaderActivationListener; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import reactor.core.publisher.Mono; public interface NodeConditionController extends LeaderActivationListener { }
1,523
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/NodeConditionCtrlMetrics.java
package com.netflix.titus.supplementary.relocation.workflow; import com.netflix.spectator.api.Gauge; import com.netflix.spectator.api.Registry; import com.netflix.titus.supplementary.relocation.RelocationMetrics; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class NodeConditionCtrlMetrics { priv...
1,524
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/TaskRelocationWorkflowComponent.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,525
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/DeschedulingResultLogger.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,526
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/DefaultNodeConditionController.java
package com.netflix.titus.supplementary.relocation.workflow; import java.time.Duration; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import com.google.common.annotations.VisibleForTesting; imp...
1,527
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/WorkflowMetrics.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,528
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/RelocationWorkflowException.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,529
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/DefaultRelocationWorkflowExecutor.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,530
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/RelocationWorkflowExecutor.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,531
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/step/TaskEvictionStep.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,532
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/step/MustBeRelocatedSelfManagedTaskCollectorStep.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,533
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/step/RelocationTransactionLogger.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,534
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/step/MustBeRelocatedTaskStoreUpdateStep.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,535
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/step/StepMetrics.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,536
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/step/DeschedulerStep.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,537
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/step/RelocationMetricsStep.java
/* * Copyright 2019 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,538
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/workflow/step/TaskEvictionResultStoreStep.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,539
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/model/DeschedulingFailure.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,540
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/model/DeschedulingResult.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,541
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/connector/KubernetesNodeDataResolver.java
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,542
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/connector/NodeDataResolver.java
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,543
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/connector/NodePredicates.java
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,544
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/connector/TitusNode.java
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,545
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/connector/NodeDataResolverComponent.java
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,546
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store/TaskRelocationStoreActivator.java
/* * Copyright 2021 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,547
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store/TaskRelocationResultStore.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,548
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store/TaskRelocationStore.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,549
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store/memory/InMemoryTaskRelocationResultStore.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,550
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store/memory/InMemoryRelocationStoreComponent.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,551
0
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store
Create_ds/titus-control-plane/titus-supplementary-component/task-relocation/src/main/java/com/netflix/titus/supplementary/relocation/store/memory/InMemoryTaskRelocationStore.java
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,552
0
Create_ds/edda-client/edda-client/src/test/java/com/netflix
Create_ds/edda-client/edda-client/src/test/java/com/netflix/edda/Ec2ClientTests.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,553
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/EddaElasticLoadBalancingClient.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,554
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/AwsConfiguration.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,555
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/EddaRoute53Client.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,556
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/EddaCloudWatchClient.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,557
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/EddaAutoScalingClient.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,558
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/EddaAwsClient.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,559
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/AwsException.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,560
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/EddaContext.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,561
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/AwsClientFactory.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,562
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/JsonHelper.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,563
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/EddaEc2Client.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,564
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/util/Hash.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,565
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/util/ProxyHelper.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,566
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/mapper/InstanceStateView.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,567
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/mapper/LoadBalancerAttributesView.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,568
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/mapper/InstanceStateViewMixIn.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,569
0
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda
Create_ds/edda-client/edda-client/src/main/java/com/netflix/edda/mapper/LoadBalancerAttributesViewMixIn.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,570
0
Create_ds/edda-client/edda-client-module/src/test/java/com/netflix
Create_ds/edda-client/edda-client-module/src/test/java/com/netflix/edda/EddaModuleTest.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,571
0
Create_ds/edda-client/edda-client-module/src/main/java/com/netflix
Create_ds/edda-client/edda-client-module/src/main/java/com/netflix/edda/EddaModule.java
/* * Copyright 2014-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,572
0
Create_ds/aws-codeguru-cli/test-data/source-and-class/src/org/owasp/benchmark
Create_ds/aws-codeguru-cli/test-data/source-and-class/src/org/owasp/benchmark/testcode/BenchmarkTest00001.java
//{fact rule=path-traversal@v1.0 defects=1} /** * OWASP Benchmark v1.2 * * <p>This file is part of the Open Web Application Security Project (OWASP) Benchmark Project. For * details, please see <a * href="https://owasp.org/www-project-benchmark/">https://owasp.org/www-project-benchmark/</a>. * * <p>The OWASP Be...
1,573
0
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli/util/ZipUtilsTest.java
package com.amazonaws.gurureviewercli.util; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.Comparator; import java.util.Enumeration; import java.util.HashSet; import java.util.zip.ZipEntry; im...
1,574
0
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli/util/CodeInsightExportTest.java
package com.amazonaws.gurureviewercli.util; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.DeserializationFeature;...
1,575
0
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli/util/RecommendationsFilterTest.java
package com.amazonaws.gurureviewercli.util; import java.nio.file.Path; import java.nio.file.Paths; import lombok.val; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import com.amazonaws.gurureviewercli.model.configfile.CustomConfiguration; class RecommendationsFilterTest { private ...
1,576
0
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli/adapter/ScanAdapterTest.java
package com.amazonaws.gurureviewercli.adapter; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.List; import lombok.val; import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mo...
1,577
0
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli/adapter/AssociationAdapterTest.java
package com.amazonaws.gurureviewercli.adapter; import java.util.Collections; import lombok.val; import org.beryx.textio.TextIO; import org.beryx.textio.mock.MockTextTerminal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mocki...
1,578
0
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli/adapter/ResultsAdapterTest.java
package com.amazonaws.gurureviewercli.adapter; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Collections; import lombok.val; import org.junit.jupiter.api.Test; import com.amazonaws.gurureviewercli.model.ScanMetaData; import com.amazonaws.gurureviewercli.util.JsonUtil; class ResultsAdapter...
1,579
0
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli/adapter/ArtifactAdapterTest.java
package com.amazonaws.gurureviewercli.adapter; import com.amazonaws.gurureviewercli.model.Configuration; import lombok.val; import org.beryx.textio.TextIO; import org.beryx.textio.mock.MockTextTerminal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test...
1,580
0
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/test/java/com/amazonaws/gurureviewercli/adapter/GitAdapterTest.java
package com.amazonaws.gurureviewercli.adapter; import java.nio.file.Path; import java.nio.file.Paths; import lombok.val; import org.beryx.textio.TextIO; import org.beryx.textio.mock.MockTextTerminal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import com.amazonaws.gurureviewercli.exce...
1,581
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/Main.java
package com.amazonaws.gurureviewercli; import java.io.File; import java.io.IOException; import java.net.URI; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import com.beust.jcommander.JCommander; i...
1,582
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/util/CodeInsightExport.java
package com.amazonaws.gurureviewercli.util; import java.io.IOException; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collection; import java.util.stream.Collectors; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.DeserializationFeature; import com....
1,583
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/util/JsonUtil.java
package com.amazonaws.gurureviewercli.util; import java.io.IOException; import java.nio.file.Path; import java.util.List; import java.util.stream.Collectors; import com.contrastsecurity.sarif.SarifSchema210; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonInclude; i...
1,584
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/util/SarifConverter.java
package com.amazonaws.gurureviewercli.util; import java.io.IOException; import java.net.URI; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import com.contrastsecurity.sarif.ArtifactLocation; import com.cont...
1,585
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/util/RecommendationsFilter.java
package com.amazonaws.gurureviewercli.util; import java.nio.file.FileSystems; import java.nio.file.PathMatcher; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collection; import java.util.List; import lombok.val; import software.amazon.awssdk.services.codegurureviewer.model.RecommendationSum...
1,586
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/util/Log.java
package com.amazonaws.gurureviewercli.util; import java.io.PrintWriter; import java.io.StringWriter; import org.beryx.textio.TextTerminal; import org.beryx.textio.system.SystemTextTerminal; public final class Log { private static final String TEXT_RESET = "\u001B[0m"; private static final String TEXT_BLACK ...
1,587
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/util/RecommendationPrinter.java
package com.amazonaws.gurureviewercli.util; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import lombok.NonNull; import lombok.val; import software.amazon.awssdk.services.codegurureviewer.model.RecommendationSummary; import software.amazon.awssdk.services.codegurureviewer.model...
1,588
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/util/ZipUtils.java
package com.amazonaws.gurureviewercli.util; import lombok.extern.log4j.Log4j2; import lombok.val; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List;...
1,589
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/adapter/ArtifactAdapter.java
package com.amazonaws.gurureviewercli.adapter; import com.amazonaws.gurureviewercli.exceptions.GuruCliException; import com.amazonaws.gurureviewercli.model.Configuration; import com.amazonaws.gurureviewercli.model.ErrorCodes; import com.amazonaws.gurureviewercli.model.ScanMetaData; import com.amazonaws.gurureviewercli...
1,590
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/adapter/ScanAdapter.java
package com.amazonaws.gurureviewercli.adapter; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.UUID; import java.util.concurrent.TimeUnit; import com.beust.jcommander.internal.Nullable; import lombok.val; import sof...
1,591
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/adapter/GitAdapter.java
package com.amazonaws.gurureviewercli.adapter; import javax.annotation.Nonnull; import java.io.IOException; import java.nio.file.Path; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import lombok.val; import org.eclipse.jgit.api.Git; import org.eclipse.jgit.api.errors.GitAPIExcep...
1,592
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/adapter/AssociationAdapter.java
package com.amazonaws.gurureviewercli.adapter; import java.util.concurrent.TimeUnit; import lombok.val; import software.amazon.awssdk.services.codegurureviewer.model.AssociateRepositoryRequest; import software.amazon.awssdk.services.codegurureviewer.model.DescribeRepositoryAssociationRequest; import software.amazon.a...
1,593
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/adapter/ResultsAdapter.java
package com.amazonaws.gurureviewercli.adapter; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import lombok.val...
1,594
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/exceptions/GuruCliException.java
package com.amazonaws.gurureviewercli.exceptions; import lombok.Getter; import com.amazonaws.gurureviewercli.model.ErrorCodes; public class GuruCliException extends RuntimeException { public GuruCliException(final ErrorCodes errorCode) { this.errorCode = errorCode; } public GuruCliException(fin...
1,595
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/model/Recommendation.java
package com.amazonaws.gurureviewercli.model; import java.util.List; import lombok.Data; import lombok.NoArgsConstructor; import lombok.val; import software.amazon.awssdk.services.codegurureviewer.model.RecommendationSummary; /** * Serializable recommendation class */ @Data @NoArgsConstructor public class Recommend...
1,596
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/model/Configuration.java
package com.amazonaws.gurureviewercli.model; import javax.annotation.Nullable; import java.nio.file.Path; import java.util.Collection; import lombok.Builder; import lombok.Data; import org.beryx.textio.TextIO; import software.amazon.awssdk.services.codegurureviewer.CodeGuruReviewerClient; import software.amazon.awssd...
1,597
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/model/GitMetaData.java
package com.amazonaws.gurureviewercli.model; import javax.annotation.Nullable; import java.nio.file.Path; import java.util.Collection; import lombok.Builder; import lombok.Data; /** * Metadata collected about the analyzed git repo. */ @Builder @Data public class GitMetaData { private Path repoRoot; priva...
1,598
0
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli
Create_ds/aws-codeguru-cli/src/main/java/com/amazonaws/gurureviewercli/model/ErrorCodes.java
package com.amazonaws.gurureviewercli.model; import lombok.Getter; /** * Error Codes for the CLI. */ public enum ErrorCodes { ASSOCIATION_FAILED("Failed to associate with CodeGuru"), GIT_INVALID_DIR("Invalid Git Directory"), GIT_BRANCH_MISSING("Cannot determine Git branch"), DIR_NOT_FOUND("Provided...
1,599