From b978f3fa54bcea4e1de5976d046e06882c3ed2c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Boschi?= Date: Wed, 21 Aug 2024 15:48:38 +0200 Subject: [PATCH] spotless --- .../k8s/agents/S3SourceAgentProviderTest.java | 129 ++++++++++++++++++ 1 file changed, 129 insertions(+) diff --git a/langstream-k8s-runtime/langstream-k8s-runtime-core/src/test/java/ai/langstream/runtime/impl/k8s/agents/S3SourceAgentProviderTest.java b/langstream-k8s-runtime/langstream-k8s-runtime-core/src/test/java/ai/langstream/runtime/impl/k8s/agents/S3SourceAgentProviderTest.java index bb252ac78..7e3f3009d 100644 --- a/langstream-k8s-runtime/langstream-k8s-runtime-core/src/test/java/ai/langstream/runtime/impl/k8s/agents/S3SourceAgentProviderTest.java +++ b/langstream-k8s-runtime/langstream-k8s-runtime-core/src/test/java/ai/langstream/runtime/impl/k8s/agents/S3SourceAgentProviderTest.java @@ -476,6 +476,135 @@ public void testDocumentation() { } } }, + "ms365-sharepoint-source" : { + "name" : "MS 365 Sharepoint Source", + "description" : "Reads data from MS 365 Sharepoint documents. The only authentication supported is application credentials and client secret.\\nPermissions must be set as \\"Application permissions\\" in the registered application. (not Delegated)", + "properties" : { + "deleted-objects-topic" : { + "description" : "Write a message to this topic when an object has been detected as deleted for any reason.", + "required" : false, + "type" : "string", + "defaultValue" : "true" + }, + "exclude-mime-types" : { + "description" : "Filter out mime types. Comma separated list of mime types. Only files with different mime types will be processed.\\nNote that folders are always discarded.", + "required" : false, + "type" : "array", + "items" : { + "description" : "Filter out mime types. Comma separated list of mime types. Only files with different mime types will be processed.\\nNote that folders are always discarded.", + "required" : false, + "type" : "string" + } + }, + "idle-time" : { + "description" : "Time in seconds to sleep after polling for new files.", + "required" : false, + "type" : "integer", + "defaultValue" : "5" + }, + "include-mime-types" : { + "description" : "Filter by mime types. Comma separated list of mime types. Only files with these mime types will be processed.", + "required" : false, + "type" : "array", + "items" : { + "description" : "Filter by mime types. Comma separated list of mime types. Only files with these mime types will be processed.", + "required" : false, + "type" : "string" + } + }, + "ms-client-id" : { + "description" : "Entra MS registered application ID (client ID).", + "required" : true, + "type" : "string" + }, + "ms-client-secret" : { + "description" : "Entra MS registered application's client secret value.", + "required" : true, + "type" : "string" + }, + "ms-tenant-id" : { + "description" : "Entra MS registered application's tenant ID.", + "required" : true, + "type" : "string" + }, + "sites" : { + "description" : "Filter by sites. By default, all sites are included.", + "required" : false, + "type" : "array", + "items" : { + "description" : "Filter by sites. By default, all sites are included.", + "required" : false, + "type" : "string" + } + }, + "source-activity-summary-events" : { + "description" : "List of events (comma separated) to include in the source activity summary. ('new', 'updated', 'deleted')\\nTo include all: 'new,updated,deleted'.\\nUse this property to disable the source activity summary (by leaving default to empty).", + "required" : false, + "type" : "string" + }, + "source-activity-summary-events-threshold" : { + "description" : "Trigger source activity summary emission when this number of events have been detected, even if the time threshold has not been reached yet.", + "required" : false, + "type" : "integer", + "defaultValue" : "60" + }, + "source-activity-summary-time-seconds-threshold" : { + "description" : "Trigger source activity summary emission every time this time threshold has been reached.", + "required" : false, + "type" : "integer" + }, + "source-activity-summary-topic" : { + "description" : "Write a message to this topic periodically with a summary of the activity in the source.", + "required" : false, + "type" : "string" + }, + "source-record-headers" : { + "description" : "Additional headers to add to emitted records.", + "required" : false, + "type" : "object" + }, + "state-storage" : { + "description" : "State storage type (s3, disk).", + "required" : false, + "type" : "string" + }, + "state-storage-file-prefix" : { + "description" : "Prepend a prefix to the state storage file. (valid for all types)", + "required" : false, + "type" : "string" + }, + "state-storage-file-prepend-tenant" : { + "description" : "Prepend tenant to the state storage file. (valid for all types)", + "required" : false, + "type" : "string" + }, + "state-storage-s3-access-key" : { + "description" : "State storage S3 access key.", + "required" : false, + "type" : "string" + }, + "state-storage-s3-bucket" : { + "description" : "State storage S3 bucket.", + "required" : false, + "type" : "string" + }, + "state-storage-s3-endpoint" : { + "description" : "State storage S3 endpoint.", + "required" : false, + "type" : "string" + }, + "state-storage-s3-region" : { + "description" : "State storage S3 region.", + "required" : false, + "type" : "string" + }, + "state-storage-s3-secret-key" : { + "description" : "State storage S3 secret key.", + "required" : false, + "type" : "string" + } + } + }, "s3-source" : { "name" : "S3 Source", "description" : "Reads data from S3 bucket",