Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tsfile</groupId>
<artifactId>tsfile-parent</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</parent>
<artifactId>tsfile-cpp</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion java/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.tsfile</groupId>
<artifactId>tsfile-java</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</parent>
<artifactId>common</artifactId>
<name>TsFile: Java: Common</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,34 @@ error.encrypt.encrypt_no_constructor = Get constructor for encryptor failed: %1$
# EncryptUtils.getEncrypt — instantiation failed (encryptType arg)
error.encrypt.encrypt_instantiation_failed = New encryptor instance failed: %1$s

# EncryptionProviderRegistry — provider registration and lookup
error.encrypt.invalid_provider_id = Encryption provider id must not be null or empty
error.encrypt.duplicate_provider = Encryption provider id is already registered: %1$s
error.encrypt.provider_not_found = Encryption provider is not registered: %1$s
error.encrypt.provider_returned_null = Encryption provider returned null: %1$s

# EncryptParameter — use after sensitive state was destroyed
error.encrypt.parameter_destroyed = Encryption parameters have been destroyed
error.encrypt.invalid_page_body_overhead = Invalid page body overhead %1$s for encryption profile %2$s
error.encrypt.page_body_too_short = Encrypted page body size %1$s is smaller than AEAD overhead %2$s
error.encrypt.page_context_invalid_parameter = Page crypto context requires page AEAD parameters
error.encrypt.page_context_invalid_file_id = Page crypto context requires a 16-byte file crypto id
error.encrypt.page_context_invalid_sizes = Invalid page crypto context values, uncompressed size: %1$s, compressed plaintext size: %2$s, page index: %3$s
error.encrypt.page_output_size_mismatch = AEAD page output size mismatch, expected %1$s bytes but got %2$s
error.encrypt.page_plaintext_size_mismatch = AEAD page plaintext size mismatch, expected %1$s bytes but got %2$s
error.chunk.merge_page_aead_unsupported = Page-AEAD encrypted chunks must be decrypted and rewritten before merging

# FileEncryptionHeader — malformed or unsupported file encryption metadata
error.file.encryption_header_invalid_size = Invalid file encryption header size: %1$s
error.file.encryption_header_unsupported_version = Unsupported file encryption header version: %1$s
error.file.encryption_header_malformed = Malformed file encryption header
error.file.encryption_header_trailing_bytes = File encryption header contains trailing bytes
error.file.encryption_header_invalid_component_size = Invalid file encryption header component size: %1$s
error.file.encryption_header_truncated = File encryption header is truncated, expected %1$s bytes but read %2$s
error.file.encryption_header_invalid_field = Invalid file encryption header field: %1$s
error.write.encryption_header_must_precede_data = File encryption header must be written before TsFile data
error.write.encrypted_chunk_context_mismatch = Encrypted chunks can only be copied within the same file encryption context

# === compress ===

# ICompressor.getCompressor / IUnCompressor.getUnCompressor — null type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,34 @@ error.encrypt.encrypt_no_constructor = 获取 encryptor 构造函数失败: %1$s
# EncryptUtils.getEncrypt — instantiation failed (encryptType arg)
error.encrypt.encrypt_instantiation_failed = 实例化 encryptor 失败: %1$s

# EncryptionProviderRegistry — provider registration and lookup
error.encrypt.invalid_provider_id = encryption provider id 不能为空
error.encrypt.duplicate_provider = encryption provider id 已注册: %1$s
error.encrypt.provider_not_found = encryption provider 未注册: %1$s
error.encrypt.provider_returned_null = encryption provider 返回 null: %1$s

