Skip to content

Commit 7dd94eb

Browse files
author
Bamboo Agent
committed
Auto update: Merge pull request #157 in VFS/onepanel-swagger from feature/VFS-6474-add-xrootd-storage-helper to develop
1 parent 471232c commit 7dd94eb

26 files changed

+950
-17
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,9 @@ Class | Method | HTTP request | Description
411411
- [Onepanel.Webdav](docs/Webdav.md)
412412
- [Onepanel.WebdavCredentials](docs/WebdavCredentials.md)
413413
- [Onepanel.WebdavModify](docs/WebdavModify.md)
414+
- [Onepanel.XRootD](docs/XRootD.md)
415+
- [Onepanel.XRootDCredentials](docs/XRootDCredentials.md)
416+
- [Onepanel.XRootDModify](docs/XRootDModify.md)
414417

415418

416419
## Documentation for Authorization

docs/LumaStorageCredentials.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**type** | **String** | Type of the storage. Must match the type of existing storage, needed only for OpenAPI polymorphism disambiguation. | [optional]
6+
**type** | **String** | Type of the storage. Must match the type of existing storage, needed only for OpenAPI polymorphism disambiguation. | [optional]
77

88

docs/StorageCreateDetails.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**lumaFeedUrl** | **String** | URL of external feed for LUMA DB. Relevant only if lumaFeed equals `external`. | [optional]
1111
**lumaFeedApiKey** | **String** | API key checked by external service used as feed for LUMA DB. Relevant only if lumaFeed equals `external`. | [optional]
1212
**qosParameters** | **{String: String}** | Map with key-value pairs used for describing storage QoS parameters. | [optional]
13-
**importedStorage** | **Boolean** | Defines whether storage contains existing data to be imported. | [optional] [default to false]
13+
**importedStorage** | **Boolean** | Defines whether storage contains existing data to be imported. | [optional] [default to false]
1414

1515

1616
<a name="LumaFeedEnum"></a>

docs/StorageModifyDetails.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**lumaFeedUrl** | **String** | URL of external feed for LUMA DB. Relevant only if lumaFeed equals &#x60;external&#x60;. | [optional]
1111
**lumaFeedApiKey** | **String** | API key checked by external service used as feed for LUMA DB. Relevant only if lumaFeed equals &#x60;external&#x60;. | [optional]
1212
**qosParameters** | **{String: String}** | Map with key-value pairs used for describing storage QoS parameters. Overrides all previously set parameters. | [optional]
13-
**importedStorage** | **Boolean** | Defines whether storage contains existing data to be imported. | [optional]
13+
**importedStorage** | **Boolean** | Defines whether storage contains existing data to be imported. | [optional]
1414

1515

1616
<a name="LumaFeedEnum"></a>

docs/XRootD.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Onepanel.XRootD
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**type** | **String** | The type of storage. |
7+
**url** | **String** | Full URL of the XRootD server, including scheme (root or http) and path, e.g. &#x60;root://192.168.0.1//data&#x60;. Please note, that XRootD URL format requires double slash after host to indicate absolute path. |
8+
**fileModeMask** | **String** | Defines the file permissions mask, which is used to map XRootD file mode to POSIX mode. For instance a fileModeMask &#x60;0664&#x60; for readable file on XRootD would result in a file which is readable for all users, but file which is writeable in XRootD will be only writeable by user and group. | [optional] [default to &#39;0664&#39;]
9+
**dirModeMask** | **String** | Defines the directory permissions mask, which is used to map XRootD dir mode to POSIX mode. For instance a dirModeMask &#x60;0770&#x60; for readable directory on XRootD would result in a directory which is readable for owner and group but not for others. | [optional] [default to &#39;0775&#39;]
10+
**storagePathType** | **String** | Determines how the logical file paths will be mapped on the storage. &#39;canonical&#39; paths reflect the logical file names and directory structure, however each rename operation will require renaming the files on the storage. &#39;flat&#39; paths are based on unique file UUID&#39;s and do not require on-storage rename when logical file name is changed. | [optional] [default to &#39;canonical&#39;]
11+
12+
13+
<a name="TypeEnum"></a>
14+
## Enum: TypeEnum
15+
16+
17+
* `xrootd` (value: `"xrootd"`)
18+
19+
20+
21+

