[java-identity-provider] branch master updated: IDP-1595 Remove support for legacy Plugin Description
Rod Widdowson
rdw at steadingsoftware.com
Fri Jul 17 10:00:35 UTC 2020
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=21f32f41923ba897eb466bb61b5a8878a13b6f07
The following commit(s) were added to refs/heads/master by this push:
new 21f32f419 IDP-1595 Remove support for legacy Plugin Description
21f32f419 is described below
commit 21f32f41923ba897eb466bb61b5a8878a13b6f07
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Jul 17 10:54:37 2020 +0100
IDP-1595 Remove support for legacy Plugin Description
https://issues.shibboleth.net/jira/browse/IDP-1595
The code is about to go from java support so we cannot support it.
---
.../idp/installer/plugin/impl/PluginState.java | 73 ----------------------
1 file changed, 73 deletions(-)
diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginState.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginState.java
deleted file mode 100644
index b0c9853dc..000000000
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginState.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Licensed to the University Corporation for Advanced Internet Development,
- * Inc. (UCAID) under one or more contributor license agreements. See the
- * NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The UCAID 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 net.shibboleth.idp.installer.plugin.impl;
-
-import java.io.IOException;
-import java.net.URL;
-import java.nio.file.Path;
-import java.util.List;
-
-import javax.annotation.Nonnull;
-
-import net.shibboleth.idp.plugin.PluginDescription;
-import net.shibboleth.utilities.java.support.collection.Pair;
-
-/**
- * A class which will answer questions about a plugin state as of now
- * (by querying the information Resources for the current published state).
- */
- at Deprecated public final class PluginState extends net.shibboleth.idp.plugin.impl.PluginState {
-
- /**
- * Constructor.
- *
- * @param description old style description
- */
- @Deprecated
- public PluginState(@Nonnull final net.shibboleth.utilities.java.support.plugin.PluginDescription description) {
- super(new PluginDescription() {
- public List<URL> getUpdateURLs() throws IOException {
- return description.getUpdateURLs();
- }
- public List<Pair<Path, List<String>>> getPropertyMerges() {
- return description.getPropertyMerges();
- }
- public String getPluginId() {
- return description.getPluginId();
- }
- public int getPatchVersion() {
- return description.getPatchVersion();
- }
- public int getMinorVersion() {
- return description.getMinorVersion();
- }
- public int getMajorVersion() {
- return description.getMajorVersion();
- }
- public List<Path> getFilePathsToCopy() {
- return description.getFilePathsToCopy();
- }
- public List<Pair<URL, Path>> getExternalFilePathsToCopy() throws IOException {
- return description.getExternalFilePathsToCopy();
- }
- public List<String> getAdditionalPropertyFiles() {
- return description.getAdditionalPropertyFiles();
- }
- });
- }
-}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list