Fixing bug

This commit is contained in:
luca.frosini 2023-09-06 12:39:55 +02:00
parent 8c26deb82f
commit dedf11256a
3 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for "accounting-dashboard-harvester-se-plugin"
## [v2.3.1-SNAPSHOT]
- Fixed bug on getting ScopeDescriptor for new scopes.
## [v2.3.0]
- Ported GA harvesters to Analytics Data API (GA4)

View File

@ -12,7 +12,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.accounting</groupId>
<artifactId>accounting-dashboard-harvester-se-plugin</artifactId>
<version>2.3.0</version>
<version>2.3.1-SNAPSHOT</version>
<name>Accounting Dashboard Harvester Smart Executor Plugin</name>
<description>
Accounting Dashboard Harvester Smart Executor Plugin harvest accounting

View File

@ -224,6 +224,7 @@ public class AccountingDashboardHarvesterPlugin extends Plugin {
ScopeDescriptor actualScopeDescriptor = scopeDescriptorMap.get(context);
if (actualScopeDescriptor == null) {
actualScopeDescriptor = new ScopeDescriptor(scopeBean.name(), context);
scopeDescriptorMap.put(actualScopeDescriptor.getId(), actualScopeDescriptor);
}
if (scopeBean.is(Type.INFRASTRUCTURE)) {