docs/XRootDCredentials.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Onepanel.XRootDCredentials
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**type** | **String** | Type of the storage. Must be given explicitly and must match the actual type of subject storage - this redundancy is needed due to limitations of OpenAPI polymorphism. |
7+
**credentialsType** | **String** | Determines the types of credentials provided in the credentials field. | [optional] [default to &#39;none&#39;]
8+
**credentials** | **String** | The credentials to authenticate with the XRootD server. For &#x60;pwd&#x60; credentials type, this field should contain simply user and password, e.g. &#x60;admin:password&#x60;. For &#x60;none&#x60; this field is ignored. | [optional]
9+
10+
11+
<a name="TypeEnum"></a>
12+
## Enum: TypeEnum
13+
14+
15+
* `xrootd` (value: `"xrootd"`)
16+
17+
18+
19+
20+
<a name="CredentialsTypeEnum"></a>
21+
## Enum: CredentialsTypeEnum
22+
23+
24+
* `none` (value: `"none"`)
25+
26+
* `pwd` (value: `"pwd"`)
27+
28+
29+
30+

docs/XRootDModify.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Onepanel.XRootDModify
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**type** | **String** | Type of the modified storage. Must be given explicitly and must match the actual type of subject storage - this redundancy is needed due to limitations of OpenAPI polymorphism. |
7+
**url** | **String** | Full URL of the XRootD server, including scheme (root or http) and path, e.g. &#x60;root://192.168.0.1//data&#x60;. Please note, that XRootD URL format requires double slash after host to indicate absolute path. | [optional]
8+
**credentialsType** | **String** | Determines the types of credentials provided in the credentials field. | [optional]
9+
**credentials** | **String** | The credentials to authenticate with the XRootD server. For &#x60;pwd&#x60; credentials type, this field should contain simply user and password, e.g. &#x60;admin:password&#x60;. For &#x60;none&#x60; this field is ignored. | [optional]
10+
**fileModeMask** | **String** | Defines the file permissions mask, which is used to map XRootD file mode to POSIX mode. For instance a fileModeMask &#x60;0664&#x60; for readable file on XRootD would result in a file which is readable for all users, but file which is writeable in XRootD will be only writeable by user and group. | [optional]
11+
**dirModeMask** | **String** | Defines the directory permissions mask, which is used to map XRootD dir mode to POSIX mode. For instance a dirModeMask &#x60;0770&#x60; for readable directory on XRootD would result in a directory which is readable for owner and group but not for others. | [optional]
12+
13+
14+
<a name="TypeEnum"></a>
15+
## Enum: TypeEnum
16+
17+
18+
* `xrootd` (value: `"xrootd"`)
19+
20+
21+
22+
23+
<a name="CredentialsTypeEnum"></a>
24+
## Enum: CredentialsTypeEnum
25+
26+
27+
* `none` (value: `"none"`)
28+
29+
* `pwd` (value: `"pwd"`)
30+
31+
32+
33+

src/ApiClient.js

+12
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,18 @@
648648
polymorphicType = require("./model/WebdavModify");
649649
}
650650

651+
if('XRootD'.toLowerCase() === data[type.__swaggerDiscriminator()].toLowerCase()) {
652+
polymorphicType = require("./model/XRootD");
653+
}
654+
655+
if('XRootDCredentials'.toLowerCase() === data[type.__swaggerDiscriminator()].toLowerCase()) {
656+
polymorphicType = require("./model/XRootDCredentials");
657+
}
658+
659+
if('XRootDModify'.toLowerCase() === data[type.__swaggerDiscriminator()].toLowerCase()) {
660+
polymorphicType = require("./model/XRootDModify");
661+
}
662+
651663
if(polymorphicType) {
652664
return polymorphicType.constructFromObject(data);
653665
}

0 commit comments

Comments
 (0)