From 8ae50cf7585ae14a6710e704812977b74f4c4fc0 Mon Sep 17 00:00:00 2001 From: Navneet Singh Date: Tue, 15 Dec 2020 11:07:39 +0530 Subject: [PATCH 1/2] Revert "Revert: spec changes for Libmary Management in bigDataPool (#11612)" This reverts commit 7c8fd7f0705552f77bf442c567c854af01ab4805. --- .../2019-06-01-preview/bigDataPool.json | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json index d34af3709d92..fc9eebc88563 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json @@ -442,6 +442,13 @@ "$ref": "#/definitions/LibraryRequirements", "description": "Library version requirements" }, + "customLibraries": { + "description": "List of custom libraries/packages associated with the spark pool.", + "type": "array", + "items": { + "$ref": "#/definitions/LibraryInfo" + } + }, "sparkConfigProperties": { "$ref": "#/definitions/LibraryRequirements", "description": "Spark configuration file to specify additional properties" @@ -532,6 +539,44 @@ } } }, + "LibraryInfo": { + "type": "object", + "description": "Library/package information of a Big Data pool powered by Apache Spark", + "title": "Information about a library/package created at the workspace level.", + "properties": { + "name": { + "type": "string", + "description": "Name of the library." + }, + "path": { + "type": "string", + "description": "Storage blob path of library." + }, + "containerName": { + "type": "string", + "description": "Storage blob container name." + }, + "uploadedTimestamp": { + "type": "string", + "format": "date-time", + "description": "The last update time of the library." + }, + "type": { + "type": "string", + "description": "Type of the library." + }, + "provisioningStatus": { + "readOnly": true, + "type": "string", + "description": "Provisioning status of the library/package." + }, + "creatorId": { + "readOnly": true, + "type": "string", + "description": "Creator Id of the library/package." + } + } + }, "LibraryRequirements": { "type": "object", "description": "Library requirements for a Big Data pool powered by Apache Spark", From 21c17967b8f8ad18e5f54eca8e152527a230839a Mon Sep 17 00:00:00 2001 From: Navneet Singh Date: Fri, 29 Jan 2021 11:37:43 +0530 Subject: [PATCH 2/2] custom libraries schema reference changed --- .../2019-06-01-preview/bigDataPool.json | 40 +------------------ 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json index fc9eebc88563..2d9cc2b82014 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json @@ -446,7 +446,7 @@ "description": "List of custom libraries/packages associated with the spark pool.", "type": "array", "items": { - "$ref": "#/definitions/LibraryInfo" + "$ref": "../../../../data-plane/Microsoft.Synapse/preview/2019-06-01-preview/library.json#/definitions/LibraryResourceProperties" } }, "sparkConfigProperties": { @@ -539,44 +539,6 @@ } } }, - "LibraryInfo": { - "type": "object", - "description": "Library/package information of a Big Data pool powered by Apache Spark", - "title": "Information about a library/package created at the workspace level.", - "properties": { - "name": { - "type": "string", - "description": "Name of the library." - }, - "path": { - "type": "string", - "description": "Storage blob path of library." - }, - "containerName": { - "type": "string", - "description": "Storage blob container name." - }, - "uploadedTimestamp": { - "type": "string", - "format": "date-time", - "description": "The last update time of the library." - }, - "type": { - "type": "string", - "description": "Type of the library." - }, - "provisioningStatus": { - "readOnly": true, - "type": "string", - "description": "Provisioning status of the library/package." - }, - "creatorId": { - "readOnly": true, - "type": "string", - "description": "Creator Id of the library/package." - } - } - }, "LibraryRequirements": { "type": "object", "description": "Library requirements for a Big Data pool powered by Apache Spark",