@sap/generator-add-hdb-module
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -310,3 +310,3 @@ 'use strict'; | ||
if( pos !== -1 ) { | ||
const key = line.substring( 0, pos ); | ||
const key = line.substring( 0, pos ).trim(); | ||
let value = ''; | ||
@@ -439,3 +439,3 @@ if( pos + 1 < line.length ) { | ||
} | ||
const serviceType = dbVersion === HANA_CLOUD ? 'hana-cloud': 'hana-db'; | ||
const serviceTypes = dbVersion === HANA_CLOUD ? [ 'hana-cloud', 'hana-cloud-trial' ]: [ 'hana-db' ]; | ||
const servicePlan = dbVersion === HANA_CLOUD ? 'hana': null; | ||
@@ -466,6 +466,8 @@ try { | ||
services.forEach( item => { | ||
const serviceName = Utils._parseServiceByTypeAndPlan( item, servicePlan, serviceType ); | ||
if( serviceName ){ | ||
hanaCloudServiceInstances[ serviceName ] = item.guid; | ||
} | ||
serviceTypes.forEach( serviceType => { | ||
const serviceName = Utils._parseServiceByTypeAndPlan( item, servicePlan, serviceType ); | ||
if( serviceName ){ | ||
hanaCloudServiceInstances[ serviceName ] = item.guid; | ||
} | ||
}); | ||
}); | ||
@@ -472,0 +474,0 @@ return{ success: true, hanaCloudServiceInstances, errorMessage: '' }; |
{ | ||
"name": "@sap/generator-add-hdb-module", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"lockfileVersion": 1, | ||
@@ -5,0 +5,0 @@ "requires": true, |
{ | ||
"name": "@sap/generator-add-hdb-module", | ||
"displayName": "SAP HANA Database Module", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "A database module contains design-time database artifacts. On deployment, a database module is assigned an HDI container to which the corresponding run-time database objects are deployed.", | ||
@@ -6,0 +6,0 @@ "license": "SEE LICENSE IN LICENSE", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
220845
3150