@izara_project/izara-core-library-service-schemas 1.0.110 → 1.0.111
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@izara_project/izara-core-library-service-schemas",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.111",
|
|
4
4
|
"description": "Schemas for the service and objects it controls",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@izara_project/izara-core-library-logger": "^1.0.8",
|
|
32
32
|
"@izara_project/izara-core-library-s3": "^1.0.5",
|
|
33
33
|
"@izara_project/izara-core-library-sqs": "^1.0.5",
|
|
34
|
-
"@izara_project/izara-shared-core": "^1.0.
|
|
35
|
-
"@izara_project/izara-shared-service-schemas": "^1.0.
|
|
34
|
+
"@izara_project/izara-shared-core": "^1.0.9",
|
|
35
|
+
"@izara_project/izara-shared-service-schemas": "^1.0.36",
|
|
36
36
|
"glob": "^13.0.0",
|
|
37
37
|
"lodash": "^4.17.21",
|
|
38
38
|
"read-yaml-file": "^2.1.0"
|
package/src/IdentifiersObject.js
CHANGED
|
@@ -19,7 +19,7 @@ along with this program.If not, see < http://www.gnu.org/licenses/>.
|
|
|
19
19
|
|
|
20
20
|
import { NoRetryError, inMemoryCacheLib } from '@izara_project/izara-core-library-core';
|
|
21
21
|
import { validateObjType } from '@izara_project/izara-shared-service-schemas';
|
|
22
|
-
|
|
22
|
+
import { objectHash as hash } from '@izara_project/izara-shared-core';
|
|
23
23
|
import deliminatorTree from './libs/DeliminatorTree.js';
|
|
24
24
|
import getSchema from './GetObjectSchema.js';
|
|
25
25
|
import utils from './Utils.js';
|
package/src/ValidatorSchema.js
CHANGED
|
@@ -1217,11 +1217,9 @@ async function validateLocalSchema(_izContext, schemasPath, serviceConfigPath) {
|
|
|
1217
1217
|
if (fromObjectSchema.generatedBy === "searchResultGenerated" || toObjectSchema.generatedBy === "searchResultGenerated") {
|
|
1218
1218
|
let storageResourceTagsLink = link.storageResourceTags
|
|
1219
1219
|
for (const storageResourceTagLink of storageResourceTagsLink) {
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
validateStatus.validateErrors.push(`Relationship:${relTagName} storageResource with generateBy:searchResultGenerated must be lambda type`);
|
|
1224
|
-
}
|
|
1220
|
+
if (relData.storageResources[storageResourceTagLink].storageType !== consts.STORAGE_TYPES.lambda) {
|
|
1221
|
+
validateStatus.status = false;
|
|
1222
|
+
validateStatus.validateErrors.push(`Relationship:${relTagName} storageResource with generateBy:searchResultGenerated must be lambda type`);
|
|
1225
1223
|
}
|
|
1226
1224
|
}
|
|
1227
1225
|
}
|