From 5ca09fd5d7452ee34ca522afb3ffa90b3d2d3eff Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Fri, 18 Nov 2022 10:28:17 -0800 Subject: [PATCH] File Cleanup Remove unused Travis CI config. Remove old group test files, and replace Travis CI status badge with GitHub action badge. --- .travis.yml | 28 ----------------------- README.md | 4 ++-- src/test/resources/get-members-page1.json | 10 -------- src/test/resources/get-members-page2.json | 6 ----- 4 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 .travis.yml delete mode 100644 src/test/resources/get-members-page1.json delete mode 100644 src/test/resources/get-members-page2.json diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bd48163..0000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -dist: trusty -language: java -sudo: false -install: true - -addons: - sonarcloud: - organization: "srvrguy-github" - -jdk: - - oraclejdk8 - -script: - - | - if [ "${TRAVIS_SECURE_ENV_VARS}" == "true" ]; then - echo; - echo "Running Build with SonarCloud Scanning"; - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar $MAVEN_OPTIONS; - else - echo; - echo "Running a normal test suite with no SonarCloud"; - mvn clean install; - fi; - -cache: - directories: - - '$HOME/.m2/repository' - - '$HOME/.sonar/cache' diff --git a/README.md b/README.md index 1106707..b24e613 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Azure Active Directory (AAD) Authentication Plug-in for SonarQube -[![Build Status](https://travis-ci.org/hkamel/sonar-auth-aad.svg?branch=master)](https://travis-ci.org/hkamel/sonar-auth-aad) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=org.almrangers.auth.aad%3Asonar-auth-aad-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=org.almrangers.auth.aad%3Asonar-auth-aad-plugin) +[![Test and Package](https://github.com/hkamel/sonar-auth-aad/actions/workflows/maven.yml/badge.svg?branch=1.3.0)](https://github.com/hkamel/sonar-auth-aad/actions/workflows/maven.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=org.almrangers.auth.aad%3Asonar-auth-aad-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=org.almrangers.auth.aad%3Asonar-auth-aad-plugin) This plugin for SonarQube allows the use of Azure Active Directory (AAD) as an authentication option. @@ -10,4 +10,4 @@ as an authentication option. ## Installation, Setup, and Documentation Information for installation and configuration of this plugin is located -at https://github.com/hkamel/sonar-auth-aad/wiki \ No newline at end of file +at https://github.com/hkamel/sonar-auth-aad/wiki diff --git a/src/test/resources/get-members-page1.json b/src/test/resources/get-members-page1.json deleted file mode 100644 index 90e3cd0..0000000 --- a/src/test/resources/get-members-page1.json +++ /dev/null @@ -1,10 +0,0 @@ - -{ - "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#directoryObjects", - "@odata.nextLink": "https://graph.microsoft.com/v1.0/536e97e9-0d29-43ec-b8d5-a505d3ee6a8f/users/abc.xyz@example.com/memberOf?$skiptoken=RANDOMTOKEN", - "value": [ - { "displayName": "Group1" }, - { "displayName": "Group2" }, - { "displayName": "Group3" } - ] -} diff --git a/src/test/resources/get-members-page2.json b/src/test/resources/get-members-page2.json deleted file mode 100644 index ff6a560..0000000 --- a/src/test/resources/get-members-page2.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "value": [ - { "displayName": "Group4" }, - { "displayName": "Group5" } - ] -} \ No newline at end of file