OpenSearch/plugins
David Pilato aabb124209 Add filtering support within Setting class
Now we have a nice Setting infra, we can define in Setting class if a setting should be filtered or not.
So when we register a setting, setting filtering would be automatically done.

Instead of writing:

```java
Setting<String> KEY_SETTING = Setting.simpleString("cloud.aws.access_key", false, Setting.Scope.CLUSTER);
settingsModule.registerSetting(AwsEc2Service.KEY_SETTING, false);
settingsModule.registerSettingsFilterIfMissing(AwsEc2Service.KEY_SETTING.getKey());
```

We could simply write:

```java
Setting<String> KEY_SETTING = Setting.simpleString("cloud.aws.access_key", false, Setting.Scope.CLUSTER, true);
settingsModule.registerSettingsFilterIfMissing(AwsEc2Service.KEY_SETTING.getKey());
```

It also removes `settingsModule.registerSettingsFilterIfMissing` method.

The plan would be to remove as well `settingsModule.registerSettingsFilter` method but it still used with wildcards. For example in Azure Repository plugin:

```java
module.registerSettingsFilter(AzureStorageService.Storage.PREFIX + "*.account");
module.registerSettingsFilter(AzureStorageService.Storage.PREFIX + "*.key");
```

Closes #16598.
2016-02-12 10:35:54 +01:00
..
analysis-icu upgrade to lucene 5.5.0-snapshot-850c6c2 2016-02-11 14:28:50 -06:00
analysis-kuromoji upgrade to lucene 5.5.0-snapshot-850c6c2 2016-02-11 14:28:50 -06:00
analysis-phonetic upgrade to lucene 5.5.0-snapshot-850c6c2 2016-02-11 14:28:50 -06:00
analysis-smartcn upgrade to lucene 5.5.0-snapshot-850c6c2 2016-02-11 14:28:50 -06:00
analysis-stempel upgrade to lucene 5.5.0-snapshot-850c6c2 2016-02-11 14:28:50 -06:00
delete-by-query Uppercase ells ('L') in long literals 2016-01-30 22:16:02 -05:00
discovery-azure Add filtering support within Setting class 2016-02-12 10:35:54 +01:00
discovery-ec2 Add filtering support within Setting class 2016-02-12 10:35:54 +01:00
discovery-gce Add task status 2016-02-03 18:21:42 -05:00
ingest-attachment Tests: Fix AttachmentProcessorFactoryTests to only check for existing fields 2016-02-10 15:29:16 +01:00
ingest-geoip ingest: Added foreach processor. 2016-02-04 23:44:01 +01:00
jvm-example Merge pull request #16038 from rjernst/remove_site_plugin 2016-01-21 12:32:22 -08:00
lang-javascript Add permission to access sun.reflect.MethodAccessorImpl from Groovy scripts 2016-02-09 16:47:38 +01:00
lang-painless Minor clean up. 2016-02-05 12:00:18 -08:00
lang-python Add permission to access sun.reflect.MethodAccessorImpl from Groovy scripts 2016-02-09 16:47:38 +01:00
mapper-attachments Remove the MapperBuilders utility class. 2016-02-11 17:32:58 +01:00
mapper-murmur3 Detach QueryShardContext from IndexShard and remove obsolete threadlocals 2016-02-08 15:05:03 +01:00
mapper-size Detach QueryShardContext from IndexShard and remove obsolete threadlocals 2016-02-08 15:05:03 +01:00
repository-azure Add filtering support within Setting class 2016-02-12 10:35:54 +01:00
repository-hdfs Merge pull request #16038 from rjernst/remove_site_plugin 2016-01-21 12:32:22 -08:00
repository-s3 Add filtering support within Setting class 2016-02-12 10:35:54 +01:00
store-smb fix eclipse to compile at all. why does the build not fail? 2016-02-04 18:57:53 -05:00
build.gradle Build: Add fixture capabilities to integ tests 2015-12-19 15:46:21 -08:00