This is an automated email from the ASF dual-hosted git repository.
ofuks pushed a commit to branch sonar
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/sonar by this push:
new 07b88e0 [DLAB-1870] Intigration with sonar
07b88e0 is described below
commit 07b88e0e362cc51497d21a0f28501cc0bbd7841e
Author: Oleh Fuks <[email protected]>
AuthorDate: Wed Jul 22 19:00:51 2020 +0300
[DLAB-1870] Intigration with sonar
---
pom.xml | 1 +
services/common/pom.xml | 4 +++
.../dlab/auth/conf/AzureLoginConfiguration.java | 39 ----------------------
.../epam/dlab/auth/conf/GcpLoginConfiguration.java | 33 ------------------
4 files changed, 5 insertions(+), 72 deletions(-)
diff --git a/pom.xml b/pom.xml
index d6f6207..1f153c7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,6 +116,7 @@
<logback.version>1.2.3</logback.version>
<commons-fileupload.version>1.3.3</commons-fileupload.version>
</properties>
+
<dependencyManagement>
<dependencies>
<dependency>
diff --git a/services/common/pom.xml b/services/common/pom.xml
index 1bf66dd..60d70fe 100644
--- a/services/common/pom.xml
+++ b/services/common/pom.xml
@@ -28,4 +28,8 @@
</parent>
<artifactId>common</artifactId>
+
+ <properties>
+ <sonar.coverage.skip>true</sonar.coverage.skip>
+ </properties>
</project>
diff --git
a/services/common/src/main/java/com/epam/dlab/auth/conf/AzureLoginConfiguration.java
b/services/common/src/main/java/com/epam/dlab/auth/conf/AzureLoginConfiguration.java
deleted file mode 100644
index cf6331c..0000000
---
a/services/common/src/main/java/com/epam/dlab/auth/conf/AzureLoginConfiguration.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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 to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package com.epam.dlab.auth.conf;
-
-import lombok.Getter;
-
-@Getter
-public class AzureLoginConfiguration {
- private boolean useLdap;
- private boolean silent;
- private String tenant;
- private String authority;
- private String clientId;
- private String redirectUrl;
- private String responseMode;
- private String prompt;
- private String loginPage;
- private boolean validatePermissionScope;
- private String permissionScope;
- private String managementApiAuthFile;
- private long maxSessionDurabilityMilliseconds = 8L * 60L * 60L *
1000L;// 8 hours
-}
diff --git
a/services/common/src/main/java/com/epam/dlab/auth/conf/GcpLoginConfiguration.java
b/services/common/src/main/java/com/epam/dlab/auth/conf/GcpLoginConfiguration.java
deleted file mode 100644
index 6dbaf02..0000000
---
a/services/common/src/main/java/com/epam/dlab/auth/conf/GcpLoginConfiguration.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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 to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package com.epam.dlab.auth.conf;
-
-import lombok.Data;
-
-@Data
-public class GcpLoginConfiguration {
- private final boolean oauth2authenticationEnabled;
- private final String redirectedUri;
- private final String clientId;
- private final String clientSecret;
- private final String applicationName;
- private final int userStateCacheSize;
- private final long userStateCacheExpirationTime;
-}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]