-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fstab): mount points can now be objects and contain a fallback p…
…arameter fixes #305
- Loading branch information
Showing
20 changed files
with
317 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Untitled undefined type in FSTab (Mount Points) Schema | ||
|
||
```txt | ||
https://ns.adobe.com/helix/shared/fstab#/properties/mountpoints/default | ||
``` | ||
|
||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | ---------- | -------------- | ----------------------- | :---------------- | --------------------- | ------------------- | --------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [fstab.schema.json\*](fstab.schema.json "open original schema") | | ||
|
||
## default Type | ||
|
||
unknown |
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"meta:license":["Copyright 2019 Adobe. All rights reserved.","This file is licensed 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 REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/shared/fstab","$schema":"http://json-schema.org/draft-07/schema#","type":"object","title":"FSTab (Mount Points)","description":"Defines a mapping between mount points and source URLs. Mount points **must** start with a slash (`/`) but may not end with one.\n\nThis configuration can typically be found in the `helix-fstab.yaml` file.\n\nThe name and format are inspired by the [UNIX file system table](https://en.wikipedia.org/wiki/Fstab).","properties":{"mountpoints":{"type":"object","patternProperties":{"^/.*[^/]$":{"$ref":"https://ns.adobe.com/helix/shared/mountpoint"}}}},"additionalProperties":false,"required":["mountpoints"],"examples":[{"mountpoints":{"/ms/docs":"https://adobe.sharepoint.com/sites/docs","/ms":"https://adobe.sharepoint.com/sites/TheBlog/Shared%20Documents/theblog","/gd":"https://drive.google.com/drive/u/0/folders/123456789","/foo":"https://localhost:4502"}}]} | ||
{"meta:license":["Copyright 2019 Adobe. All rights reserved.","This file is licensed 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 REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/shared/fstab","$schema":"http://json-schema.org/draft-07/schema#","type":"object","title":"FSTab (Mount Points)","description":"Defines a mapping between mount points and source URLs. Mount points **must** start with a slash (`/`) but may not end with one.\n\nThis configuration can typically be found in the `helix-fstab.yaml` file.\n\nThe name and format are inspired by the [UNIX file system table](https://en.wikipedia.org/wiki/Fstab).","properties":{"mountpoints":{"type":"object","default":{},"patternProperties":{"^/.*[^/]$":{"$ref":"https://ns.adobe.com/helix/shared/mountpoint"}}}},"additionalProperties":false,"required":["mountpoints"],"examples":[{"mountpoints":{"/ms/docs":"https://adobe.sharepoint.com/sites/docs","/ms":"https://adobe.sharepoint.com/sites/TheBlog/Shared%20Documents/theblog","/gd":"https://drive.google.com/drive/u/0/folders/123456789","/foo":"https://localhost:4502"}}]} |
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,20 @@ | ||
# Untitled string in Mount Point Schema | ||
|
||
```txt | ||
https://ns.adobe.com/helix/shared/mountpoint#/oneOf/0 | ||
``` | ||
|
||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | ---------- | -------------- | ----------------------- | :---------------- | --------------------- | ------------------- | ------------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [mountpoint.schema.json\*](mountpoint.schema.json "open original schema") | | ||
|
||
## 0 Type | ||
|
||
`string` | ||
|
||
## 0 Constraints | ||
|
||
**URI**: the string must be a URI, according to [RFC 3986](https://tools.ietf.org/html/rfc4291 "check the specification") |
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,16 @@ | ||
# Untitled string in Mount Point Schema | ||
|
||
```txt | ||
https://ns.adobe.com/helix/shared/mountpoint#/oneOf/1/properties/fallback | ||
``` | ||
|
||
Specifies the fallback path if the requested item cannot be found | ||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | ---------- | -------------- | ----------------------- | :---------------- | --------------------- | ------------------- | ------------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [mountpoint.schema.json\*](mountpoint.schema.json "open original schema") | | ||
|
||
## fallback Type | ||
|
||
`string` |
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,20 @@ | ||
# Untitled string in Mount Point Schema | ||
|
||
```txt | ||
https://ns.adobe.com/helix/shared/mountpoint#/oneOf/1/properties/url | ||
``` | ||
|
||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | ---------- | -------------- | ----------------------- | :---------------- | --------------------- | ------------------- | ------------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [mountpoint.schema.json\*](mountpoint.schema.json "open original schema") | | ||
|
||
## url Type | ||
|
||
`string` | ||
|
||
## url Constraints | ||
|
||
**URI**: the string must be a URI, according to [RFC 3986](https://tools.ietf.org/html/rfc4291 "check the specification") |
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,16 @@ | ||
# Untitled undefined type in Mount Point Schema | ||
|
||
```txt | ||
https://ns.adobe.com/helix/shared/mountpoint#/oneOf/1/properties | ||
``` | ||
|
||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | ---------- | -------------- | ----------------------- | :---------------- | --------------------- | ------------------- | ------------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [mountpoint.schema.json\*](mountpoint.schema.json "open original schema") | | ||
|
||
## properties Type | ||
|
||
unknown |
Oops, something went wrong.