Repository: incubator-taverna-server Updated Branches: refs/heads/master dc7619fe8 -> d6871def3
http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleNonpersistentRunStore.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleNonpersistentRunStore.java b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleNonpersistentRunStore.java index a3751e4..63b6754 100644 --- a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleNonpersistentRunStore.java +++ b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleNonpersistentRunStore.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.lang.ref.WeakReference; import java.util.Date; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleServerPolicy.java ---------------------------------------------------------------------- diff --git a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleServerPolicy.java b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleServerPolicy.java index 1a68d2c..8dd2757 100644 --- a/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleServerPolicy.java +++ b/taverna-server-webapp/src/test/java/org/taverna/server/master/mocks/SimpleServerPolicy.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.net.URI; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Constants.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Constants.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Constants.java index 18fa041..4ee24ad 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Constants.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Constants.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.api; +/* + * 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.nio.charset.Charset.defaultCharset; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/RunAccounting.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/RunAccounting.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/RunAccounting.java index 7c14f51..dd18db0 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/RunAccounting.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/RunAccounting.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.api; +/* + * 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-worker/src/main/java/org/taverna/server/localworker/api/Worker.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Worker.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Worker.java index 9e6d00e..52c7009 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Worker.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/Worker.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.api; +/* + * 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.File; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/WorkerFactory.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/WorkerFactory.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/WorkerFactory.java index 4ce13a7..0fd2d20 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/WorkerFactory.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/api/WorkerFactory.java @@ -1,4 +1,20 @@ package org.taverna.server.localworker.api; +/* + * 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-worker/src/main/java/org/taverna/server/localworker/impl/DirectoryDelegate.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/DirectoryDelegate.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/DirectoryDelegate.java index 7064eec..6b7ba77 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/DirectoryDelegate.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/DirectoryDelegate.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.impl; +/* + * 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.io.FileUtils.forceDelete; import static org.apache.commons.io.FileUtils.forceMkdir; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/FileDelegate.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/FileDelegate.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/FileDelegate.java index 30be74d..8dd9ede 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/FileDelegate.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/FileDelegate.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.impl; +/* + * 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.arraycopy; import static java.net.InetAddress.getLocalHost; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/LocalWorker.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/LocalWorker.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/LocalWorker.java index 96076b8..f96f91c 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/LocalWorker.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/LocalWorker.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.impl; +/* + * 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.Runtime.getRuntime; import static java.lang.System.getProperty; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/TavernaRunManager.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/TavernaRunManager.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/TavernaRunManager.java index d8592a5..02fffaa 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/TavernaRunManager.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/TavernaRunManager.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.impl; +/* + * 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.Runtime.getRuntime; import static java.lang.System.exit; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/WorkerCore.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/WorkerCore.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/WorkerCore.java index c9fcde1..9db05ab 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/WorkerCore.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/WorkerCore.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.impl; +/* + * 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.io.File.createTempFile; import static java.io.File.pathSeparator; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/FilenameVerifier.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/FilenameVerifier.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/FilenameVerifier.java index fdcdc64..fa2e117 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/FilenameVerifier.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/FilenameVerifier.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.impl.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.File; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/TimingOutTask.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/TimingOutTask.java b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/TimingOutTask.java index 3dd3ac1..c5b1b7b 100644 --- a/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/TimingOutTask.java +++ b/taverna-server-worker/src/main/java/org/taverna/server/localworker/impl/utils/TimingOutTask.java @@ -1,4 +1,20 @@ package org.taverna.server.localworker.impl.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.annotation.Nullable; http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/d6871def/taverna-server-worker/src/test/java/org/taverna/server/localworker/impl/LocalWorkerTest.java ---------------------------------------------------------------------- diff --git a/taverna-server-worker/src/test/java/org/taverna/server/localworker/impl/LocalWorkerTest.java b/taverna-server-worker/src/test/java/org/taverna/server/localworker/impl/LocalWorkerTest.java index ca1eb54..084738f 100644 --- a/taverna-server-worker/src/test/java/org/taverna/server/localworker/impl/LocalWorkerTest.java +++ b/taverna-server-worker/src/test/java/org/taverna/server/localworker/impl/LocalWorkerTest.java @@ -1,6 +1,22 @@ /* */ package org.taverna.server.localworker.impl; +/* + * 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.UUID.randomUUID; import static org.junit.Assert.assertEquals;
