praneethchityala commented on code in PR #99:
URL: https://github.com/apache/airavata-mft/pull/99#discussion_r1171789128
##########
core/src/main/java/org/apache/airavata/mft/core/api/ConnectorConfig.java:
##########
@@ -90,6 +90,40 @@ public void setTransportConfig(Map transportConfig) {
this.transportConfig = transportConfig;
}
+ public static final class LocalConfigs {
+ public LocalConfigs() {
+ }
+
+ public final static String DMA_ENABLED = "local.dma";
+ public final static String BUFF_LEN = "local.buffLen";
+ }
+
+ public Boolean getBooleanTransportProperty(String key, Boolean
defaultValue){
+ if(key == LocalConfigs.DMA_ENABLED){
Review Comment:
If we want any further checks in future depending on the key type, we can
maintain with this if clause. If not we can just remove and keep it simply same
for all.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]