anchor.diff:                  } else if (!username.equals(resource.getProperty("username"))) {
                       //else if user updates the username then update the registry property
                       resource.setProperty("username", username);
  -                    configRegistry.put("bpmn/data_analytics_publisher/thrift_configuration", resource);
  +                    configRegistry.put(registryPath, resource);
                   }
                   if (password == null) {
                       //if password is null then set value from the registry
  
positive.code:                 //if resource is available then get properties and set them to the text fields
                  if (thriftUrl == null) {
                      //if thrift url is null then set value from the registry
                      if (resource.getProperty("data_receiver_thrift_url") != null) {
                          thriftUrl = resource.getProperty("data_receiver_thrift_url");
                      }
                  } else if (!thriftUrl.equals(resource.getProperty("data_receiver_thrift_url"))) {
                      //else if user updates the thrift url then update the registry property
                      resource.setProperty("data_receiver_thrift_url", thriftUrl);
                      configRegistry.put("bpmn/data_analytics_publisher/thrift_configuration", resource);
                  }
                  if (username == null) {
                      //if username is null then set value from the registry
  
negative.code:                     //else if user updates the password then update the registry property
                      String encryptedPassword = CryptoUtil.getDefaultCryptoUtil().encryptAndBase64Encode(password.getBytes());
                      resource.setProperty("password", encryptedPassword);
                      configRegistry.put(registryPath, resource);
                  }
              } else {
                  //if resource doesn't exists then create a new resource and add properties to it.
                  if ((thriftUrl != null && (thriftUrl.startsWith("tcp://") || thriftUrl.startsWith("ssl://"))) || (username != null) || (password != null)) {
                      Resource resource = configRegistry.newResource();
                      resource.addProperty("receiverURLSet", thriftUrl);
                      resource.addProperty("username", username);
                      resource.addProperty("password", CryptoUtil.getDefaultCryptoUtil().encryptAndBase64Encode(password.getBytes()));
                      configRegistry.put(registryPath, resource);
                  }
              }
          } catch (RegistryException e) {
  