@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.
Files changed (166) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/CHANGELOG.md +9 -0
  5. package/CODE_OF_CONDUCT.md +48 -0
  6. package/CONTRIBUTING.md +158 -0
  7. package/LICENSE +201 -0
  8. package/README.md +687 -0
  9. package/adapter.js +11250 -0
  10. package/adapterBase.js +1028 -0
  11. package/entities/.generic/action.json +109 -0
  12. package/entities/.generic/schema.json +23 -0
  13. package/entities/.system/action.json +50 -0
  14. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  15. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  16. package/entities/.system/schema.json +19 -0
  17. package/entities/.system/schemaTokenReq.json +53 -0
  18. package/entities/.system/schemaTokenResp.json +53 -0
  19. package/entities/Applinks/action.json +64 -0
  20. package/entities/Applinks/mockdatafiles/postDocumentsApi12ApplinksFileFileId-default.json +10 -0
  21. package/entities/Applinks/mockdatafiles/postDocumentsApi12ApplinksFolderFolderId-default.json +10 -0
  22. package/entities/Applinks/mockdatafiles/putDocumentsApi12ApplinksToken-default.json +5 -0
  23. package/entities/Applinks/schema.json +21 -0
  24. package/entities/Catalog/action.json +298 -0
  25. package/entities/Catalog/mockdatafiles/getDocumentsApi-default.json +61 -0
  26. package/entities/Catalog/mockdatafiles/getDocumentsApiVersion-default.json +23 -0
  27. package/entities/Catalog/mockdatafiles/getDocumentsApiVersionMetadataCatalog-default.json +147 -0
  28. package/entities/Catalog/schema.json +32 -0
  29. package/entities/Collections/action.json +145 -0
  30. package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionId-default.json +5 -0
  31. package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionIdFiles-default.json +25 -0
  32. package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionIdFilesFileId-default.json +5 -0
  33. package/entities/Collections/mockdatafiles/getDocumentsApi12CollectionsItems-default.json +37 -0
  34. package/entities/Collections/mockdatafiles/postDocumentsApi12Collections-default.json +28 -0
  35. package/entities/Collections/mockdatafiles/postDocumentsApi12CollectionsCollectionIdFiles-default.json +32 -0
  36. package/entities/Collections/mockdatafiles/postDocumentsApi12CollectionsCollectionIdFilesFileId-default.json +6 -0
  37. package/entities/Collections/schema.json +25 -0
  38. package/entities/Configuration/action.json +87 -0
  39. package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigCollaboration-default.json +9 -0
  40. package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigNotificationEmail-default.json +5 -0
  41. package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigSitesDeliverycdn-default.json +10 -0
  42. package/entities/Configuration/mockdatafiles/putDocumentsApi12ConfigNotificationEmail-default.json +4 -0
  43. package/entities/Configuration/schema.json +22 -0
  44. package/entities/Files/action.json +721 -0
  45. package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileId-default.json +5 -0
  46. package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileIdMetadata-default.json +5 -0
  47. package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileIdTags-default.json +5 -0
  48. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileId-default.json +150 -0
  49. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdAccesses-default.json +26 -0
  50. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdDataRenditions-default.json +21 -0
  51. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdMetadata-default.json +15 -0
  52. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdMetadataFields-default.json +45 -0
  53. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdPages-default.json +6 -0
  54. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdPreviewPath-default.json +7 -0
  55. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdTags-default.json +6 -0
  56. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdVersions-default.json +37 -0
  57. package/entities/Files/mockdatafiles/getDocumentsApi12FilesLists-default.json +34 -0
  58. package/entities/Files/mockdatafiles/postDocumentsApi12FilesData-default.json +30 -0
  59. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdConversation-default.json +9 -0
  60. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdCopy-default.json +7 -0
  61. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdData-default.json +30 -0
  62. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdDataRendition-default.json +5 -0
  63. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMetadata-default.json +5 -0
  64. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMetadataCollectionName-default.json +5 -0
  65. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMove-default.json +6 -0
  66. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdPages-default.json +5 -0
  67. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdReserve-default.json +12 -0
  68. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdTags-default.json +5 -0
  69. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdUnreserve-default.json +5 -0
  70. package/entities/Files/mockdatafiles/putDocumentsApi12FilesFileId-default.json +29 -0
  71. package/entities/Files/mockdatafiles/putDocumentsApi12FilesFileIdTags-default.json +5 -0
  72. package/entities/Files/schema.json +53 -0
  73. package/entities/Folders/action.json +535 -0
  74. package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderId-default.json +5 -0
  75. package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdDownloadJobId-default.json +4 -0
  76. package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdMetadata-default.json +5 -0
  77. package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdTags-default.json +5 -0
  78. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderId-default.json +26 -0
  79. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdDownloadJobId-default.json +17 -0
  80. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdItems-default.json +91 -0
  81. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdMetadata-default.json +11 -0
  82. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdMetadataFields-default.json +26 -0
  83. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdSearchItems-default.json +87 -0
  84. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdTags-default.json +6 -0
  85. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersItems-default.json +93 -0
  86. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersLists-default.json +26 -0
  87. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersSearchItems-default.json +99 -0
  88. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderId-default.json +30 -0
  89. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdBulkCreate-default.json +98 -0
  90. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdConversation-default.json +9 -0
  91. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdCopy-default.json +7 -0
  92. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdDownload-default.json +8 -0
  93. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMetadata-default.json +5 -0
  94. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMetadataCollectionName-default.json +5 -0
  95. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMove-default.json +6 -0
  96. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdTags-default.json +5 -0
  97. package/entities/Folders/mockdatafiles/putDocumentsApi12FoldersFolderId-default.json +30 -0
  98. package/entities/Folders/mockdatafiles/putDocumentsApi12FoldersFolderIdTags-default.json +5 -0
  99. package/entities/Folders/schema.json +44 -0
  100. package/entities/MetadataCollection/action.json +167 -0
  101. package/entities/MetadataCollection/mockdatafiles/deleteDocumentsApi12MetadataCollectionName-default.json +3 -0
  102. package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12Metadata-default.json +45 -0
  103. package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12MetadataCollectionName-default.json +21 -0
  104. package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12MetadataSearchFields-default.json +6 -0
  105. package/entities/MetadataCollection/mockdatafiles/postDocumentsApi12MetadataCollectionName-default.json +3 -0
  106. package/entities/MetadataCollection/mockdatafiles/postDocumentsApi12MetadataSearchFields-default.json +3 -0
  107. package/entities/MetadataCollection/mockdatafiles/putDocumentsApi12MetadataCollectionName-default.json +3 -0
  108. package/entities/MetadataCollection/mockdatafiles/putDocumentsApi12MetadataCollectionNameField-default.json +3 -0
  109. package/entities/MetadataCollection/schema.json +26 -0
  110. package/entities/Publiclinks/action.json +147 -0
  111. package/entities/Publiclinks/mockdatafiles/deleteDocumentsApi12PubliclinksLinkId-default.json +5 -0
  112. package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksFileFileId-default.json +37 -0
  113. package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksFolderFolderId-default.json +36 -0
  114. package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksLinkId-default.json +16 -0
  115. package/entities/Publiclinks/mockdatafiles/postDocumentsApi12PubliclinksFileFileId-default.json +17 -0
  116. package/entities/Publiclinks/mockdatafiles/postDocumentsApi12PubliclinksFolderFolderId-default.json +17 -0
  117. package/entities/Publiclinks/mockdatafiles/putDocumentsApi12PubliclinksLinkId-default.json +16 -0
  118. package/entities/Publiclinks/schema.json +25 -0
  119. package/entities/Shares/action.json +125 -0
  120. package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderId-default.json +5 -0
  121. package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderIdMyuser-default.json +5 -0
  122. package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderIdUser-default.json +18 -0
  123. package/entities/Shares/mockdatafiles/getDocumentsApi12SharesFolderIdItems-default.json +16 -0
  124. package/entities/Shares/mockdatafiles/postDocumentsApi12SharesFolderId-default.json +19 -0
  125. package/entities/Shares/mockdatafiles/putDocumentsApi12SharesFolderIdRole-default.json +19 -0
  126. package/entities/Shares/schema.json +24 -0
  127. package/entities/Sites/action.json +24 -0
  128. package/entities/Sites/mockdatafiles/postDocumentsApi12SitesSiteIdSite-default.json +33 -0
  129. package/entities/Sites/schema.json +19 -0
  130. package/entities/Templates/action.json +24 -0
  131. package/entities/Templates/mockdatafiles/postDocumentsApi12TemplatesTemplateIdSite-default.json +33 -0
  132. package/entities/Templates/schema.json +19 -0
  133. package/entities/Users/action.json +66 -0
  134. package/entities/Users/mockdatafiles/getDocumentsApi12UsersItems-default.json +24 -0
  135. package/entities/Users/mockdatafiles/getDocumentsApi12UsersSearchItems-default.json +12 -0
  136. package/entities/Users/mockdatafiles/postDocumentsApi12UsersUserIDTransferContent-default.json +15 -0
  137. package/entities/Users/schema.json +21 -0
  138. package/error.json +184 -0
  139. package/package.json +83 -0
  140. package/pronghorn.json +10358 -0
  141. package/propertiesSchema.json +840 -0
  142. package/refs?service=git-upload-pack +0 -0
  143. package/report/creationReport.json +434 -0
  144. package/report/oracleCloud.json +11867 -0
  145. package/sampleProperties.json +106 -0
  146. package/test/integration/adapterTestBasicGet.js +85 -0
  147. package/test/integration/adapterTestConnectivity.js +93 -0
  148. package/test/integration/adapterTestIntegration.js +3824 -0
  149. package/test/unit/adapterBaseTestUnit.js +944 -0
  150. package/test/unit/adapterTestUnit.js +5333 -0
  151. package/utils/addAuth.js +94 -0
  152. package/utils/artifactize.js +146 -0
  153. package/utils/basicGet.js +50 -0
  154. package/utils/checkMigrate.js +63 -0
  155. package/utils/entitiesToDB.js +224 -0
  156. package/utils/findPath.js +74 -0
  157. package/utils/modify.js +154 -0
  158. package/utils/packModificationScript.js +35 -0
  159. package/utils/pre-commit.sh +27 -0
  160. package/utils/removeHooks.js +20 -0
  161. package/utils/setup.js +33 -0
  162. package/utils/tbScript.js +169 -0
  163. package/utils/tbUtils.js +445 -0
  164. package/utils/testRunner.js +298 -0
  165. package/utils/troubleshootingAdapter.js +190 -0
  166. package/workflows/README.md +3 -0
