added description in changelo, created new constructor on Configuration
class
This commit is contained in:
parent
055827e3f2
commit
a6c9be2eaf
|
@ -3,6 +3,7 @@
|
|||
## [v2.6.0-SNAPSHOT] 2020-11-12
|
||||
|
||||
* adding new constructor with the backendType as input parameter
|
||||
* retrieving specific backend credentials if a specific backend si specified as input parameter
|
||||
|
||||
## [v2.5.3] 2019-03-20
|
||||
* Added wrapper for HomeLibrary configuration related to the new preproduction infrastructure
|
||||
|
|
|
@ -73,6 +73,29 @@ public class Configuration {
|
|||
setScopeString(scopeString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads all the configuration parameters in a java object for a specific backend
|
||||
*
|
||||
* @param sc: service class of the remote resource
|
||||
* @param sn service name of the remote resource
|
||||
* @param scopeString string that identifies the scope
|
||||
* @param owner user of the client library
|
||||
* @param clientID
|
||||
* @param accessType indicates the type of access to the storage
|
||||
* @param memory indicates the type of memory used by the storage: Persistent or Volatile
|
||||
*
|
||||
*/
|
||||
public Configuration(String sc, String sn, String scopeString, String owner, String clientID, String accessType, String memory, BackendType backend){
|
||||
this.sc=sc;
|
||||
this.sn=sn;
|
||||
this.owner=owner;
|
||||
this.clientID=clientID;
|
||||
this.typeAccess=accessType;
|
||||
this.memoryType=memory;
|
||||
setScopeString(scopeString);
|
||||
setBackendType(backend.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve a valid configuration from IS for instantiating the engine
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue