aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/MockAwsEventFetcher.java
blob: b0b06fc6c83592130d6d3478159b698147a28e16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.yahoo.vespa.hosted.controller.api.integration.aws;

import com.yahoo.vespa.hosted.controller.api.integration.organization.Issue;

import java.util.List;
import java.util.Optional;

public class MockAwsEventFetcher implements AwsEventFetcher {
    @Override
    public List<CloudEvent> getEvents(String awsRegionName) {
        return List.of();
    }

    @Override
    public Issue createIssue(CloudEvent event) {
        return new Issue("summary", "description", "VESPA", Optional.empty());
    }
}