@jupiterone/integration-sdk-runtime
Advanced tools
Comparing version 13.5.2 to 13.6.0
import { Entity, GraphObjectFilter, GraphObjectIteratee, Relationship, GraphObjectStore, GraphObjectIndexMetadata, GetIndexMetadataForGraphObjectTypeParams, IntegrationStep, GraphObjectIterateeOptions } from '@jupiterone/integration-sdk-core'; | ||
export declare const DEFAULT_GRAPH_OBJECT_BUFFER_THRESHOLD = 500; | ||
export declare const DEFAULT_GRAPH_OBJECT_FILE_SIZE = 500; | ||
@@ -4,0 +3,0 @@ export declare const MAX_GRAPH_OBJECT_BUFFER_THRESHOLD_IN_BYTES: 1073741824; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FileSystemGraphObjectStore = exports.MAX_GRAPH_OBJECT_BUFFER_THRESHOLD_IN_BYTES = exports.DEFAULT_GRAPH_OBJECT_FILE_SIZE = exports.DEFAULT_GRAPH_OBJECT_BUFFER_THRESHOLD = void 0; | ||
exports.FileSystemGraphObjectStore = exports.MAX_GRAPH_OBJECT_BUFFER_THRESHOLD_IN_BYTES = exports.DEFAULT_GRAPH_OBJECT_FILE_SIZE = void 0; | ||
const async_sema_1 = require("async-sema"); | ||
@@ -12,3 +12,2 @@ const flushDataToDisk_1 = require("./flushDataToDisk"); | ||
const synchronization_1 = require("../../synchronization"); | ||
exports.DEFAULT_GRAPH_OBJECT_BUFFER_THRESHOLD = 500; | ||
exports.DEFAULT_GRAPH_OBJECT_FILE_SIZE = 500; | ||
@@ -15,0 +14,0 @@ // no more than 2^30 bytes (1GB) |
@@ -162,13 +162,2 @@ "use strict"; | ||
await uploadData(synchronizationJobContext, 'entities', graphObjectData.entities, uploadBatchSizeInBytes); | ||
if (synchronizationJobContext.job.integrationInstanceId === | ||
'b066d99d-e0d3-4463-8133-1ec583170b7b') { | ||
const s3BucketEntity = graphObjectData.entities | ||
.filter((entity) => entity._type === 'aws_s3_bucket') | ||
.map((entity) => ({ | ||
_key: entity._key, | ||
public: entity.public, | ||
access: entity.access, | ||
})); | ||
synchronizationJobContext.logger.info({ s3BucketEntity }, 'uploaded s3BucketEntity for instance'); | ||
} | ||
synchronizationJobContext.logger.debug({ | ||
@@ -175,0 +164,0 @@ entities: graphObjectData.entities.length, |
{ | ||
"name": "@jupiterone/integration-sdk-runtime", | ||
"version": "13.5.2", | ||
"version": "13.6.0", | ||
"description": "The SDK for developing JupiterOne integrations", | ||
@@ -26,3 +26,3 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@jupiterone/integration-sdk-core": "^13.5.2", | ||
"@jupiterone/integration-sdk-core": "^13.6.0", | ||
"@lifeomic/alpha": "^5.2.0", | ||
@@ -44,3 +44,3 @@ "@lifeomic/attempt": "^3.0.3", | ||
"devDependencies": { | ||
"@jupiterone/integration-sdk-private-test-utils": "^13.5.2", | ||
"@jupiterone/integration-sdk-private-test-utils": "^13.6.0", | ||
"get-port": "^5.1.1", | ||
@@ -52,3 +52,3 @@ "lmdb": "^3.0.8", | ||
}, | ||
"gitHead": "9a26d11fce479f98e82f6ca440d1ee7c09c82ce6" | ||
"gitHead": "885f102dee9fe4b73fe8db6e94d1b63a2d875059" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
574503
4862