-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
baeb104
commit 49d2c1b
Showing
24 changed files
with
801 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Swiss Data Science Center (SDSC). A partnership between | ||
# École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Renku service datasets add controller.""" | ||
|
||
from renku.ui.service.controllers.datasets_add_file import DatasetsAddFileCtrl | ||
from renku.ui.service.serializers.v1.datasets import DatasetAddRequest_2_1, DatasetAddResponseRPC_2_1 | ||
|
||
|
||
class DatasetsAddFileCtrl_2_1(DatasetsAddFileCtrl): | ||
"""Controller for datasets add endpoint.""" | ||
|
||
REQUEST_SERIALIZER = DatasetAddRequest_2_1() # type: ignore | ||
RESPONSE_SERIALIZER = DatasetAddResponseRPC_2_1() # type: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Swiss Data Science Center (SDSC). A partnership between | ||
# École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Renku service datasets create controller.""" | ||
|
||
from renku.ui.service.controllers.datasets_create import DatasetsCreateCtrl | ||
from renku.ui.service.serializers.v1.datasets import DatasetCreateRequest_2_1, DatasetCreateResponseRPC_2_1 | ||
|
||
|
||
class DatasetsCreateCtrl_2_1(DatasetsCreateCtrl): | ||
"""Controller for datasets create endpoint.""" | ||
|
||
REQUEST_SERIALIZER = DatasetCreateRequest_2_1() # type: ignore | ||
RESPONSE_SERIALIZER = DatasetCreateResponseRPC_2_1() # type: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright Swiss Data Science Center (SDSC). A partnership between | ||
# École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Renku service datasets edit controller.""" | ||
|
||
from renku.ui.service.controllers.datasets_edit import DatasetsEditCtrl | ||
from renku.ui.service.serializers.datasets import DatasetEditResponseRPC | ||
from renku.ui.service.serializers.v1.datasets import DatasetEditRequest_2_1 | ||
|
||
|
||
class DatasetsEditCtrl_2_1(DatasetsEditCtrl): | ||
"""Controller for datasets edit endpoint.""" | ||
|
||
REQUEST_SERIALIZER = DatasetEditRequest_2_1() # type: ignore | ||
RESPONSE_SERIALIZER = DatasetEditResponseRPC() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Swiss Data Science Center (SDSC). A partnership between | ||
# École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Renku service datasets files controller.""" | ||
|
||
from renku.ui.service.controllers.datasets_files_list import DatasetsFilesListCtrl | ||
from renku.ui.service.serializers.v1.datasets import DatasetFilesListRequest_2_1, DatasetFilesListResponseRPC_2_1 | ||
|
||
|
||
class DatasetsFilesListCtrl_2_1(DatasetsFilesListCtrl): | ||
"""Controller for datasets files list endpoint.""" | ||
|
||
REQUEST_SERIALIZER = DatasetFilesListRequest_2_1() # type: ignore | ||
RESPONSE_SERIALIZER = DatasetFilesListResponseRPC_2_1() # type: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Swiss Data Science Center (SDSC). A partnership between | ||
# École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Renku service datasets import controller.""" | ||
from renku.ui.service.controllers.datasets_import import DatasetsImportCtrl | ||
from renku.ui.service.serializers.datasets import DatasetImportResponseRPC | ||
from renku.ui.service.serializers.v1.datasets import DatasetImportRequest_2_1 | ||
|
||
|
||
class DatasetsImportCtrl_2_1(DatasetsImportCtrl): | ||
"""Controller for datasets import endpoint.""" | ||
|
||
REQUEST_SERIALIZER = DatasetImportRequest_2_1() # type: ignore | ||
RESPONSE_SERIALIZER = DatasetImportResponseRPC() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright Swiss Data Science Center (SDSC). A partnership between | ||
# École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Renku service datasets list controller.""" | ||
|
||
from renku.ui.service.controllers.datasets_list import DatasetsListCtrl | ||
from renku.ui.service.serializers.datasets import DatasetListRequest | ||
from renku.ui.service.serializers.v1.datasets import DatasetListResponseRPC_2_1 | ||
|
||
|
||
class DatasetsListCtrl_2_1(DatasetsListCtrl): | ||
"""Controller for datasets list endpoint.""" | ||
|
||
REQUEST_SERIALIZER = DatasetListRequest() | ||
RESPONSE_SERIALIZER = DatasetListResponseRPC_2_1() # type: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Swiss Data Science Center (SDSC). A partnership between | ||
# École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Renku service datasets remove controller.""" | ||
|
||
from renku.ui.service.controllers.datasets_remove import DatasetsRemoveCtrl | ||
from renku.ui.service.serializers.v1.datasets import DatasetRemoveRequest_2_1, DatasetRemoveResponseRPC_2_1 | ||
|
||
|
||
class DatasetsRemoveCtrl_2_1(DatasetsRemoveCtrl): | ||
"""Controller for datasets remove endpoint.""" | ||
|
||
REQUEST_SERIALIZER = DatasetRemoveRequest_2_1() # type: ignore | ||
RESPONSE_SERIALIZER = DatasetRemoveResponseRPC_2_1() # type: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright Swiss Data Science Center (SDSC). A partnership between | ||
# École Polytechnique Fédérale de Lausanne (EPFL) and | ||
# Eidgenössische Technische Hochschule Zürich (ETHZ). | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Renku service datasets unlink controller.""" | ||
|
||
from renku.ui.service.controllers.datasets_unlink import DatasetsUnlinkCtrl | ||
from renku.ui.service.serializers.datasets import DatasetUnlinkResponseRPC | ||
from renku.ui.service.serializers.v1.datasets import DatasetUnlinkRequest_2_1 | ||
|
||
|
||
class DatasetsUnlinkCtrl_2_1(DatasetsUnlinkCtrl): | ||
"""Controller for datasets unlink endpoint.""" | ||
|
||
REQUEST_SERIALIZER = DatasetUnlinkRequest_2_1() # type: ignore | ||
RESPONSE_SERIALIZER = DatasetUnlinkResponseRPC() |
Oops, something went wrong.