Skip to content

Commit

Permalink
Revert "refactor(*): Pull jenkins out into separate module; create ne…
Browse files Browse the repository at this point in the history
…w core abstractions (spinnaker#594)"

This reverts commit bb103cd.
  • Loading branch information
Travis Tomsu committed Feb 24, 2020
1 parent ce990e3 commit 7085fa1
Show file tree
Hide file tree
Showing 120 changed files with 1,989 additions and 2,799 deletions.
3 changes: 0 additions & 3 deletions igor-core/igor-core.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
dependencies {
implementation "org.springframework.boot:spring-boot-starter-web"

implementation "com.netflix.spinnaker.fiat:fiat-core:$fiatVersion"
implementation "com.netflix.spinnaker.kork:kork-artifacts"
implementation "com.netflix.spinnaker.kork:kork-core"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static class BuildProperties {
*/
private int pollInterval = 60;

/** TODO(jc): Please document TODO(rz): Duration */
/** TODO(jc): Please document */
private int lookBackWindowMins = 10 * 60 * 60;

/** TODO(jc): Please document */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import lombok.Getter;
import lombok.experimental.Wither;

/** TODO(rz): Rename to GitRevision. */
@Getter
@EqualsAndHashCode(of = "sha1")
@Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@RequiredArgsConstructor
@Data
public class ArtifactoryEvent implements Event {
public class ArtifactoryEvent extends Event {
private final Content content;
private final Map<String, String> details =
ImmutableMap.<String, String>builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package com.netflix.spinnaker.igor.history.model

import com.netflix.spinnaker.igor.build.model.GenericArtifact

class DockerEvent implements Event {
class DockerEvent extends Event {
Content content
GenericArtifact artifact

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright 2020 Netflix, Inc.
* Copyright 2016 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* 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
*
Expand All @@ -13,6 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.netflix.spinnaker.igor.build.model;

public interface TestResult {}
package com.netflix.spinnaker.igor.history.model

abstract class Event {
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public interface PollingMonitor extends ApplicationListener<RemoteStatusChangedE

Long getLastPoll();

/** TODO(rz): Duration. This value is used as seconds. */
int getPollInterval();

boolean isPollingEnabled();
Expand Down

This file was deleted.

56 changes: 0 additions & 56 deletions igor-monitor-jenkins/igor-monitor-jenkins.gradle

This file was deleted.

Loading

0 comments on commit 7085fa1

Please sign in to comment.