added description in changelo, created new constructor on Configuration

class
This commit is contained in:
roberto cirillo 2020-11-13 12:57:53 +01:00
parent 055827e3f2
commit a6c9be2eaf
2 changed files with 24 additions and 0 deletions

View File

@ -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

View File

@ -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
*/