Repository: incubator-reef Updated Branches: refs/heads/master e999e994c -> 6afc9728c
[REEF-599] Move DriverConfigurationProviders to O.A.REEF.Client.API This moves `DriverConfigurationProviders` from `Org.Apache.REEF.Client.Local` to `Org.Apache.REEF.Client.API`. *Note:* This is a breaking change. JIRA: [REEF-599](https://issues.apache.org/jira/browse/REEF-599) Pull Request: This closes #377 Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/6afc9728 Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/6afc9728 Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/6afc9728 Branch: refs/heads/master Commit: 6afc9728ca30ec491d96c2cda4af02ed36659f13 Parents: e999e99 Author: Beysim Sezgin <[email protected]> Authored: Mon Aug 17 16:40:23 2015 -0700 Committer: Markus Weimer <[email protected]> Committed: Tue Aug 18 09:50:08 2015 -0700 ---------------------------------------------------------------------- .../API/JobSubmissionBuilderFactory.cs | 2 +- .../Parameters/DriverConfigurationProviders.cs | 33 ++++++++++++++++++++ .../Parameters/DriverConfigurationProviders.cs | 33 -------------------- .../Org.Apache.REEF.Client.csproj | 2 +- 4 files changed, 35 insertions(+), 35 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/6afc9728/lang/cs/Org.Apache.REEF.Client/API/JobSubmissionBuilderFactory.cs ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Client/API/JobSubmissionBuilderFactory.cs b/lang/cs/Org.Apache.REEF.Client/API/JobSubmissionBuilderFactory.cs index b6b414a..c6811d9 100644 --- a/lang/cs/Org.Apache.REEF.Client/API/JobSubmissionBuilderFactory.cs +++ b/lang/cs/Org.Apache.REEF.Client/API/JobSubmissionBuilderFactory.cs @@ -18,7 +18,7 @@ */ using System.Collections.Generic; -using Org.Apache.REEF.Client.Local.Parameters; +using Org.Apache.REEF.Client.API.Parameters; using Org.Apache.REEF.Tang.Annotations; using Org.Apache.REEF.Tang.Interface; http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/6afc9728/lang/cs/Org.Apache.REEF.Client/API/Parameters/DriverConfigurationProviders.cs ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Client/API/Parameters/DriverConfigurationProviders.cs b/lang/cs/Org.Apache.REEF.Client/API/Parameters/DriverConfigurationProviders.cs new file mode 100644 index 0000000..085e7a8 --- /dev/null +++ b/lang/cs/Org.Apache.REEF.Client/API/Parameters/DriverConfigurationProviders.cs @@ -0,0 +1,33 @@ +/** + * 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. + */ + +using System.Collections.Generic; +using Org.Apache.REEF.Tang.Annotations; +using Org.Apache.REEF.Tang.Interface; + +namespace Org.Apache.REEF.Client.API.Parameters +{ + /// <summary> + // This name parameter is used to target receviers Configuration providers at driver level + /// </summary> + [NamedParameter] + public sealed class DriverConfigurationProviders : Name<ISet<IConfigurationProvider>> + { + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/6afc9728/lang/cs/Org.Apache.REEF.Client/Local/Parameters/DriverConfigurationProviders.cs ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Client/Local/Parameters/DriverConfigurationProviders.cs b/lang/cs/Org.Apache.REEF.Client/Local/Parameters/DriverConfigurationProviders.cs deleted file mode 100644 index 1002337..0000000 --- a/lang/cs/Org.Apache.REEF.Client/Local/Parameters/DriverConfigurationProviders.cs +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -using System.Collections.Generic; -using Org.Apache.REEF.Tang.Annotations; -using Org.Apache.REEF.Tang.Interface; - -namespace Org.Apache.REEF.Client.Local.Parameters -{ - /// <summary> - // This name parameter is used to target receviers Configuration providers at driver level - /// </summary> - [NamedParameter] - public sealed class DriverConfigurationProviders : Name<ISet<IConfigurationProvider>> - { - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/6afc9728/lang/cs/Org.Apache.REEF.Client/Org.Apache.REEF.Client.csproj ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Client/Org.Apache.REEF.Client.csproj b/lang/cs/Org.Apache.REEF.Client/Org.Apache.REEF.Client.csproj index d9dacbf..0a1becd 100644 --- a/lang/cs/Org.Apache.REEF.Client/Org.Apache.REEF.Client.csproj +++ b/lang/cs/Org.Apache.REEF.Client/Org.Apache.REEF.Client.csproj @@ -52,6 +52,7 @@ under the License. <Compile Include="API\JobSubmission.cs" /> <Compile Include="API\JobSubmissionBuilder.cs" /> <Compile Include="API\JobSubmissionBuilderFactory.cs" /> + <Compile Include="API\Parameters\DriverConfigurationProviders.cs" /> <Compile Include="Common\ClientConstants.cs" /> <Compile Include="Common\ClrClient2JavaClientCuratedParameters.cs" /> <Compile Include="Common\DriverFolderPreparationHelper.cs" /> @@ -60,7 +61,6 @@ under the License. <Compile Include="Common\ResourceHelper.cs" /> <Compile Include="Local\LocalClient.cs" /> <Compile Include="Local\LocalRuntimeClientConfiguration.cs" /> - <Compile Include="Local\Parameters\DriverConfigurationProviders.cs" /> <Compile Include="Local\Parameters\LocalRuntimeDirectory.cs" /> <Compile Include="Local\Parameters\NumberOfEvaluators.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