# EncryptParameter — use after sensitive state was destroyed
error.encrypt.parameter_destroyed = encryption parameters 已销毁
error.encrypt.invalid_page_body_overhead = encryption profile %2$s 的 page body 额外开销 %1$s 无效
error.encrypt.page_body_too_short = encrypted page body 大小 %1$s 小于 AEAD 额外开销 %2$s
error.encrypt.page_context_invalid_parameter = page crypto context 需要 page AEAD 参数
error.encrypt.page_context_invalid_file_id = page crypto context 需要 16 字节的 file crypto id
error.encrypt.page_context_invalid_sizes = page crypto context 值无效,uncompressed size: %1$s,compressed plaintext size: %2$s,page index: %3$s
error.encrypt.page_output_size_mismatch = AEAD page 输出大小不匹配,预期 %1$s 字节,实际 %2$s 字节
error.encrypt.page_plaintext_size_mismatch = AEAD page plaintext 大小不匹配,预期 %1$s 字节,实际 %2$s 字节
error.chunk.merge_page_aead_unsupported = Page-AEAD encrypted chunk 合并前必须先解密并重写

# FileEncryptionHeader — malformed or unsupported file encryption metadata
error.file.encryption_header_invalid_size = file encryption header 大小无效: %1$s
error.file.encryption_header_unsupported_version = 不支持的 file encryption header 版本: %1$s
error.file.encryption_header_malformed = file encryption header 格式错误
error.file.encryption_header_trailing_bytes = file encryption header 包含多余字节
error.file.encryption_header_invalid_component_size = file encryption header 组件大小无效: %1$s
error.file.encryption_header_truncated = file encryption header 已截断,预期 %1$s 字节,实际读取 %2$s 字节
error.file.encryption_header_invalid_field = file encryption header 字段无效: %1$s
error.write.encryption_header_must_precede_data = file encryption header 必须写在 TsFile data 之前
error.write.encrypted_chunk_context_mismatch = 仅允许在相同 file encryption context 中复制 encrypted chunk

# === compress ===

# ICompressor.getCompressor / IUnCompressor.getUnCompressor — null type
Expand Down
4 changes: 2 additions & 2 deletions java/examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.tsfile</groupId>
<artifactId>tsfile-java</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</parent>
<artifactId>examples</artifactId>
<name>TsFile: Java: Examples</name>
Expand All @@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.tsfile</groupId>
<artifactId>tsfile</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
Expand Down
6 changes: 3 additions & 3 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
<parent>
<groupId>org.apache.tsfile</groupId>
<artifactId>tsfile-parent</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</parent>
<artifactId>tsfile-java</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
<packaging>pom</packaging>
<name>TsFile: Java</name>
<modules>
Expand Down Expand Up @@ -188,7 +188,7 @@
<importOrder>
<order>org.apache.tsfile,,javax,java,\#</order>
</importOrder>
<removeUnusedImports />
<removeUnusedImports/>
</java>
<lineEndings>UNIX</lineEndings>
</configuration>
Expand Down
6 changes: 3 additions & 3 deletions java/tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
<parent>
<groupId>org.apache.tsfile</groupId>
<artifactId>tsfile-java</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</parent>
<artifactId>tools</artifactId>
<name>TsFile: Java: Tools</name>
<dependencies>
<dependency>
<groupId>org.apache.tsfile</groupId>
<artifactId>common</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Expand All @@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.tsfile</groupId>
<artifactId>tsfile</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
Expand Down
10 changes: 5 additions & 5 deletions java/tsfile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.tsfile</groupId>
<artifactId>tsfile-java</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</parent>
<artifactId>tsfile</artifactId>
<name>TsFile: Java: TsFile</name>
Expand All @@ -38,7 +38,7 @@
<dependency>
<groupId>org.apache.tsfile</groupId>
<artifactId>common</artifactId>
<version>2.3.2-SNAPSHOT</version>
<version>2.4.1-260806-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.luben</groupId>
Expand Down Expand Up @@ -145,10 +145,10 @@
<goal>shade</goal>
</goals>
<configuration>
<relocations />
<relocations/>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"/>
</transformers>
</configuration>
</execution>
Expand Down Expand Up @@ -185,7 +185,7 @@
<Export-Package>org.apache.tsfile.*</Export-Package>
<Embed-Dependency>common;inline=true</Embed-Dependency>
<Embed-Transitive>false</Embed-Transitive>
<Private-Package />
<Private-Package/>
<_removeheaders>Bnd-LastModified,Built-By</_removeheaders>
<Bundle-SymbolicName>org.apache.tsfile</Bundle-SymbolicName>
</instructions>
Expand Down
Loading
Loading