Constructor and Description |
---|
ServiceConfigVersionResponse(ServiceConfigEntity serviceConfigEntity,
String configGroupName)
Constructor.
|
Constructor and Description |
---|
ConfigsUpdateEvent(ServiceConfigEntity configs,
String configGroupName,
List<String> hostNames,
Set<String> changedConfigTypes) |
Modifier and Type | Method and Description |
---|---|
ServiceConfigEntity |
ServiceConfigDAO.find(Long serviceConfigId) |
ServiceConfigEntity |
ServiceConfigDAO.findByServiceAndVersion(String serviceName,
Long version) |
ServiceConfigEntity |
ServiceConfigDAO.findMaxVersion(Long clusterId,
String serviceName) |
ServiceConfigEntity |
ServiceConfigDAO.getLastServiceConfig(Long clusterId,
String serviceName) |
ServiceConfigEntity |
ServiceConfigDAO.getLastServiceConfigForServiceDefaultGroup(Long clusterId,
String serviceName)
Gets the latest service config versions of default config group for a service
|
ServiceConfigEntity |
ServiceConfigDAO.getLastServiceConfigVersionsForGroup(Long configGroupId) |
ServiceConfigEntity |
ServiceConfigDAO.merge(ServiceConfigEntity serviceConfigEntity) |
Modifier and Type | Method and Description |
---|---|
List<ServiceConfigEntity> |
ServiceConfigDAO.findAll()
Get all service configs
|
List<ServiceConfigEntity> |
ServiceConfigDAO.findByService(Long clusterId,
String serviceName) |
List<ServiceConfigEntity> |
ServiceConfigDAO.getLastServiceConfigs(Long clusterId) |
List<ServiceConfigEntity> |
ServiceConfigDAO.getLastServiceConfigsForService(Long clusterId,
String serviceName)
Gets the latest service config versions of all config groups for a service
|
List<ServiceConfigEntity> |
ServiceConfigDAO.getLastServiceConfigVersionsForGroups(Collection<Long> configGroupIds) |
List<ServiceConfigEntity> |
ServiceConfigDAO.getLatestServiceConfigs(Long clusterId,
StackId stackId)
Gets the latest service configurations for the specified cluster and stack.
|
List<ServiceConfigEntity> |
ServiceConfigDAO.getServiceConfigs(Long clusterId)
Get all service configs for the given cluster.
|
List<ServiceConfigEntity> |
ServiceConfigDAO.getServiceConfigsForServiceAndStack(Long clusterId,
StackId stackId,
String serviceName)
Get service configurations for the specified cluster and stack.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceConfigDAO.create(ServiceConfigEntity serviceConfigEntity) |
ServiceConfigEntity |
ServiceConfigDAO.merge(ServiceConfigEntity serviceConfigEntity) |
void |
ServiceConfigDAO.remove(ServiceConfigEntity serviceConfigEntity) |
Modifier and Type | Method and Description |
---|---|
Collection<ServiceConfigEntity> |
ClusterEntity.getServiceConfigEntities() |
Collection<ServiceConfigEntity> |
ClusterConfigEntity.getServiceConfigEntities() |
Modifier and Type | Method and Description |
---|---|
void |
ClusterEntity.setServiceConfigEntities(Collection<ServiceConfigEntity> serviceConfigEntities) |
void |
ClusterConfigEntity.setServiceConfigEntities(Collection<ServiceConfigEntity> serviceConfigEntities) |
Modifier and Type | Method and Description |
---|---|
Map<String,Collection<String>> |
ConfigHelper.getChangedConfigTypes(Cluster cluster,
ServiceConfigEntity currentServiceConfigEntity,
Long configGroupId,
Long clusterId,
String serviceName)
Calculates config types and keys were changed during configs change.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.