@@ -0,0 +1,5 @@
1
+ {
2
+ "idList": "D34A657B8723A96097F80926T0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,150 @@
1
+ {
2
+ "count": "13",
3
+ "createdBy": {
4
+ "displayName": "Tenant1 UserB",
5
+ "id": "Service1.UserB",
6
+ "loginName": "Service1.UserB",
7
+ "type": "user"
8
+ },
9
+ "createdTime": "2018-02-28T20:00:22Z",
10
+ "errorCode": "0",
11
+ "id": "DFB10CF19A743BF1338CFF01AB7008277F375F0158F1",
12
+ "mimeType": "image/jpeg",
13
+ "modifiedBy": {
14
+ "displayName": "Tenant1 UserB",
15
+ "id": "Service1.UserB",
16
+ "loginName": "Service1.UserB",
17
+ "type": "user"
18
+ },
19
+ "modifiedTime": "2018-02-28T20:00:22Z",
20
+ "name": "BlueSquare.jpg",
21
+ "ownedBy": {
22
+ "displayName": "Tenant1 UserB",
23
+ "id": "Service1.UserB",
24
+ "loginName": "Service1.UserB",
25
+ "type": "user"
26
+ },
27
+ "parentID": "F26D598E507E96F9B41C98BA36219C7DA83E60B83105",
28
+ "size": "24205",
29
+ "type": "file",
30
+ "version": "1",
31
+ "items": [
32
+ {
33
+ "type": "uithumbnail",
34
+ "name": "thumbnail",
35
+ "exists": "true",
36
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/thumbnail?version=1",
37
+ "size": "2478",
38
+ "width": "300",
39
+ "height": "180"
40
+ },
41
+ {
42
+ "type": "imagepreview",
43
+ "name": "page1",
44
+ "exists": "false",
45
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/rendition?rendition=page1&version=1",
46
+ "size": "0",
47
+ "width": "0",
48
+ "height": "0"
49
+ },
50
+ {
51
+ "type": "imagepreview",
52
+ "name": "thumbnail1",
53
+ "exists": "false",
54
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/rendition?rendition=thumbnail1&version=1",
55
+ "size": "0",
56
+ "width": "0",
57
+ "height": "0"
58
+ },
59
+ {
60
+ "type": "native",
61
+ "name": "asset",
62
+ "exists": "true",
63
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data?version=1",
64
+ "size": "24205",
65
+ "width": "360",
66
+ "height": "216"
67
+ },
68
+ {
69
+ "type": "responsiveimage",
70
+ "name": "ImageThumbnailjpg",
71
+ "exists": "true",
72
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/thumbnailImage?version=1",
73
+ "size": "2275",
74
+ "width": "150",
75
+ "height": "90"
76
+ },
77
+ {
78
+ "type": "responsiveimage",
79
+ "name": "ImageThumbnailwebp",
80
+ "exists": "false",
81
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/thumbnailImage?format=webp&version=1",
82
+ "size": "0",
83
+ "width": "150",
84
+ "height": "90"
85
+ },
86
+ {
87
+ "type": "responsiveimage",
88
+ "name": "ImageSmalljpg",
89
+ "exists": "false",
90
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/smallImage?version=1",
91
+ "size": "0",
92
+ "width": "300",
93
+ "height": "180"
94
+ },
95
+ {
96
+ "type": "responsiveimage",
97
+ "name": "ImageSmallwebp",
98
+ "exists": "true",
99
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/smallImage?format=webp&version=1",
100
+ "size": "380",
101
+ "width": "300",
102
+ "height": "180"
103
+ },
104
+ {
105
+ "type": "responsiveimage",
106
+ "name": "ImageMediumjpg",
107
+ "exists": "true",
108
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/mediumImage?version=1",
109
+ "size": "24205",
110
+ "width": "360",
111
+ "height": "216"
112
+ },
113
+ {
114
+ "type": "responsiveimage",
115
+ "name": "ImageMediumwebp",
116
+ "exists": "false",
117
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/mediumImage?format=webp&version=1",
118
+ "size": "0",
119
+ "width": "360",
120
+ "height": "216"
121
+ },
122
+ {
123
+ "type": "responsiveimage",
124
+ "name": "ImageLargejpg",
125
+ "exists": "true",
126
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/largeImage?version=1",
127
+ "size": "24205",
128
+ "width": "360",
129
+ "height": "216"
130
+ },
131
+ {
132
+ "type": "responsiveimage",
133
+ "name": "ImageLargewebp",
134
+ "exists": "false",
135
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/largeImage?format=webp&version=1",
136
+ "size": "0",
137
+ "width": "360",
138
+ "height": "216"
139
+ },
140
+ {
141
+ "type": "customrendition",
142
+ "name": "Desert",
143
+ "exists": "true",
144
+ "link": "http://service1-tenant1:8080/documents/api/1.2/files/DFB10CF19A743BF1338CFF01AB7008277F375F0158F1/data/rendition?rendition=Desert&renditionType=uploaded&version=1",
145
+ "size": "845941",
146
+ "width": "1024",
147
+ "height": "768"
148
+ }
149
+ ]
150
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "count": "1",
3
+ "errorCode": "0",
4
+ "hasMore": "0",
5
+ "totalCount": "1",
6
+ "type": "access",
7
+ "items": [
8
+ {
9
+ "type": "file",
10
+ "accessType": "download",
11
+ "accessedTime": "2017-05-02T21:23:18.000Z",
12
+ "id": "D574378400573ED9D62B3195T0000000000100000001",
13
+ "version": "1",
14
+ "accessedBy": {
15
+ "displayName": "User AA",
16
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
17
+ "loginName": "userAALoginName",
18
+ "type": "user"
19
+ },
20
+ "errorCode": "0",
21
+ "clientIP": "10.10.82.114",
22
+ "refererURL": "https://service1-tenant1:19200/documents/fileview/D1EEF28A920A342E8EC0E39645B3E9DD6490EF9D4696/_Mugs.jpg",
23
+ "size": "53834"
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "errorCode": "0",
3
+ "id": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
4
+ "type": "file",
5
+ "items": [
6
+ {
7
+ "type": "rendition",
8
+ "name": "small",
9
+ "description": "jellyfish small custom rendition",
10
+ "path": "small.jpg",
11
+ "originalName": "Jellyfish_small.jpg"
12
+ },
13
+ {
14
+ "type": "rendition",
15
+ "name": "crop",
16
+ "description": "jellyfish crop custom rendition",
17
+ "path": "crop.jpg",
18
+ "originalName": "Jellyfish_crop.jpg"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0",
5
+ "metadata": {
6
+ "CollectionA": {
7
+ "FieldA1": "Value1",
8
+ "FieldA2": "Value2"
9
+ },
10
+ "CollectionB": {
11
+ "FieldB1": "Value1",
12
+ "FieldB2": "Value2"
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0",
5
+ "metadataFields": {
6
+ "CollectionA": {
7
+ "isEnabled": 1,
8
+ "isInherited": 1,
9
+ "type": "collection",
10
+ "items": [
11
+ {
12
+ "type": "field",
13
+ "fieldName": "A1",
14
+ "fieldType": "string",
15
+ "isEnabled": 1
16
+ },
17
+ {
18
+ "type": "field",
19
+ "fieldName": "A2",
20
+ "fieldType": "string",
21
+ "isEnabled": 0
22
+ }
23
+ ]
24
+ },
25
+ "CollectionB": {
26
+ "isEnabled": 1,
27
+ "isInherited": 0,
28
+ "type": "collection",
29
+ "items": [
30
+ {
31
+ "type": "field",
32
+ "fieldName": "B1",
33
+ "fieldType": "string",
34
+ "isEnabled": 0
35
+ },
36
+ {
37
+ "type": "field",
38
+ "fieldName": "B2",
39
+ "fieldType": "string",
40
+ "isEnabled": 1
41
+ }
42
+ ]
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "pages": "22",
4
+ "type": "file",
5
+ "errorCode": "0"
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "errorCode": "0",
3
+ "id": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
4
+ "previewUrl": "http://Service1-AttTenant1.slc04ymr.us.oracle.com:12020/documents/fileview/D03175B85C8EAA3B6F2BC6A84EE870070A1A2B7FEACF/1/preview/html5/pvw.html",
5
+ "version": "1",
6
+ "type": "file"
7
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "errorCode": "0",
3
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
4
+ "tags": "personal,work",
5
+ "type": "file"
6
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "id": "D574378400573ED9D62B3195T0000000000100000001",
3
+ "parentID": "FB4CD874EF94CD2CC1B60B72T0000000000100000001",
4
+ "name": "example2.txt",
5
+ "type": "file",
6
+ "errorCode": "0",
7
+ "items": [
8
+ {
9
+ "id": "D574378400573ED9D62B3195T0000000000100000001",
10
+ "parentID": "FB4CD874EF94CD2CC1B60B72T0000000000100000001",
11
+ "name": "example2.txt",
12
+ "type": "file",
13
+ "size": "13",
14
+ "version": "1",
15
+ "createdTime": "2014-02-21T21:15:57Z",
16
+ "modifiedTime": "2014-02-21T21:18:49Z",
17
+ "createdBy": {
18
+ "displayName": "User AA",
19
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
20
+ "loginName": "userAALoginName",
21
+ "type": "user"
22
+ },
23
+ "ownedBy": {
24
+ "displayName": "User AA",
25
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
26
+ "loginName": "userAALoginName",
27
+ "type": "user"
28
+ },
29
+ "modifiedBy": {
30
+ "displayName": "User AA",
31
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
32
+ "loginName": "userAALoginName",
33
+ "type": "user"
34
+ }
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "errorCode": "0",
3
+ "items": [
4
+ {
5
+ "type": "file",
6
+ "size": "129756",
7
+ "mimeType": "image/jpeg",
8
+ "version": "1",
9
+ "createdTime": "2017-06-09T15:23:34Z",
10
+ "createdBy": {
11
+ "displayName": "UserAA",
12
+ "id": "U5C4D5FCE14F2B44946FA74745B3E9DD6490",
13
+ "loginName": "userAALoginName",
14
+ "type": "user"
15
+ },
16
+ "id": "D9B1139A67E4F7F382AA55C145B3E9DD6490EDC3EE22",
17
+ "name": "exif-xmp.jpg",
18
+ "modifiedTime": "2017-06-09T15:23:34Z",
19
+ "modifiedBy": {
20
+ "displayName": "UserAA",
21
+ "id": "U5C4D5FCE14F2B44946FA74745B3E9DD6490",
22
+ "loginName": "userAALoginName",
23
+ "type": "user"
24
+ },
25
+ "ownedBy": {
26
+ "displayName": "UserAA",
27
+ "id": "U5C4D5FCE14F2B44946FA74745B3E9DD6490",
28
+ "loginName": "userAALoginName",
29
+ "type": "user"
30
+ },
31
+ "parentID": "F1B1C454FD92B47E9EB6883845B3E9DD6490EDC3EE22"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "id": "DB1C5AF480FFE61C588027A8T0000000000100000001",
3
+ "parentID": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
4
+ "name": "example.txt",
5
+ "type": "file",
6
+ "size": "13",
7
+ "version": "1",
8
+ "createdTime": "2014-02-21T21:32:37Z",
9
+ "modifiedTime": "2014-02-21T21:32:37Z",
10
+ "createdBy": {
11
+ "displayName": "User AA",
12
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
13
+ "loginName": "userAALoginName",
14
+ "type": "user"
15
+ },
16
+ "ownedBy": {
17
+ "displayName": "User AA",
18
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
19
+ "loginName": "userAALoginName",
20
+ "type": "user"
21
+ },
22
+ "modifiedBy": {
23
+ "displayName": "User AA",
24
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
25
+ "loginName": "userAALoginName",
26
+ "type": "user"
27
+ },
28
+ "errorCode": "0",
29
+ "errorMessage": "Successfully checked in content item 'ADC412030000000000000000000002'."
30
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "DFCCA263ED167730B7824BFF98503556E71E89DE95CC",
3
+ "type": "file",
4
+ "errorCode": "0",
5
+ "conversationID": "13865",
6
+ "conversationName": "File Conversation Test",
7
+ "conversationAppLink": "http://service1-tenant1.dly.gemmain.shared.cec.oraclecorp.com:19200/osn/web/cList/conversations/13865",
8
+ "conversationAppLinkToken": "2842038cbf8b9c5db8ec37db134b5af44e9240d20f79891a0eb18e3df90b6684s"
9
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "destinationID": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
3
+ "id": "D4018B1EF3AC07D0A349DB8DT0000000000100000001",
4
+ "idList": "D574378400573ED9D62B3195T0000000000100000001",
5
+ "type": "file",
6
+ "errorCode": "0"
7
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "id": "D574378400573ED9D62B3195T0000000000100000001",
3
+ "parentID": "FB4CD874EF94CD2CC1B60B72T0000000000100000001",
4
+ "name": "example2.txt",
5
+ "type": "file",
6
+ "size": "13",
7
+ "version": "1",
8
+ "createdTime": "2014-02-21T21:15:57Z",
9
+ "modifiedTime": "2014-02-21T21:18:20Z",
10
+ "createdBy": {
11
+ "displayName": "User AA",
12
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
13
+ "loginName": "userAALoginName",
14
+ "type": "user"
15
+ },
16
+ "ownedBy": {
17
+ "displayName": "User AA",
18
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
19
+ "loginName": "userAALoginName",
20
+ "type": "user"
21
+ },
22
+ "modifiedBy": {
23
+ "displayName": "User AA",
24
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
25
+ "loginName": "userAALoginName",
26
+ "type": "user"
27
+ },
28
+ "errorCode": "0",
29
+ "errorMessage": "Successfully checked in content item 'ADC412030000000000000000000003'."
30
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "id": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "destinationID": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
3
+ "idList": "D574378400573ED9D62B3195T0000000000100000001",
4
+ "type": "file",
5
+ "errorCode": "0"
6
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "id": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
3
+ "type": "file",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "id": "D5B8B54BA8C121BEDB91A1341212FF6185DEA5EFC0BD",
3
+ "reservationDate": "2015-06-15T19:34:17.000Z",
4
+ "reservedBy": {
5
+ "displayName": "User AA",
6
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
7
+ "loginName": "userAALoginName",
8
+ "type": "user"
9
+ },
10
+ "type": "file",
11
+ "errorCode": "0"
12
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "errorCode": "0",
3
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
4
+ "type": "file"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "id": "D5B8B54BA8C121BEDB91A1341212FF6185DEA5EFC0BD",
3
+ "type": "file",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "id": "D574378400573ED9D62B3195T0000000000100000001",
3
+ "parentID": "FB4CD874EF94CD2CC1B60B72T0000000000100000001",
4
+ "name": "filev4.txt",
5
+ "type": "file",
6
+ "size": "13",
7
+ "version": "4",
8
+ "createdTime": "2014-02-21T21:32:37Z",
9
+ "modifiedTime": "2014-02-21T21:32:37Z",
10
+ "createdBy": {
11
+ "displayName": "User AA",
12
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
13
+ "loginName": "userAALoginName",
14
+ "type": "user"
15
+ },
16
+ "ownedBy": {
17
+ "displayName": "User AA",
18
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
19
+ "loginName": "userAALoginName",
20
+ "type": "user"
21
+ },
22
+ "modifiedBy": {
23
+ "displayName": "User AA",
24
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
25
+ "loginName": "userAALoginName",
26
+ "type": "user"
27
+ },
28
+ "errorCode": "0"
29
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "errorCode": "0",
3
+ "idList": "D3C1C1F319CFE6B102095C5DT0000000000100000001",
4
+ "type": "file"
5
+ }
@@ -0,0 +1,53 @@
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": "postDocumentsApi12FilesData",
12
+ "enum": [
13
+ "postDocumentsApi12FilesData",
14
+ "postDocumentsApi12FilesFileIdData",
15
+ "getDocumentsApi12FilesFileIdData",
16
+ "postDocumentsApi12FilesFileIdMetadataCollectionName",
17
+ "postDocumentsApi12FilesFileIdMetadata",
18
+ "getDocumentsApi12FilesFileIdMetadata",
19
+ "deleteDocumentsApi12FilesFileIdMetadata",
20
+ "getDocumentsApi12FilesFileIdMetadataFields",
21
+ "getDocumentsApi12FilesLists",
22
+ "getDocumentsApi12FilesFileId",
23
+ "putDocumentsApi12FilesFileId",
24
+ "deleteDocumentsApi12FilesFileId",
25
+ "postDocumentsApi12FilesFileIdCopy",
26
+ "postDocumentsApi12FilesFileIdMove",
27
+ "getDocumentsApi12FilesFileIdVersions",
28
+ "postDocumentsApi12FilesFileIdReserve",
29
+ "postDocumentsApi12FilesFileIdUnreserve",
30
+ "getDocumentsApi12FilesFileIdDataThumbnailImage",
31
+ "getDocumentsApi12FilesFileIdDataSmallImage",
32
+ "getDocumentsApi12FilesFileIdDataMediumImage",
33
+ "getDocumentsApi12FilesFileIdDataLargeImage",
34
+ "getDocumentsApi12FilesFileIdDataThumbnail",
35
+ "getDocumentsApi12FilesFileIdDataRendition",
36
+ "postDocumentsApi12FilesFileIdDataRendition",
37
+ "deleteDocumentsApi12FilesFileIdDataRendition",
38
+ "getDocumentsApi12FilesFileIdDataRenditions",
39
+ "getDocumentsApi12FilesFileIdPages",
40
+ "postDocumentsApi12FilesFileIdPages",
41
+ "getDocumentsApi12FilesFileIdPreviewPath",
42
+ "getDocumentsApi12FilesFileIdTags",
43
+ "postDocumentsApi12FilesFileIdTags",
44
+ "putDocumentsApi12FilesFileIdTags",
45
+ "deleteDocumentsApi12FilesFileIdTags",
46
+ "postDocumentsApi12FilesFileIdConversation",
47
+ "getDocumentsApi12FilesFileIdAccesses"
48
+ ],
49
+ "external_name": "ph_request_type"
50
+ }
51
+ },
52
+ "definitions": {}
53
+ }