Search in sources :

Example 11 with BlueprintView

use of com.sequenceiq.cloudbreak.blueprint.template.views.BlueprintView in project cloudbreak by hortonworks.

the class CentralBlueprintUpdaterTest method before.

@Before
public void before() throws IOException {
    testBlueprint = TestUtil.blueprint().getBlueprintText();
    Cluster cluster = TestUtil.cluster();
    cluster.getBlueprint().setBlueprintText(testBlueprint);
    object = BlueprintPreparationObject.Builder.builder().withBlueprintView(new BlueprintView(TestUtil.blueprint().getBlueprintText(), Maps.newHashMap(), "HDP", "2.6")).build();
}
Also used : BlueprintView(com.sequenceiq.cloudbreak.blueprint.template.views.BlueprintView) Cluster(com.sequenceiq.cloudbreak.domain.Cluster) Before(org.junit.Before)

Aggregations

BlueprintView (com.sequenceiq.cloudbreak.blueprint.template.views.BlueprintView)11 BlueprintPreparationObject (com.sequenceiq.cloudbreak.blueprint.BlueprintPreparationObject)8 BlueprintStackInfo (com.sequenceiq.cloudbreak.blueprint.templates.BlueprintStackInfo)8 Cluster (com.sequenceiq.cloudbreak.domain.Cluster)8 Test (org.junit.Test)8 GeneralClusterConfigs (com.sequenceiq.cloudbreak.blueprint.templates.GeneralClusterConfigs)3 BlueprintProcessingException (com.sequenceiq.cloudbreak.blueprint.BlueprintProcessingException)2 HdfConfigs (com.sequenceiq.cloudbreak.blueprint.nifi.HdfConfigs)2 FileSystemConfigurationView (com.sequenceiq.cloudbreak.blueprint.template.views.FileSystemConfigurationView)2 IdentityUser (com.sequenceiq.cloudbreak.common.model.user.IdentityUser)2 LdapConfig (com.sequenceiq.cloudbreak.domain.LdapConfig)2 Json (com.sequenceiq.cloudbreak.domain.json.Json)2 CloudbreakServiceException (com.sequenceiq.cloudbreak.service.CloudbreakServiceException)2 IOException (java.io.IOException)2 HashMap (java.util.HashMap)2 HostgroupView (com.sequenceiq.cloudbreak.blueprint.template.views.HostgroupView)1 StackRepoDetails (com.sequenceiq.cloudbreak.cloud.model.component.StackRepoDetails)1 Blueprint (com.sequenceiq.cloudbreak.domain.Blueprint)1 FileSystem (com.sequenceiq.cloudbreak.domain.FileSystem)1 FlexSubscription (com.sequenceiq.cloudbreak.domain.FlexSubscription)1