@itentialopensource/adapter-oracle_cloud 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +48 -0
- package/CONTRIBUTING.md +158 -0
- package/LICENSE +201 -0
- package/README.md +687 -0
- package/adapter.js +11250 -0
- package/adapterBase.js +1028 -0
- package/entities/.generic/action.json +109 -0
- package/entities/.generic/schema.json +23 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Applinks/action.json +64 -0
- package/entities/Applinks/mockdatafiles/postDocumentsApi12ApplinksFileFileId-default.json +10 -0
- package/entities/Applinks/mockdatafiles/postDocumentsApi12ApplinksFolderFolderId-default.json +10 -0
- package/entities/Applinks/mockdatafiles/putDocumentsApi12ApplinksToken-default.json +5 -0
- package/entities/Applinks/schema.json +21 -0
- package/entities/Catalog/action.json +298 -0
- package/entities/Catalog/mockdatafiles/getDocumentsApi-default.json +61 -0
- package/entities/Catalog/mockdatafiles/getDocumentsApiVersion-default.json +23 -0
- package/entities/Catalog/mockdatafiles/getDocumentsApiVersionMetadataCatalog-default.json +147 -0
- package/entities/Catalog/schema.json +32 -0
- package/entities/Collections/action.json +145 -0
- package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionId-default.json +5 -0
- package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionIdFiles-default.json +25 -0
- package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionIdFilesFileId-default.json +5 -0
- package/entities/Collections/mockdatafiles/getDocumentsApi12CollectionsItems-default.json +37 -0
- package/entities/Collections/mockdatafiles/postDocumentsApi12Collections-default.json +28 -0
- package/entities/Collections/mockdatafiles/postDocumentsApi12CollectionsCollectionIdFiles-default.json +32 -0
- package/entities/Collections/mockdatafiles/postDocumentsApi12CollectionsCollectionIdFilesFileId-default.json +6 -0
- package/entities/Collections/schema.json +25 -0
- package/entities/Configuration/action.json +87 -0
- package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigCollaboration-default.json +9 -0
- package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigNotificationEmail-default.json +5 -0
- package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigSitesDeliverycdn-default.json +10 -0
- package/entities/Configuration/mockdatafiles/putDocumentsApi12ConfigNotificationEmail-default.json +4 -0
- package/entities/Configuration/schema.json +22 -0
- package/entities/Files/action.json +721 -0
- package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileId-default.json +5 -0
- package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileIdMetadata-default.json +5 -0
- package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileIdTags-default.json +5 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileId-default.json +150 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdAccesses-default.json +26 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdDataRenditions-default.json +21 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdMetadata-default.json +15 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdMetadataFields-default.json +45 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdPages-default.json +6 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdPreviewPath-default.json +7 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdTags-default.json +6 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdVersions-default.json +37 -0
- package/entities/Files/mockdatafiles/getDocumentsApi12FilesLists-default.json +34 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesData-default.json +30 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdConversation-default.json +9 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdCopy-default.json +7 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdData-default.json +30 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdDataRendition-default.json +5 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMetadata-default.json +5 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMetadataCollectionName-default.json +5 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMove-default.json +6 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdPages-default.json +5 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdReserve-default.json +12 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdTags-default.json +5 -0
- package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdUnreserve-default.json +5 -0
- package/entities/Files/mockdatafiles/putDocumentsApi12FilesFileId-default.json +29 -0
- package/entities/Files/mockdatafiles/putDocumentsApi12FilesFileIdTags-default.json +5 -0
- package/entities/Files/schema.json +53 -0
- package/entities/Folders/action.json +535 -0
- package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderId-default.json +5 -0
- package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdDownloadJobId-default.json +4 -0
- package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdMetadata-default.json +5 -0
- package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdTags-default.json +5 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderId-default.json +26 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdDownloadJobId-default.json +17 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdItems-default.json +91 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdMetadata-default.json +11 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdMetadataFields-default.json +26 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdSearchItems-default.json +87 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdTags-default.json +6 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersItems-default.json +93 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersLists-default.json +26 -0
- package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersSearchItems-default.json +99 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderId-default.json +30 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdBulkCreate-default.json +98 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdConversation-default.json +9 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdCopy-default.json +7 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdDownload-default.json +8 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMetadata-default.json +5 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMetadataCollectionName-default.json +5 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMove-default.json +6 -0
- package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdTags-default.json +5 -0
- package/entities/Folders/mockdatafiles/putDocumentsApi12FoldersFolderId-default.json +30 -0
- package/entities/Folders/mockdatafiles/putDocumentsApi12FoldersFolderIdTags-default.json +5 -0
- package/entities/Folders/schema.json +44 -0
- package/entities/MetadataCollection/action.json +167 -0
- package/entities/MetadataCollection/mockdatafiles/deleteDocumentsApi12MetadataCollectionName-default.json +3 -0
- package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12Metadata-default.json +45 -0
- package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12MetadataCollectionName-default.json +21 -0
- package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12MetadataSearchFields-default.json +6 -0
- package/entities/MetadataCollection/mockdatafiles/postDocumentsApi12MetadataCollectionName-default.json +3 -0
- package/entities/MetadataCollection/mockdatafiles/postDocumentsApi12MetadataSearchFields-default.json +3 -0
- package/entities/MetadataCollection/mockdatafiles/putDocumentsApi12MetadataCollectionName-default.json +3 -0
- package/entities/MetadataCollection/mockdatafiles/putDocumentsApi12MetadataCollectionNameField-default.json +3 -0
- package/entities/MetadataCollection/schema.json +26 -0
- package/entities/Publiclinks/action.json +147 -0
- package/entities/Publiclinks/mockdatafiles/deleteDocumentsApi12PubliclinksLinkId-default.json +5 -0
- package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksFileFileId-default.json +37 -0
- package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksFolderFolderId-default.json +36 -0
- package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksLinkId-default.json +16 -0
- package/entities/Publiclinks/mockdatafiles/postDocumentsApi12PubliclinksFileFileId-default.json +17 -0
- package/entities/Publiclinks/mockdatafiles/postDocumentsApi12PubliclinksFolderFolderId-default.json +17 -0
- package/entities/Publiclinks/mockdatafiles/putDocumentsApi12PubliclinksLinkId-default.json +16 -0
- package/entities/Publiclinks/schema.json +25 -0
- package/entities/Shares/action.json +125 -0
- package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderId-default.json +5 -0
- package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderIdMyuser-default.json +5 -0
- package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderIdUser-default.json +18 -0
- package/entities/Shares/mockdatafiles/getDocumentsApi12SharesFolderIdItems-default.json +16 -0
- package/entities/Shares/mockdatafiles/postDocumentsApi12SharesFolderId-default.json +19 -0
- package/entities/Shares/mockdatafiles/putDocumentsApi12SharesFolderIdRole-default.json +19 -0
- package/entities/Shares/schema.json +24 -0
- package/entities/Sites/action.json +24 -0
- package/entities/Sites/mockdatafiles/postDocumentsApi12SitesSiteIdSite-default.json +33 -0
- package/entities/Sites/schema.json +19 -0
- package/entities/Templates/action.json +24 -0
- package/entities/Templates/mockdatafiles/postDocumentsApi12TemplatesTemplateIdSite-default.json +33 -0
- package/entities/Templates/schema.json +19 -0
- package/entities/Users/action.json +66 -0
- package/entities/Users/mockdatafiles/getDocumentsApi12UsersItems-default.json +24 -0
- package/entities/Users/mockdatafiles/getDocumentsApi12UsersSearchItems-default.json +12 -0
- package/entities/Users/mockdatafiles/postDocumentsApi12UsersUserIDTransferContent-default.json +15 -0
- package/entities/Users/schema.json +21 -0
- package/error.json +184 -0
- package/package.json +83 -0
- package/pronghorn.json +10358 -0
- package/propertiesSchema.json +840 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/creationReport.json +434 -0
- package/report/oracleCloud.json +11867 -0
- package/sampleProperties.json +106 -0
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +3824 -0
- package/test/unit/adapterBaseTestUnit.js +944 -0
- package/test/unit/adapterTestUnit.js +5333 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +224 -0
- package/utils/findPath.js +74 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/pre-commit.sh +27 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +169 -0
- package/utils/tbUtils.js +445 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +190 -0
- package/workflows/README.md +3 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "postDocumentsApi12Collections",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/collections?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": "mockdatafiles/postDocumentsApi12Collections-default.json"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "deleteDocumentsApi12CollectionsCollectionId",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "DELETE",
|
|
27
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/collections/{pathv1}?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": "mockdatafiles/deleteDocumentsApi12CollectionsCollectionId-default.json"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "postDocumentsApi12CollectionsCollectionIdFilesFileId",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/collections/{pathv1}/files/{pathv2}?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"requestDatatype": "JSON",
|
|
53
|
+
"responseDatatype": "JSON",
|
|
54
|
+
"headers": {},
|
|
55
|
+
"responseObjects": [
|
|
56
|
+
{
|
|
57
|
+
"type": "default",
|
|
58
|
+
"key": "",
|
|
59
|
+
"mockFile": "mockdatafiles/postDocumentsApi12CollectionsCollectionIdFilesFileId-default.json"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "deleteDocumentsApi12CollectionsCollectionIdFilesFileId",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "DELETE",
|
|
67
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/collections/{pathv1}/files/{pathv2}?{query}",
|
|
68
|
+
"requestSchema": "schema.json",
|
|
69
|
+
"responseSchema": "schema.json",
|
|
70
|
+
"timeout": 0,
|
|
71
|
+
"sendEmpty": false,
|
|
72
|
+
"requestDatatype": "JSON",
|
|
73
|
+
"responseDatatype": "JSON",
|
|
74
|
+
"headers": {},
|
|
75
|
+
"responseObjects": [
|
|
76
|
+
{
|
|
77
|
+
"type": "default",
|
|
78
|
+
"key": "",
|
|
79
|
+
"mockFile": "mockdatafiles/deleteDocumentsApi12CollectionsCollectionIdFilesFileId-default.json"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "postDocumentsApi12CollectionsCollectionIdFiles",
|
|
85
|
+
"protocol": "REST",
|
|
86
|
+
"method": "POST",
|
|
87
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/collections/{pathv1}/files?{query}",
|
|
88
|
+
"requestSchema": "schema.json",
|
|
89
|
+
"responseSchema": "schema.json",
|
|
90
|
+
"timeout": 0,
|
|
91
|
+
"sendEmpty": false,
|
|
92
|
+
"requestDatatype": "JSON",
|
|
93
|
+
"responseDatatype": "JSON",
|
|
94
|
+
"headers": {},
|
|
95
|
+
"responseObjects": [
|
|
96
|
+
{
|
|
97
|
+
"type": "default",
|
|
98
|
+
"key": "",
|
|
99
|
+
"mockFile": "mockdatafiles/postDocumentsApi12CollectionsCollectionIdFiles-default.json"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "deleteDocumentsApi12CollectionsCollectionIdFiles",
|
|
105
|
+
"protocol": "REST",
|
|
106
|
+
"method": "DELETE",
|
|
107
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/collections/{pathv1}/files?{query}",
|
|
108
|
+
"requestSchema": "schema.json",
|
|
109
|
+
"responseSchema": "schema.json",
|
|
110
|
+
"timeout": 0,
|
|
111
|
+
"sendEmpty": false,
|
|
112
|
+
"requestDatatype": "JSON",
|
|
113
|
+
"responseDatatype": "JSON",
|
|
114
|
+
"headers": {},
|
|
115
|
+
"responseObjects": [
|
|
116
|
+
{
|
|
117
|
+
"type": "default",
|
|
118
|
+
"key": "",
|
|
119
|
+
"mockFile": "mockdatafiles/deleteDocumentsApi12CollectionsCollectionIdFiles-default.json"
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "getDocumentsApi12CollectionsItems",
|
|
125
|
+
"protocol": "REST",
|
|
126
|
+
"method": "GET",
|
|
127
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/collections/items?{query}",
|
|
128
|
+
"requestSchema": "schema.json",
|
|
129
|
+
"responseSchema": "schema.json",
|
|
130
|
+
"timeout": 0,
|
|
131
|
+
"sendEmpty": false,
|
|
132
|
+
"sendGetBody": false,
|
|
133
|
+
"requestDatatype": "JSON",
|
|
134
|
+
"responseDatatype": "JSON",
|
|
135
|
+
"headers": {},
|
|
136
|
+
"responseObjects": [
|
|
137
|
+
{
|
|
138
|
+
"type": "default",
|
|
139
|
+
"key": "",
|
|
140
|
+
"mockFile": "mockdatafiles/getDocumentsApi12CollectionsItems-default.json"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"count": "3",
|
|
3
|
+
"errorCode": "0",
|
|
4
|
+
"id": "F072ECEAE8DFE10499D8C160T0000DEFAULT00000000",
|
|
5
|
+
"idList": "DDEA5A0845C4628E6DAAE369T0000DEFAULT00000000,DD65472E2B67302C13474B5BT0000DEFAULT00000000,DDBCE14AECFED0D255373924T0000DEFAULT00000000",
|
|
6
|
+
"type": "collection",
|
|
7
|
+
"items": [
|
|
8
|
+
{
|
|
9
|
+
"type": "file",
|
|
10
|
+
"id": "DDEA5A0845C4628E6DAAE369T0000DEFAULT00000000",
|
|
11
|
+
"timeStamp": "{ts '2017-04-04 12:45:52.084'}"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "file",
|
|
15
|
+
"id": "DD65472E2B67302C13474B5BT0000DEFAULT00000000",
|
|
16
|
+
"timeStamp": "{ts '2017-04-04 12:45:52.097'}"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "file",
|
|
20
|
+
"id": "DDBCE14AECFED0D255373924T0000DEFAULT00000000",
|
|
21
|
+
"message": "!csDAMItemNotInCollection,fFileGUID:DDBCE14AECFED0D255373924T0000DEFAULT00000000,fFolderGUID:F072ECEAE8DFE10499D8C160T0000DEFAULT00000000",
|
|
22
|
+
"timeStamp": "{ts '2017-04-04 12:45:52.110'}"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"count": "1",
|
|
3
|
+
"errorCode": "0",
|
|
4
|
+
"hasMore": "0",
|
|
5
|
+
"offset": "0",
|
|
6
|
+
"totalOwned": "1",
|
|
7
|
+
"totalResults": "1",
|
|
8
|
+
"totalShared": "0",
|
|
9
|
+
"items": [
|
|
10
|
+
{
|
|
11
|
+
"type": "collection",
|
|
12
|
+
"id": "FB0CC049082D12D32B3A8774T0000DEFAULT00000000",
|
|
13
|
+
"name": "myCollection",
|
|
14
|
+
"createdBy": {
|
|
15
|
+
"id": "U0EAA20910FAF3052ACB79E4T00000000001",
|
|
16
|
+
"displayName": "User AA",
|
|
17
|
+
"loginName": "UserAA",
|
|
18
|
+
"type": "user"
|
|
19
|
+
},
|
|
20
|
+
"modifiedBy": {
|
|
21
|
+
"id": "U0EAA20910FAF3052ACB79E4T00000000001",
|
|
22
|
+
"displayName": "User AA",
|
|
23
|
+
"loginName": "UserAA",
|
|
24
|
+
"type": "user"
|
|
25
|
+
},
|
|
26
|
+
"ownedBy": {
|
|
27
|
+
"id": "U0EAA20910FAF3052ACB79E4T00000000001",
|
|
28
|
+
"displayName": "User AA",
|
|
29
|
+
"loginName": "UserAA",
|
|
30
|
+
"type": "user"
|
|
31
|
+
},
|
|
32
|
+
"createdTime": "2017-05-15T22:40:30Z",
|
|
33
|
+
"modifiedTime": "2017-05-15T22:40:30Z",
|
|
34
|
+
"description": "REST Collection"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"childItemsCount": "0",
|
|
3
|
+
"createdBy": {
|
|
4
|
+
"id": "U0EAA20910FAF3052ACB79E4T00000000001",
|
|
5
|
+
"displayName": "User AA",
|
|
6
|
+
"loginName": "UserAA",
|
|
7
|
+
"type": "user"
|
|
8
|
+
},
|
|
9
|
+
"createdTime": "2017-03-28T20:09:21Z",
|
|
10
|
+
"description": "Optional description",
|
|
11
|
+
"errorCode": "0",
|
|
12
|
+
"id": "F79BD107FC398ED6FB482274T0000DEFAULT00000000",
|
|
13
|
+
"modifiedBy": {
|
|
14
|
+
"id": "U0EAA20910FAF3052ACB79E4T00000000001",
|
|
15
|
+
"displayName": "User AA",
|
|
16
|
+
"loginName": "UserAA",
|
|
17
|
+
"type": "user"
|
|
18
|
+
},
|
|
19
|
+
"modifiedTime": "2017-03-28T20:09:21Z",
|
|
20
|
+
"name": "myCollection",
|
|
21
|
+
"ownedBy": {
|
|
22
|
+
"id": "U0EAA20910FAF3052ACB79E4T00000000001",
|
|
23
|
+
"displayName": "User AA",
|
|
24
|
+
"loginName": "UserAA",
|
|
25
|
+
"type": "user"
|
|
26
|
+
},
|
|
27
|
+
"type": "collection"
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"count": "4",
|
|
3
|
+
"errorCode": "0",
|
|
4
|
+
"id": "F7A27C75D2960E169E902F9D45B3E9DD6490CF81DFC2",
|
|
5
|
+
"idList": "DC9B560D7F2056632D6C651745B3E9DD6490CF81DFC2,DB538D72C3A1B532A163AD0A45B3E9DD6490CF81DFC2,D908B9357C4E7C64D3370A0D45B3E9DD6490CF81DFC2,D6687F6592E2186E4FFC298945B3E9DD6490CF81DFC2",
|
|
6
|
+
"type": "collection",
|
|
7
|
+
"items": [
|
|
8
|
+
{
|
|
9
|
+
"type": "file",
|
|
10
|
+
"id": "D908B9357C4E7C64D3370A0D45B3E9DD6490CF81DFC2",
|
|
11
|
+
"timeStamp": "{ts '2017-09-12 20:29:14.428'}"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "file",
|
|
15
|
+
"id": "DC9B560D7F2056632D6C651745B3E9DD6490CF81DFC2",
|
|
16
|
+
"message": "!csCloudItemInsufficientPrivileges,UserAA,fFileGUID:DC9B560D7F2056632D6C651745B3E9DD6490CF81DFC2,ADD_ITEM_TO_COLLECTION",
|
|
17
|
+
"timeStamp": "{ts '2017-09-12 20:29:14.255'}"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "file",
|
|
21
|
+
"id": "DB538D72C3A1B532A163AD0A45B3E9DD6490CF81DFC2",
|
|
22
|
+
"message": "!csDAMItemAlreadyInCollection,fFileGUID:DB538D72C3A1B532A163AD0A45B3E9DD6490CF81DFC2,fFolderGUID:F7A27C75D2960E169E902F9D45B3E9DD6490CF81DFC2",
|
|
23
|
+
"timeStamp": "{ts '2017-09-12 20:29:14.298'}"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "file",
|
|
27
|
+
"id": "D6687F6592E2186E4FFC298945B3E9DD6490CF81DFC2",
|
|
28
|
+
"message": "!csDAMItemNotAllowedInCollection,fFileGUID:D6687F6592E2186E4FFC298945B3E9DD6490CF81DFC2,fFolderGUID:F7A27C75D2960E169E902F9D45B3E9DD6490CF81DFC2",
|
|
29
|
+
"timeStamp": "{ts '2017-09-12 20:29:14.440'}"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "postDocumentsApi12Collections",
|
|
12
|
+
"enum": [
|
|
13
|
+
"postDocumentsApi12Collections",
|
|
14
|
+
"deleteDocumentsApi12CollectionsCollectionId",
|
|
15
|
+
"postDocumentsApi12CollectionsCollectionIdFilesFileId",
|
|
16
|
+
"deleteDocumentsApi12CollectionsCollectionIdFilesFileId",
|
|
17
|
+
"postDocumentsApi12CollectionsCollectionIdFiles",
|
|
18
|
+
"deleteDocumentsApi12CollectionsCollectionIdFiles",
|
|
19
|
+
"getDocumentsApi12CollectionsItems"
|
|
20
|
+
],
|
|
21
|
+
"external_name": "ph_request_type"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"definitions": {}
|
|
25
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getDocumentsApi12ConfigCollaboration",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/config/collaboration?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": "mockdatafiles/getDocumentsApi12ConfigCollaboration-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "getDocumentsApi12ConfigSitesDeliverycdn",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/config/sites/deliverycdn?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": "mockdatafiles/getDocumentsApi12ConfigSitesDeliverycdn-default.json"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "getDocumentsApi12ConfigNotificationEmail",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/config/notification/email?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"sendGetBody": false,
|
|
55
|
+
"requestDatatype": "JSON",
|
|
56
|
+
"responseDatatype": "JSON",
|
|
57
|
+
"headers": {},
|
|
58
|
+
"responseObjects": [
|
|
59
|
+
{
|
|
60
|
+
"type": "default",
|
|
61
|
+
"key": "",
|
|
62
|
+
"mockFile": "mockdatafiles/getDocumentsApi12ConfigNotificationEmail-default.json"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "putDocumentsApi12ConfigNotificationEmail",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "PUT",
|
|
70
|
+
"entitypath": "{base_path}/{version}/documents/api/1.2/config/notification/email?{query}",
|
|
71
|
+
"requestSchema": "schema.json",
|
|
72
|
+
"responseSchema": "schema.json",
|
|
73
|
+
"timeout": 0,
|
|
74
|
+
"sendEmpty": false,
|
|
75
|
+
"requestDatatype": "JSON",
|
|
76
|
+
"responseDatatype": "JSON",
|
|
77
|
+
"headers": {},
|
|
78
|
+
"responseObjects": [
|
|
79
|
+
{
|
|
80
|
+
"type": "default",
|
|
81
|
+
"key": "",
|
|
82
|
+
"mockFile": "mockdatafiles/putDocumentsApi12ConfigNotificationEmail-default.json"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigCollaboration-default.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errorCode": "0",
|
|
3
|
+
"cListURL": "http://service1-tenant1.dly.gemmain.shared.osn.oraclecorp.com:19200/osn/web/cList",
|
|
4
|
+
"clientURL": "http://service1-tenant1.dly.gemmain.shared.osn.oraclecorp.com:19200/osn",
|
|
5
|
+
"oAuthCListURL": "http://service1-tenant1.dly.gemmain.shared.osn.oraclecorp.com:19200/osnoauth/web/cList",
|
|
6
|
+
"oAuthClientURL": "http://service1-tenant1.dly.gemmain.shared.osn.oraclecorp.com:19200/osnoauth",
|
|
7
|
+
"restURL": "http://service1-tenant1.dly.gemmain.shared.osn.oraclecorp.com:19200/osn/social/api/v1",
|
|
8
|
+
"serviceURL": "http://service1-tenant1.dly.gemmain.shared.osn.oraclecorp.com:19200/osn"
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getDocumentsApi12ConfigCollaboration",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getDocumentsApi12ConfigCollaboration",
|
|
14
|
+
"getDocumentsApi12ConfigSitesDeliverycdn",
|
|
15
|
+
"getDocumentsApi12ConfigNotificationEmail",
|
|
16
|
+
"putDocumentsApi12ConfigNotificationEmail"
|
|
17
|
+
],
|
|
18
|
+
"external_name": "ph_request_type"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"definitions": {}
|
|
22
|
+
}
|