diff --git a/octane-eclipse-feature/feature.xml b/octane-eclipse-feature/feature.xml index d5114aa3..ac04b571 100644 --- a/octane-eclipse-feature/feature.xml +++ b/octane-eclipse-feature/feature.xml @@ -2,7 +2,7 @@ @@ -14,17 +14,17 @@ - © Copyright 2017-2022 Micro Focus or one of its affiliates. -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 - - 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 + © Copyright 2017-2022 Micro Focus or one of its affiliates. +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 + + 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. diff --git a/octane-eclipse-feature/pom.xml b/octane-eclipse-feature/pom.xml index 8bc21ee4..1efcaba7 100644 --- a/octane-eclipse-feature/pom.xml +++ b/octane-eclipse-feature/pom.xml @@ -8,7 +8,7 @@ .. com.hpe.adm.octane.ideplugins octane-eclipse-parent - 2022.0.0 + 2022.1.0 octane.eclipse.feature eclipse-feature diff --git a/octane-eclipse-plugin/.classpath b/octane-eclipse-plugin/.classpath index 39b86c95..39ba8761 100644 --- a/octane-eclipse-plugin/.classpath +++ b/octane-eclipse-plugin/.classpath @@ -7,7 +7,11 @@ - + + + + + @@ -15,13 +19,9 @@ - - - - diff --git a/octane-eclipse-plugin/META-INF/MANIFEST.MF b/octane-eclipse-plugin/META-INF/MANIFEST.MF index 3f4f2512..a04b8ac5 100644 --- a/octane-eclipse-plugin/META-INF/MANIFEST.MF +++ b/octane-eclipse-plugin/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: ALM Octane IDE Plugin Bundle-SymbolicName: octane.eclipse.plugin;singleton:=true -Bundle-Version: 2022.0.0 +Bundle-Version: 2022.1.0 Bundle-Vendor: Micro Focus Bundle-Activator: com.hpe.octane.ideplugins.eclipse.Activator Require-Bundle: org.eclipse.core.runtime, @@ -29,13 +29,9 @@ Bundle-ClassPath: ., lib/commons-collections.jar, lib/commons-lang.jar, lib/commons-logging.jar, - lib/google-api-client-gson.jar, - lib/google-api-client-jackson2.jar, - lib/google-api-client.jar, lib/google-http-client-gson.jar, lib/google-http-client-jackson2.jar, lib/google-http-client.jar, - lib/google-oauth-client.jar, lib/gson.jar, lib/guava.jar, lib/guice.jar, diff --git a/octane-eclipse-plugin/build.properties b/octane-eclipse-plugin/build.properties index 2e07b4b2..9d079dbf 100644 --- a/octane-eclipse-plugin/build.properties +++ b/octane-eclipse-plugin/build.properties @@ -10,13 +10,9 @@ bin.includes = plugin.xml,\ lib/commons-collections.jar,\ lib/commons-lang.jar,\ lib/commons-logging.jar,\ - lib/google-api-client-gson.jar,\ - lib/google-api-client-jackson2.jar,\ - lib/google-api-client.jar,\ lib/google-http-client-gson.jar,\ lib/google-http-client-jackson2.jar,\ lib/google-http-client.jar,\ - lib/google-oauth-client.jar,\ lib/gson.jar,\ lib/guava.jar,\ lib/guice.jar,\ diff --git a/octane-eclipse-plugin/pom.xml b/octane-eclipse-plugin/pom.xml index 7e6b3d81..ea8eb3e4 100644 --- a/octane-eclipse-plugin/pom.xml +++ b/octane-eclipse-plugin/pom.xml @@ -8,7 +8,7 @@ com.hpe.adm.octane.ideplugins octane-eclipse-parent - 2022.0.0 + 2022.1.0 octane.eclipse.plugin eclipse-plugin diff --git a/octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/Activator.java b/octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/Activator.java index 8a055339..3c101ab7 100644 --- a/octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/Activator.java +++ b/octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/Activator.java @@ -35,7 +35,7 @@ import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; -import com.hpe.adm.nga.sdk.authentication.Authentication; +import com.hpe.adm.nga.sdk.authentication.JSONAuthentication; import com.hpe.adm.octane.ideplugins.services.connection.BasicConnectionSettingProvider; import com.hpe.adm.octane.ideplugins.services.connection.ConnectionSettings; import com.hpe.adm.octane.ideplugins.services.connection.HttpClientProvider; @@ -154,7 +154,7 @@ public void start(BundleContext context) throws Exception { settingsProviderInstance.setConnectionSettings(new ConnectionSettings()); } else { - Authentication authentication; + JSONAuthentication authentication; if (Boolean.parseBoolean(isBrowserAuth)) { authentication = new GrantTokenAuthentication(); diff --git a/octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/preferences/PluginPreferencePage.java b/octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/preferences/PluginPreferencePage.java index ce4114b6..b44a82fc 100644 --- a/octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/preferences/PluginPreferencePage.java +++ b/octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/preferences/PluginPreferencePage.java @@ -428,7 +428,7 @@ private ConnectionSettings testConnection() { UserAuthentication userAuthentication = (UserAuthentication) newConnectionSettings.getAuthentication(); try { - validateUsernameAndPassword(userAuthentication.getUserName(), userAuthentication.getPassword()); + validateUsernameAndPassword(userAuthentication.getAuthenticationId(), userAuthentication.getAuthenticationSecret()); } catch (ServiceException e) { setConnectionStatus(false, e.getMessage()); return null; diff --git a/octane-eclipse-update-site/pom.xml b/octane-eclipse-update-site/pom.xml index 440b1a42..907983e2 100644 --- a/octane-eclipse-update-site/pom.xml +++ b/octane-eclipse-update-site/pom.xml @@ -8,7 +8,7 @@ .. com.hpe.adm.octane.ideplugins octane-eclipse-parent - 2022.0.0 + 2022.1.0 octane-eclispse-update-site eclipse-update-site diff --git a/octane-eclipse-update-site/site.xml b/octane-eclipse-update-site/site.xml index ce903e71..f3f39bc3 100644 --- a/octane-eclipse-update-site/site.xml +++ b/octane-eclipse-update-site/site.xml @@ -3,7 +3,7 @@ Install the latest verison of the ALM Octane IDE Integration - + diff --git a/pom.xml b/pom.xml index 871863cb..2adf0bfb 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 com.hpe.adm.octane.ideplugins octane-eclipse-parent - 2022.0.0 + 2022.1.0 pom @@ -20,7 +20,7 @@ 1.2.9 1.7.0 - 1.7.2 + 1.8.0-SNAPSHOT 11 15.0 1.0.5