Skip to content

[Feature/Extension] About the term check for 'extension' #2760

@RyanL1997

Description

@RyanL1997

What is the issue?
By applying the word checking for "extension" (#2748). We are having issues in the feature branch feature/extensions. It is related to #2671 and some of the authc work, some of the examples are:

Do you have any additional context?

> Task :checkstyleIntegrationTest
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/integrationTest/java/org/opensearch/security/SecurityConfigurationTests.java:218: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/integrationTest/java/org/opensearch/security/SecurityConfigurationTests.java:231: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]

> Task :checkstyleIntegrationTest FAILED
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/filter/SecurityRestFilter.java:127: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]

Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/DynamicConfigModelV7.java:1[93](https://github.com/opensearch-project/security/actions/runs/4940512454/jobs/8834018957#step:5:94): Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/DynamicConfigModelV7.java:1[95](https://github.com/opensearch-project/security/actions/runs/4940512454/jobs/8834018957#step:5:96): Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/impl/v6/ConfigV6.java:75: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/impl/v6/ConfigV6.java:80: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/impl/v6/ConfigV6.java:325: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/impl/v6/ConfigV6.java:349: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/impl/v7/ConfigV7.java:129: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/impl/v7/ConfigV7.java:134: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/impl/v7/ConfigV7.java:469: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/impl/v7/ConfigV7.java:502: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/DynamicConfigModel.java:84: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/securityconf/DynamicConfigModelV6.java:193: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]
Error: eckstyle] [ERROR] /home/runner/work/security/security/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java:850: Extension should only be used sparingly to keep implementations as generic as possible [RegexpSingleline]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions