Search in sources :

Example 6 with Repository

use of org.sonar.alm.client.bitbucket.bitbucketcloud.Repository in project sonarqube by SonarSource.

the class SearchBitbucketCloudReposActionTest method getBBCRepo2.

private Repository getBBCRepo2() {
    Project project2 = new Project("PROJECT-UUID-TWO", "projectKey2", "projectName2");
    Repository repo2 = new Repository("REPO-UUID-TWO", "repo-slug-2", "repoName2", project2, null);
    return repo2;
}
Also used : Project(org.sonar.alm.client.bitbucket.bitbucketcloud.Project) Repository(org.sonar.alm.client.bitbucket.bitbucketcloud.Repository)

Aggregations

Repository (org.sonar.alm.client.bitbucket.bitbucketcloud.Repository)6 AlmSettingDto (org.sonar.db.alm.setting.AlmSettingDto)4 ProjectAlmSettingDto (org.sonar.db.alm.setting.ProjectAlmSettingDto)4 Test (org.junit.Test)2 Project (org.sonar.alm.client.bitbucket.bitbucketcloud.Project)2 DbSession (org.sonar.db.DbSession)2 ProjectDto (org.sonar.db.project.ProjectDto)2 UserDto (org.sonar.db.user.UserDto)2 List (java.util.List)1 Map (java.util.Map)1 Objects.requireNonNull (java.util.Objects.requireNonNull)1 Optional (java.util.Optional)1 Optional.ofNullable (java.util.Optional.ofNullable)1 Set (java.util.Set)1 BinaryOperator (java.util.function.BinaryOperator)1 Collectors.toList (java.util.stream.Collectors.toList)1 Collectors.toMap (java.util.stream.Collectors.toMap)1 Collectors.toSet (java.util.stream.Collectors.toSet)1 BitbucketCloudRestClient (org.sonar.alm.client.bitbucket.bitbucketcloud.BitbucketCloudRestClient)1 MainBranch (org.sonar.alm.client.bitbucket.bitbucketcloud.MainBranch)1