![]() |
Consumption Analytics Documentation |
A data source is required to provide a Cisco IAC Service Portal endpoint URL and credentials. You can provide this in Cloud Cruiser as a managed data source, or you can embed connection details in the job file as an explicit data source.
The explicit data source requires that all connection information be set directly on the bean, which means credentials are embedded in one or more job files. To specify the data source for data collection directly in the job XML, use the IACPortalDataSourceConfig
bean with the following syntax:
<bean id="dataSource" class="com.cloudcruiser.batch.collect.cisco.IACPortalDataSourceConfig"> <property name="endpoint" value="endpointURL" /> <property name="username" value="username" /> <property name="password" value="password" /> </bean>
This is convenient when developing jobs, but not necessarily secure and can increase maintenance complexity when credentials change.
Alternatively, a managed data source is securely maintained in the application and is referenced by one or more jobs using a unique data source name. A data source defined with a data source type of Cisco IAC Portal can be set up in Cloud Cruiser (see Managed data source for more information). For example, with the data source managed by the application, the ManagedIACPortalDataSource
bean in the job file can fetch the data source MyIACDataSource
by name:
<bean class="com.cloudcruiser.batch.collect.cisco.ManagedAmazonDataSource"> <property name="name" value="MyIACDataSource"/> </bean>
(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP