Skip to content

Commit

Permalink
Add community_id ingest processor (opensearch-project#12121)
Browse files Browse the repository at this point in the history
* Add community id ingest processor

Signed-off-by: Gao Binlong <[email protected]>

* Modify change log

Signed-off-by: Gao Binlong <[email protected]>

* Optimize the code

Signed-off-by: Gao Binlong <[email protected]>

---------

Signed-off-by: Gao Binlong <[email protected]>
(cherry picked from commit a0b5198)
  • Loading branch information
gaobinlong committed Feb 8, 2024
1 parent 03d48e9 commit a368080
Show file tree
Hide file tree
Showing 8 changed files with 2,064 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Bump OpenTelemetry from 1.32.0 to 1.34.1 ([#11891](https:/opensearch-project/OpenSearch/pull/11891))
- Add remove_by_pattern ingest processor ([#11920](https:/opensearch-project/OpenSearch/pull/11920))
- Add `org.opensearch.rest.MethodHandlers` and `RestController#getAllHandlers` ([11876](https:/opensearch-project/OpenSearch/pull/11876))
- Support index level allocation filtering for searchable snapshot index ([#11563](https:/opensearch-project/OpenSearch/pull/11563))
- [S3 Repository] Add setting to control connection count for sync client ([#12028](https:/opensearch-project/OpenSearch/pull/12028))
- New DateTime format for RFC3339 compatible date fields ([#11465](https:/opensearch-project/OpenSearch/pull/11465))
- Add community_id ingest processor ([#12121](https:/opensearch-project/OpenSearch/pull/12121))
- Add support for Google Application Default Credentials in repository-gcs ([#8394](https:/opensearch-project/OpenSearch/pull/8394))
- New DateTime format for RFC3339 compatible date fields ([#11465](https:/opensearch-project/OpenSearch/pull/11465))
- Remove concurrent segment search feature flag for GA launch ([#12074](https:/opensearch-project/OpenSearch/pull/12074))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static boolean isInetAddress(String ipString) {
return ipStringToBytes(ipString) != null;
}

private static byte[] ipStringToBytes(String ipString) {
public static byte[] ipStringToBytes(String ipString) {
// Make a first pass to categorize the characters in this string.
boolean hasColon = false;
boolean hasDot = false;
Expand Down
Loading

0 comments on commit a368080

Please sign in to comment.