http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/rest/package-info.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/rest/package-info.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/rest/package-info.java index f1a0e79..d35dc7b 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/rest/package-info.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/rest/package-info.java @@ -13,6 +13,22 @@ @XmlNs(prefix = "feed", namespaceURI = FEED), @XmlNs(prefix = "admin", namespaceURI = ADMIN) }) package org.taverna.server.master.rest; +/* + * 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. + */ import static javax.xml.bind.annotation.XmlNsForm.QUALIFIED; import static org.taverna.server.master.common.Namespaces.ADMIN;
http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/DirEntry.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/DirEntry.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/DirEntry.java index f0b7af4..752c6b1 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/DirEntry.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/DirEntry.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.soap; +/* + * 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. + */ import static org.taverna.server.master.common.Namespaces.XLINK; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/FileContents.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/FileContents.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/FileContents.java index 7a536ac..fa9978b 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/FileContents.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/FileContents.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.soap; +/* + * 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. + */ import static java.lang.Math.min; import static java.lang.System.arraycopy; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/PermissionList.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/PermissionList.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/PermissionList.java index b07a187..6568ab2 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/PermissionList.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/PermissionList.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.soap; +/* + * 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. + */ import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/TavernaServerSOAP.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/TavernaServerSOAP.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/TavernaServerSOAP.java index 7992a4d..8fc21bb 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/TavernaServerSOAP.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/TavernaServerSOAP.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.soap; +/* + * 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. + */ import static org.taverna.server.master.common.Namespaces.SERVER_SOAP; import static org.taverna.server.master.common.Roles.USER; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/WrappedWorkflow.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/WrappedWorkflow.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/WrappedWorkflow.java index 52f5267..745876d 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/WrappedWorkflow.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/WrappedWorkflow.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.soap; +/* + * 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. + */ import static javax.xml.bind.annotation.XmlAccessType.NONE; import static org.apache.commons.io.IOUtils.closeQuietly; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/ZippedDirectory.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/ZippedDirectory.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/ZippedDirectory.java index ed08831..5b2d261 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/ZippedDirectory.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/ZippedDirectory.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.soap; +/* + * 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. + */ import static org.taverna.server.master.api.ContentTypes.APPLICATION_ZIP_TYPE; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/package-info.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/package-info.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/package-info.java index 285af3a..cd753b7 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/package-info.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/soap/package-info.java @@ -13,6 +13,22 @@ @XmlNs(prefix = "feed", namespaceURI = FEED), @XmlNs(prefix = "admin", namespaceURI = ADMIN) }) package org.taverna.server.master.soap; +/* + * 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. + */ import static javax.xml.bind.annotation.XmlNsForm.QUALIFIED; import static org.taverna.server.master.common.Namespaces.ADMIN; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecord.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecord.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecord.java index 3ab4419..b4a7da3 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecord.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecord.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.usage; +/* + * 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. + */ import java.util.Date; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecordRecorder.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecordRecorder.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecordRecorder.java index 148843b..dc9289b 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecordRecorder.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/UsageRecordRecorder.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.usage; +/* + * 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. + */ import static org.apache.commons.logging.LogFactory.getLog; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/package-info.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/package-info.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/package-info.java index 9762964..a7fe733 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/package-info.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/usage/package-info.java @@ -4,3 +4,19 @@ * Resource usage recording mechanism. */ package org.taverna.server.master.usage; +/* + * 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. + */ http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimeLogger.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimeLogger.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimeLogger.java index 685ca19..4452935 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimeLogger.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimeLogger.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import static java.lang.String.format; import static java.lang.System.nanoTime; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimingFilter.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimingFilter.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimingFilter.java index aead6fa..d8ad78d 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimingFilter.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CallTimingFilter.java @@ -2,6 +2,22 @@ * */ package org.taverna.server.master.utils; +/* + * 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. + */ import static java.lang.String.format; import static java.lang.System.nanoTime; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CapabilityLister.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CapabilityLister.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CapabilityLister.java index 54b0420..1387e05 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CapabilityLister.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CapabilityLister.java @@ -1,4 +1,20 @@ package org.taverna.server.master.utils; +/* + * 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. + */ import java.io.IOException; import java.io.InputStream; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CertificateChainFetcher.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CertificateChainFetcher.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CertificateChainFetcher.java index b4f3107..76ef017 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CertificateChainFetcher.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/CertificateChainFetcher.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import static java.util.Arrays.asList; import static java.util.Collections.unmodifiableList; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/Contextualizer.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/Contextualizer.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/Contextualizer.java index 6be6fed..e0ee4d1 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/Contextualizer.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/Contextualizer.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import javax.servlet.ServletContext; import javax.ws.rs.core.UriInfo; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/DerbyUtils.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/DerbyUtils.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/DerbyUtils.java index f8b39e3..e4be90b 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/DerbyUtils.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/DerbyUtils.java @@ -1,4 +1,20 @@ package org.taverna.server.master.utils; +/* + * 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. + */ import java.io.EOFException; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FilenameUtils.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FilenameUtils.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FilenameUtils.java index aff8b1f..3c39326 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FilenameUtils.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FilenameUtils.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FlushThreadLocalCacheInterceptor.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FlushThreadLocalCacheInterceptor.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FlushThreadLocalCacheInterceptor.java index ff52e81..7f5f92a 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FlushThreadLocalCacheInterceptor.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/FlushThreadLocalCacheInterceptor.java @@ -1,4 +1,20 @@ package org.taverna.server.master.utils; +/* + * 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. + */ import org.apache.cxf.jaxrs.provider.ProviderFactory; import org.apache.cxf.message.Message; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/InvocationCounter.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/InvocationCounter.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/InvocationCounter.java index aae49ee..0600857 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/InvocationCounter.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/InvocationCounter.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JCECheck.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JCECheck.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JCECheck.java index 4389355..7f248ff 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JCECheck.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JCECheck.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import static java.lang.Integer.MAX_VALUE; import static javax.crypto.Cipher.getMaxAllowedKeyLength; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JDOSupport.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JDOSupport.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JDOSupport.java index de59c2b..29a6c53 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JDOSupport.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/JDOSupport.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/LoggingDerbyAdapter.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/LoggingDerbyAdapter.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/LoggingDerbyAdapter.java index a8aa937..8bd0506 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/LoggingDerbyAdapter.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/LoggingDerbyAdapter.java @@ -1,4 +1,20 @@ package org.taverna.server.master.utils; +/* + * 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. + */ import static java.lang.System.currentTimeMillis; import static java.lang.Thread.sleep; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/OneShotThread.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/OneShotThread.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/OneShotThread.java index 68b813d..32cca5a 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/OneShotThread.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/OneShotThread.java @@ -1,4 +1,20 @@ package org.taverna.server.master.utils; +/* + * 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. + */ public class OneShotThread extends Thread { public OneShotThread(String name, Runnable target) { http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RestUtils.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RestUtils.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RestUtils.java index f7e00ff..d69612e 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RestUtils.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RestUtils.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import javax.ws.rs.OPTIONS; import javax.ws.rs.core.Response; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RuntimeExceptionWrapper.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RuntimeExceptionWrapper.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RuntimeExceptionWrapper.java index f179a10..333febe 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RuntimeExceptionWrapper.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/RuntimeExceptionWrapper.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/UsernamePrincipal.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/UsernamePrincipal.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/UsernamePrincipal.java index 86c7bc0..25cf64f 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/UsernamePrincipal.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/UsernamePrincipal.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import java.io.Serializable; import java.security.Principal; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WSDLHeadOptionsInterceptor.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WSDLHeadOptionsInterceptor.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WSDLHeadOptionsInterceptor.java index 96cdc6d..1bd2a95 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WSDLHeadOptionsInterceptor.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WSDLHeadOptionsInterceptor.java @@ -1,4 +1,20 @@ package org.taverna.server.master.utils; +/* + * 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. + */ import static org.apache.commons.logging.LogFactory.getLog; import static org.apache.cxf.common.util.UrlUtils.parseQueryString; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WebappAwareDataSource.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WebappAwareDataSource.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WebappAwareDataSource.java index e4ce7f3..24246b5 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WebappAwareDataSource.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/WebappAwareDataSource.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import static java.lang.Thread.currentThread; import static java.sql.DriverManager.deregisterDriver; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/X500Utils.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/X500Utils.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/X500Utils.java index 309a516..d258079 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/X500Utils.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/X500Utils.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.utils; +/* + * 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. + */ import static javax.security.auth.x500.X500Principal.RFC2253; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/package-info.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/package-info.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/package-info.java index 45559ba..64a9f68 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/package-info.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/utils/package-info.java @@ -5,3 +5,19 @@ * for purposes such as transaction management and invocation tracking. */ package org.taverna.server.master.utils; +/* + * 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. + */ http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/CompletionNotifier.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/CompletionNotifier.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/CompletionNotifier.java index 28bb8cd..1868f94 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/CompletionNotifier.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/CompletionNotifier.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ /** http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/FactoryBean.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/FactoryBean.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/FactoryBean.java index 68870eb..d38f0cc 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/FactoryBean.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/FactoryBean.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import org.taverna.server.master.notification.atom.EventDAO; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PasswordIssuer.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PasswordIssuer.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PasswordIssuer.java index d3c5b8a..649db64 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PasswordIssuer.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PasswordIssuer.java @@ -1,4 +1,20 @@ package org.taverna.server.master.worker; +/* + * 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. + */ import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyImpl.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyImpl.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyImpl.java index bfad360..37d5760 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyImpl.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyImpl.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static org.taverna.server.master.identity.WorkflowInternalAuthProvider.PREFIX; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyLimits.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyLimits.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyLimits.java index f4ce5a0..43c0aa4 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyLimits.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/PolicyLimits.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import java.net.URI; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RemoteRunDelegate.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RemoteRunDelegate.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RemoteRunDelegate.java index 652c86f..fb1ac47 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RemoteRunDelegate.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RemoteRunDelegate.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static java.lang.System.currentTimeMillis; import static java.util.Calendar.MINUTE; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunConnection.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunConnection.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunConnection.java index 89fa8db..0c2b1a9 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunConnection.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunConnection.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static java.util.Arrays.asList; import static java.util.Collections.emptyList; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDBSupport.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDBSupport.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDBSupport.java index 920aa3d..5fa96b8 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDBSupport.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDBSupport.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabase.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabase.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabase.java index 8121843..65aec70 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabase.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabase.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static java.lang.Integer.parseInt; import static java.util.UUID.randomUUID; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabaseDAO.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabaseDAO.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabaseDAO.java index 6544510..18f0e49 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabaseDAO.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunDatabaseDAO.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static org.taverna.server.master.worker.RunConnection.toDBform; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunFactoryConfiguration.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunFactoryConfiguration.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunFactoryConfiguration.java index 29ac884..642a6d6 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunFactoryConfiguration.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/RunFactoryConfiguration.java @@ -1,4 +1,20 @@ package org.taverna.server.master.worker; +/* + * 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. + */ import static org.springframework.jmx.support.MetricType.COUNTER; import static org.springframework.jmx.support.MetricType.GAUGE; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegate.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegate.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegate.java index 096e0d5..bb76f85 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegate.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegate.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static java.lang.String.format; import static java.util.Arrays.fill; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegateImpl.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegateImpl.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegateImpl.java index cc06be8..ef29b55 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegateImpl.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextDelegateImpl.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static java.lang.String.format; import static javax.xml.ws.handler.MessageContext.HTTP_REQUEST_HEADERS; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextFactory.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextFactory.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextFactory.java index f8ed772..1d485d8 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextFactory.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SecurityContextFactory.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static java.security.Security.addProvider; import static java.security.Security.getProvider; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SimpleFormattedCompletionNotifier.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SimpleFormattedCompletionNotifier.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SimpleFormattedCompletionNotifier.java index 2d9c9d9..f9f4d16 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SimpleFormattedCompletionNotifier.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/SimpleFormattedCompletionNotifier.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import static org.taverna.server.master.defaults.Default.NOTIFY_MESSAGE_FORMAT; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/VelocityCompletionNotifier.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/VelocityCompletionNotifier.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/VelocityCompletionNotifier.java index cf67853..a81e610 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/VelocityCompletionNotifier.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/VelocityCompletionNotifier.java @@ -1,4 +1,20 @@ package org.taverna.server.master.worker; +/* + * 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. + */ import java.io.StringWriter; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/WorkerModel.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/WorkerModel.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/WorkerModel.java index 013ba6c..510c8d0 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/WorkerModel.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/WorkerModel.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.worker; +/* + * 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. + */ import java.net.URI; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/package-info.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/package-info.java b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/package-info.java index 4915eec..e96b794 100644 --- a/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/package-info.java +++ b/taverna-server-webapp/src/main/java/org/taverna/server/master/worker/package-info.java @@ -4,4 +4,20 @@ * A Taverna Server back-end that works by forking off workflow executors. */ package org.taverna.server.master.worker; +/* + * 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. + */ http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/test/java/org/taverna/server/master/JaxbSanityTest.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/test/java/org/taverna/server/master/JaxbSanityTest.java b/taverna-server-webapp/src/test/java/org/taverna/server/master/JaxbSanityTest.java index 21925a7..79fc9bf 100644 --- a/taverna-server-webapp/src/test/java/org/taverna/server/master/JaxbSanityTest.java +++ b/taverna-server-webapp/src/test/java/org/taverna/server/master/JaxbSanityTest.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master; +/* + * 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. + */ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/test/java/org/taverna/server/master/TavernaServerImplTest.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/test/java/org/taverna/server/master/TavernaServerImplTest.java b/taverna-server-webapp/src/test/java/org/taverna/server/master/TavernaServerImplTest.java index 9665cf0..b1191f1 100644 --- a/taverna-server-webapp/src/test/java/org/taverna/server/master/TavernaServerImplTest.java +++ b/taverna-server-webapp/src/test/java/org/taverna/server/master/TavernaServerImplTest.java @@ -1,4 +1,20 @@ package org.taverna.server.master; +/* + * 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. + */ import static java.util.Arrays.asList; import static java.util.Collections.singletonMap; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/test/java/org/taverna/server/master/WorkflowSerializationTest.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/test/java/org/taverna/server/master/WorkflowSerializationTest.java b/taverna-server-webapp/src/test/java/org/taverna/server/master/WorkflowSerializationTest.java index 0450317..1217c1f 100644 --- a/taverna-server-webapp/src/test/java/org/taverna/server/master/WorkflowSerializationTest.java +++ b/taverna-server-webapp/src/test/java/org/taverna/server/master/WorkflowSerializationTest.java @@ -1,4 +1,20 @@ package org.taverna.server.master; +/* + * 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. + */ import static org.taverna.server.master.rest.handler.T2FlowDocumentHandler.T2FLOW_NS; import static org.taverna.server.master.rest.handler.T2FlowDocumentHandler.T2FLOW_ROOTNAME; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/ExampleRun.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/ExampleRun.java b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/ExampleRun.java index 6caa5f2..862cf2c 100644 --- a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/ExampleRun.java +++ b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/ExampleRun.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.master.mocks; +/* + * 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. + */ import static java.util.Calendar.MINUTE; import static java.util.Collections.unmodifiableList; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/MockPolicy.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/MockPolicy.java b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/MockPolicy.java index 81dd08c..b61fc10 100644 --- a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/MockPolicy.java +++ b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/MockPolicy.java @@ -1,4 +1,20 @@ package org.taverna.server.master.mocks; +/* + * 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. + */ import java.util.HashSet; import java.util.Set; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleListenerFactory.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleListenerFactory.java b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleListenerFactory.java index d864214..7d9c998 100644 --- a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleListenerFactory.java +++ b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleListenerFactory.java @@ -1,4 +1,20 @@ package org.taverna.server.master.mocks; +/* + * 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. + */ import java.util.ArrayList; import java.util.HashMap;
