You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by of...@apache.org on 2019/10/28 11:36:11 UTC

[incubator-dlab] branch DLAB-1036 updated: [DLAB-1036] Renamed method

This is an automated email from the ASF dual-hosted git repository.

ofuks pushed a commit to branch DLAB-1036
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1036 by this push:
     new 8c813df  [DLAB-1036] Renamed method
8c813df is described below

commit 8c813df4c072848be947463ffc398ed7cf7c9444
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Mon Oct 28 13:35:57 2019 +0200

    [DLAB-1036] Renamed method
---
 .../src/main/java/com/epam/dlab/backendapi/dao/BaseBillingDAO.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/BaseBillingDAO.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/BaseBillingDAO.java
index 368791a..260a677 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/BaseBillingDAO.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/BaseBillingDAO.java
@@ -171,7 +171,7 @@ public abstract class BaseBillingDAO<T extends BillingFilter> extends BaseDAO im
 					.append(currencyCodeFieldName(), id.getString(currencyCodeFieldName()))
 					.append(usageDateFromFieldName(), dateStart)
 					.append(usageDateToFieldName(), dateEnd)
-					.append(TAGS, getExploratoryTags(resourceId, dlabResourceType));
+					.append(TAGS, getTags(resourceId, dlabResourceType));
 
 			reportItems.add(item);
 		}
@@ -412,7 +412,7 @@ public abstract class BaseBillingDAO<T extends BillingFilter> extends BaseDAO im
 		return shapeNames == null || shapeNames.isEmpty() || Arrays.stream(shapes).anyMatch(shapeNames::contains);
 	}
 
-	private Map<String, String> getExploratoryTags(String resourceId, String dlabResourceType) {
+	private Map<String, String> getTags(String resourceId, String dlabResourceType) {
 		if (DlabResourceType.EXPLORATORY.name().equals(dlabResourceType)) {
 			return exploratoryDAO.findTagsById(resourceId);
 		} else if (DlabResourceType.COMPUTATIONAL.name().equals(dlabResourceType)) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org