/
ObjectStorageGlobalConfiguration.java
529 lines (473 loc) · 22.7 KB
/
ObjectStorageGlobalConfiguration.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
/*************************************************************************
* Copyright 2009-2012 Eucalyptus Systems, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*
* Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
* CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
* additional information or have any questions.
*
* This file may incorporate work covered under the following copyright
* and permission notice:
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Regents of the University of California
* All rights reserved.
*
* Redistribution and use of this software in source and binary forms,
* with or without modification, are permitted provided that the
* following conditions are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. USERS OF THIS SOFTWARE ACKNOWLEDGE
* THE POSSIBLE PRESENCE OF OTHER OPEN SOURCE LICENSED MATERIAL,
* COPYRIGHTED MATERIAL OR PATENTED MATERIAL IN THIS SOFTWARE,
* AND IF ANY SUCH MATERIAL IS DISCOVERED THE PARTY DISCOVERING
* IT MAY INFORM DR. RICH WOLSKI AT THE UNIVERSITY OF CALIFORNIA,
* SANTA BARBARA WHO WILL THEN ASCERTAIN THE MOST APPROPRIATE REMEDY,
* WHICH IN THE REGENTS' DISCRETION MAY INCLUDE, WITHOUT LIMITATION,
* REPLACEMENT OF THE CODE SO IDENTIFIED, LICENSING OF THE CODE SO
* IDENTIFIED, OR WITHDRAWAL OF THE CODE CAPABILITY TO THE EXTENT
* NEEDED TO COMPLY WITH ANY SUCH LICENSES OR RIGHTS.
************************************************************************/
package com.eucalyptus.objectstorage.entities;
import com.eucalyptus.upgrade.Upgrades.EntityUpgrade;
import com.eucalyptus.upgrade.Upgrades.Version;
import groovy.sql.GroovyRowResult;
import groovy.sql.Sql;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Set;
import javax.annotation.Nullable;
import javax.persistence.*;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import com.eucalyptus.component.Components;
import com.eucalyptus.component.ServiceConfiguration;
import com.eucalyptus.component.ServiceConfigurations;
import com.eucalyptus.configurable.ConfigurableClass;
import com.eucalyptus.configurable.ConfigurableField;
import com.eucalyptus.configurable.ConfigurableFieldType;
import com.eucalyptus.configurable.ConfigurableProperty;
import com.eucalyptus.configurable.ConfigurablePropertyException;
import com.eucalyptus.configurable.PropertyChangeListener;
import com.eucalyptus.entities.AbstractPersistent;
import com.eucalyptus.entities.Entities;
import com.eucalyptus.entities.TransactionResource;
import com.eucalyptus.entities.Transactions;
import com.eucalyptus.objectstorage.ObjectStorage;
import com.eucalyptus.objectstorage.providers.ObjectStorageProviders;
import com.eucalyptus.storage.config.CacheableConfiguration;
import com.eucalyptus.upgrade.Upgrades;
import com.eucalyptus.upgrade.Upgrades.DatabaseFilters;
import com.eucalyptus.util.Exceptions;
import com.eucalyptus.walrus.entities.WalrusInfo;
import com.google.common.base.Joiner;
import com.google.common.base.Predicate;
import com.google.common.base.Splitter;
import com.google.common.base.Strings;
import com.google.common.collect.Iterables;
import com.google.common.collect.Sets;
/**
* The OSG global configuration parameters. These are common for all OSG instances.
*/
@Entity
@PersistenceContext(name = "eucalyptus_osg")
@Table(name = "osg_config")
@ConfigurableClass(root = "ObjectStorage", description = "Object Storage Gateway configuration.", deferred = true, singleton = true)
public class ObjectStorageGlobalConfiguration extends AbstractPersistent implements CacheableConfiguration<ObjectStorageGlobalConfiguration> {
@Transient
private static final Logger LOG = Logger.getLogger(ObjectStorageGlobalConfiguration.class);
@Transient
private static final int DEFAULT_MAX_BUCKETS_PER_ACCOUNT = 100;
@Transient
private static final int DEFAULT_MAX_INBOUND_HTTP_CHUNK_SIZE = 1024 * 1024 * 10; // 10 MB
@Transient
private static final int DEFAULT_PUT_TIMEOUT_HOURS = 168; // An upload not marked completed or deleted in 24 hours from record creation will be
// considered 'failed'
@Transient
private static final int DEFAULT_CLEANUP_INTERVAL_SEC = 60; // 60 seconds between cleanup tasks.
@Transient
private static final String DEFAULT_BUCKET_NAMING_SCHEME = "extended";
@Transient
private static final Boolean DEFAULT_COPY_UNSUPPORTED_STRATEGY = Boolean.FALSE;
@Override
public ObjectStorageGlobalConfiguration getLatest() {
return getConfiguration();
}
@Column
@ConfigurableField(description = "Maximum allowed size of inbound http chunks", displayName = "Maximum inbound http chunk size")
protected Integer max_inbound_http_chunk_size;
@Column
@ConfigurableField(description = "Maximum number of buckets per account", displayName = "Maximum buckets per account")
protected Integer max_buckets_per_account;
@Column
@ConfigurableField(
description = "Total ObjectStorage storage capacity for Objects soley for reporting usage percentage. Not a size restriction. No enforcement of this value",
displayName = "ObjectStorage object capacity (GB)")
protected Integer max_total_reporting_capacity_gb;
@Column
@ConfigurableField(description = "Number of hours to wait for object PUT operations to be allowed to complete before cleanup.",
displayName = "Object PUT failure cleanup (Hours)")
protected Integer failed_put_timeout_hrs;
@Column
@ConfigurableField(description = "Interval, in seconds, at which cleanup tasks are initiated for removing old/stale objects.",
displayName = "Cleanup interval (seconds)")
protected Integer cleanup_task_interval_seconds;
@Column
@ConfigurableField(
description = "Interval, in seconds, during which buckets in creating-state are valid. After this interval, the operation is assumed failed.",
displayName = "Operation wait interval (seconds)")
protected Integer bucket_creation_wait_interval_seconds;
@Column
@ConfigurableField(description = "The S3 bucket naming restrictions to enforce. Values are 'dns-compliant' or 'extended'. "
+ "Default is 'extended'. dns_compliant is non-US region S3 names, extended is for US-Standard Region naming. "
+ "See http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html", displayName = "Bucket Naming restrictions",
changeListener = BucketNamingRestrictionsValidator.class)
protected String bucket_naming_restrictions;
@Column
@ConfigurableField(description = "Should provider client attempt a GET / PUT when backend does not support Copy operation",
displayName = "attempt GET/PUT on Copy fail", type = ConfigurableFieldType.BOOLEAN)
protected Boolean doGetPutOnCopyFail;
@Column
@ConfigurableField(description = "Object Storage Provider client to use for backend", displayName = "Object Storage Provider Client",
changeListener = ObjectStorageProviderChangeListener.class)
protected String providerClient; // configured by user to specify which back-end client to use
protected ObjectStorageGlobalConfiguration initializeDefaults() {
this.setBucket_creation_wait_interval_seconds(DEFAULT_CLEANUP_INTERVAL_SEC);
this.setBucket_naming_restrictions(DEFAULT_BUCKET_NAMING_SCHEME);
this.setCleanup_task_interval_seconds(DEFAULT_CLEANUP_INTERVAL_SEC);
this.setDoGetPutOnCopyFail(DEFAULT_COPY_UNSUPPORTED_STRATEGY);
this.setFailed_put_timeout_hrs(DEFAULT_PUT_TIMEOUT_HOURS);
this.setMax_buckets_per_account(DEFAULT_MAX_BUCKETS_PER_ACCOUNT);
this.setMax_inbound_http_chunk_size(DEFAULT_MAX_INBOUND_HTTP_CHUNK_SIZE);
this.setMax_total_reporting_capacity_gb(Integer.MAX_VALUE);
return this;
}
/**
* Validator for values to set restrictions to
*/
public static class BucketNamingRestrictionsValidator implements PropertyChangeListener {
@Override
public void fireChange(ConfigurableProperty t, Object newValue) throws ConfigurablePropertyException {
String proposed = (String) newValue;
if (Strings.isNullOrEmpty(proposed) || (!"extended".equals(proposed) && !"dns-compliant".equals(proposed))) {
throw Exceptions.toUndeclared("Invalid property value: " + proposed + " Acceptabled values are: 'extended' and 'dns-compliant'",
new NoSuchElementException(proposed));
}
};
}
public Integer getMax_inbound_http_chunk_size() {
return max_inbound_http_chunk_size != null ? max_inbound_http_chunk_size : DEFAULT_MAX_INBOUND_HTTP_CHUNK_SIZE;
}
public void setMax_inbound_http_chunk_size(Integer max_inbound_http_chunk_size) {
this.max_inbound_http_chunk_size = max_inbound_http_chunk_size;
}
public Integer getMax_buckets_per_account() {
return max_buckets_per_account;
}
public void setMax_buckets_per_account(Integer max_buckets_per_account) {
this.max_buckets_per_account = max_buckets_per_account;
}
public Integer getMax_total_reporting_capacity_gb() {
return max_total_reporting_capacity_gb;
}
public void setMax_total_reporting_capacity_gb(Integer max_total_reporting_capacity_gb) {
this.max_total_reporting_capacity_gb = max_total_reporting_capacity_gb;
}
public Integer getFailed_put_timeout_hrs() {
return failed_put_timeout_hrs;
}
public void setFailed_put_timeout_hrs(Integer failed_put_timeout_hrs) {
this.failed_put_timeout_hrs = failed_put_timeout_hrs;
}
public Integer getCleanup_task_interval_seconds() {
return cleanup_task_interval_seconds;
}
public void setCleanup_task_interval_seconds(Integer cleanup_task_interval_seconds) {
this.cleanup_task_interval_seconds = cleanup_task_interval_seconds;
}
public Integer getBucket_creation_wait_interval_seconds() {
return bucket_creation_wait_interval_seconds;
}
public void setBucket_creation_wait_interval_seconds(Integer bucket_creation_wait_interval_seconds) {
this.bucket_creation_wait_interval_seconds = bucket_creation_wait_interval_seconds;
}
public String getBucket_naming_restrictions() {
return bucket_naming_restrictions;
}
public void setBucket_naming_restrictions(String bucket_naming_restrictions) {
this.bucket_naming_restrictions = bucket_naming_restrictions;
}
public Boolean getDoGetPutOnCopyFail() {
return doGetPutOnCopyFail;
}
public void setDoGetPutOnCopyFail(Boolean doGetPutOnCopyFail) {
this.doGetPutOnCopyFail = doGetPutOnCopyFail;
}
public String getProviderClient() {
return providerClient;
}
public void setProviderClient(String providerClient) {
this.providerClient = providerClient;
}
@PrePersist
@PreUpdate
public void updateDefaults() {
if (max_inbound_http_chunk_size == null) {
max_inbound_http_chunk_size = DEFAULT_MAX_INBOUND_HTTP_CHUNK_SIZE;
}
}
/**
* Gets this config from the DB. May throw an exception on db failure
*
* @return
* @throws Exception
*/
public static ObjectStorageGlobalConfiguration getConfiguration() {
try {
try {
return Transactions.find(new ObjectStorageGlobalConfiguration());
} catch (NoSuchElementException e) {
// Initialize;
LOG.info("No extant S3 provider configuration found. Initializing defaults");
return Transactions.saveDirect(new ObjectStorageGlobalConfiguration().initializeDefaults());
}
} catch (Throwable f) {
throw Exceptions.toUndeclared("Failed getting and/or initializing OSG global configuration", f);
}
}
@Override
public String toString() {
String value =
"[OSG Global configuration: " + "MaxTotalCapacity=" + max_total_reporting_capacity_gb + " , " + "MaxBucketsPerAccount="
+ max_buckets_per_account + " , " + "FailedPutTimeoutHrs=" + failed_put_timeout_hrs + " , " + "CleanupTaskIntervalSec="
+ cleanup_task_interval_seconds + " , " + "BucketCreationWaitIntervalSec=" + bucket_creation_wait_interval_seconds + " , "
+ "BucketNamingRestrictions=" + bucket_naming_restrictions + " , " + "DoGetPutOnCopyFail=" + doGetPutOnCopyFail + " , "
+ "ProviderClient=" + providerClient + "]";
return value;
}
/**
* Upgrade code to copy walrus config into osg
*
* @throws Exception
*/
@Upgrades.EntityUpgrade(entities = {ObjectStorageGlobalConfiguration.class}, since = Upgrades.Version.v4_0_0, value = ObjectStorage.class)
public static enum OSGConfigUpgrade implements Predicate<Class> {
INSTANCE;
@Override
public boolean apply(@Nullable Class arg0) {
try (TransactionResource trans = Entities.transactionFor(arg0)) {
// Set defaults to the values from Walrus in 3.4.x
ObjectStorageGlobalConfiguration config = new ObjectStorageGlobalConfiguration().initializeDefaults();
config = Entities.merge(config);
WalrusInfo walrusConfig = WalrusInfo.getWalrusInfo();
config.setMax_buckets_per_account(walrusConfig.getStorageMaxBucketsPerAccount());
config.setMax_total_reporting_capacity_gb(walrusConfig.getStorageMaxTotalCapacity());
config.setBucket_naming_restrictions((walrusConfig.getBucketNamesRequireDnsCompliance() ? "dns-compliant" : "extended"));
config.setProviderClient("walrus"); // set the provider client to walrus since its an upgrade to 4.0.0
trans.commit();
return true;
} catch (Exception e) {
LOG.error("Error saving upgrade global osg configuration", e);
throw Exceptions.toUndeclared("Error upgrading walrus config to OSG config", e);
}
}
}
/**
* Upgrade code to copy global provider client to osg config
*
*/
@Upgrades.EntityUpgrade(entities = {ObjectStorageGlobalConfiguration.class}, since = Upgrades.Version.v4_1_0, value = ObjectStorage.class)
public static enum ProviderClientUpgrade implements Predicate<Class> {
INSTANCE;
private static final Logger LOG = Logger.getLogger(ProviderClientUpgrade.class);
@Override
public boolean apply(@Nullable Class arg0) {
try (TransactionResource tr = Entities.transactionFor(arg0)) {
// look for global config
ObjectStorageGlobalConfiguration osgc = null;
try {
osgc = Entities.uniqueResult(new ObjectStorageGlobalConfiguration());
} catch (NoSuchElementException e) {
osgc = new ObjectStorageGlobalConfiguration().initializeDefaults();
Entities.persist(osgc); // create global config with defaults
}
// check if provider client is set
if (StringUtils.isNotBlank(osgc.getProviderClient())) {
// This could be the case if cloud was upgraded from 3.4.x release. Upgrade logic to 4.0.0 (OSGConfigUpgrade) may have populated the
// provider client. Don't overwrite the provider client, just move on
LOG.info("Nothing to upgrade as objectstorage provider client is already configured to " + osgc.getProviderClient());
} else {
// Cloud was upgraded from 4.0.x release, look for provider client property in static global properties table and copy it
String prevClient = getStaticProviderClient();
if (StringUtils.isNotBlank(prevClient)) {
LOG.info("Found global objectstorage.providerclient=" + prevClient
+ ". Copying value to providerClient of ObjectStorageGlobalConfiguration entity");
osgc.setProviderClient(prevClient);
} else { // else block should never be hit
LOG.info("Global objectstorage.providerclient not found. Defaulting providerClient of ObjectStorageGlobalConfiguration entity to walrus");
osgc.setProviderClient("walrus");
}
}
tr.commit();
return true;
} catch (Exception e) {
LOG.error("Error upgrading global osg configuration", e);
throw Exceptions.toUndeclared("Error upgrading global osg configuration", e);
}
}
/**
* Upgrade OSG configuration for 4.4.
*
* @throws Exception
*/
@Upgrades.EntityUpgrade(entities = {ObjectStorageGlobalConfiguration.class}, since = Upgrades.Version.v4_4_0, value = ObjectStorage.class)
public static enum OSG44ConfigUpgrade implements Predicate<Class> {
INSTANCE;
@Override
public boolean apply(@Nullable Class arg0) {
try (TransactionResource trans = Entities.transactionFor(arg0)) {
ObjectStorageGlobalConfiguration config;
try {
config = Entities.uniqueResult(new ObjectStorageGlobalConfiguration());
} catch (NoSuchElementException e) {
config = new ObjectStorageGlobalConfiguration().initializeDefaults();
}
config.updateDefaults();
Entities.persist(config);
trans.commit();
return true;
} catch (Exception e) {
String msg = "Error saving OSG 4.4 configuration upgrade";
LOG.error(msg, e);
throw Exceptions.toUndeclared(msg, e);
}
}
}
/*
* Get the value of objectstorage.providerclient stored in config_static_property table. Had to use sql directly as StaticDatabasePropertyEntry
* has a private constructor that restricts its usage for lookup/delete operations
*/
private String getStaticProviderClient() {
String propertyValue = null;
Sql sql = null;
try {
sql = DatabaseFilters.NEWVERSION.getConnection("eucalyptus_config");
String query = "select config_static_field_value from config_static_property where config_static_prop_name='objectstorage.providerclient'";
try {
// Look for static property objectstorage.providerclient
List<GroovyRowResult> result = sql.rows(query);
if (result != null && result.size() == 1 && result.get(0) != null) {
propertyValue = (String) result.get(0).getProperty("config_static_field_value");
// Delete the static property
query = "delete from config_static_property where config_static_prop_name='objectstorage.providerclient'";
sql.execute(query);
} else {
// static property not found, nothing to return here
}
} catch (Exception e) {
LOG.warn("Failed to execute query: " + query, e);
}
} catch (Exception e) {
LOG.warn("Failed to connect to database", e);
} finally {
try {
if (sql != null) {
sql.close();
}
} catch (Exception e) {
LOG.warn("Failed to close database connection", e);
}
}
return propertyValue;
}
}
/**
* Change listener for the osg provider client setting.
*
* @author zhill
*
*/
public static class ObjectStorageProviderChangeListener implements PropertyChangeListener<String> {
/*
* Ensures that the proposed value is valid based on the set of valid values for OSGs Additional DB lookup required for remote OSGs where the CLC
* doesn't have the OSG bits installed and therefore doesn't have the same view of the set of valid values. (non-Javadoc)
*
* @see com.eucalyptus.configurable.PropertyChangeListener#fireChange(com.eucalyptus.configurable.ConfigurableProperty, java.lang.Object)
*/
@Override
public void fireChange(ConfigurableProperty t, String newValue) throws ConfigurablePropertyException {
String existingValue = (String) t.getValue();
List<ServiceConfiguration> objConfigs = null;
try {
objConfigs = ServiceConfigurations.list(ObjectStorage.class);
} catch (NoSuchElementException e) {
throw new ConfigurablePropertyException("No ObjectStorage configurations found");
}
final String proposedValue = newValue;
final Set<String> validEntries = Sets.newHashSet();
try (TransactionResource tr = Entities.transactionFor(ObjectStorageConfiguration.class)) {
boolean match = Iterables.any(Components.lookup(ObjectStorage.class).services(), new Predicate<ServiceConfiguration>() {
@Override
public boolean apply(ServiceConfiguration config) {
if (config.isVmLocal()) {
// Service is local, so add entries to the valid list (in case of HA configs)
// and then check the local memory state
validEntries.addAll(ObjectStorageProviders.list());
return ObjectStorageProviders.contains(proposedValue);
} else {
try {
// Remote OSG, so check the db for the list of valid entries.
ObjectStorageConfiguration objConfig = Entities.uniqueResult((ObjectStorageConfiguration) config);
for (String entry : Splitter.on(",").split(objConfig.getAvailableClients())) {
validEntries.add(entry);
}
return validEntries.contains(proposedValue);
} catch (Exception e) {
return false;
}
}
}
});
tr.commit();
if (!match) {
// Nothing matched.
throw new ConfigurablePropertyException("Cannot modify " + t.getQualifiedName() + "." + t.getFieldName()
+ " new value is not a valid value. " + "Legal values are: " + Joiner.on(",").join(validEntries));
} else {
// matching provider client found
}
}
}
}
}