Search in sources :

Example 1 with Content

use of org.jboss.hal.core.deployment.Content in project console by hal.

the class ContentColumn method undeploy.

private void undeploy(Content content) {
    if (!content.getServerGroupDeployments().isEmpty()) {
        Set<String> serverGroupsWithContent = content.getServerGroupDeployments().stream().map(ServerGroupDeployment::getServerGroup).collect(toSet());
        new DeployContentDialog1(content, serverGroupsWithContent, resources, (cnt, serverGroups) -> {
            List<Operation> operations = serverGroups.stream().map(serverGroup -> {
                ResourceAddress resourceAddress = new ResourceAddress().add(SERVER_GROUP, serverGroup).add(DEPLOYMENT, content.getName());
                return new Operation.Builder(resourceAddress, REMOVE).build();
            }).collect(toList());
            dispatcher.execute(new Composite(operations), (CompositeResult cr) -> {
                refresh(RESTORE_SELECTION);
                MessageEvent.fire(eventBus, Message.success(resources.messages().contentUndeployed(content.getName())));
            });
        }).show();
    } else {
        MessageEvent.fire(eventBus, Message.warning(resources.messages().undeployedContent(content.getName())));
    }
}
Also used : Dialog(org.jboss.hal.ballroom.dialog.Dialog) LoadContent(org.jboss.hal.client.deployment.DeploymentTasks.LoadContent) Provider(javax.inject.Provider) Environment(org.jboss.hal.config.Environment) Constraint(org.jboss.hal.meta.security.Constraint) ItemActionFactory(org.jboss.hal.core.finder.ItemActionFactory) StatementContext(org.jboss.hal.meta.StatementContext) ItemDisplay(org.jboss.hal.core.finder.ItemDisplay) ResourceAddress(org.jboss.hal.dmr.ResourceAddress) ManagementModel(org.jboss.hal.meta.ManagementModel) CheckDeployment(org.jboss.hal.client.deployment.DeploymentTasks.CheckDeployment) CreateEmptyDialog(org.jboss.hal.client.deployment.dialog.CreateEmptyDialog) AuthorisationDecision(org.jboss.hal.meta.security.AuthorisationDecision) UploadOrReplace(org.jboss.hal.client.deployment.DeploymentTasks.UploadOrReplace) DeployContentDialog1(org.jboss.hal.client.deployment.dialog.DeployContentDialog1) Column(org.jboss.hal.spi.Column) HTMLElement(elemental2.dom.HTMLElement) Message(org.jboss.hal.spi.Message) Metadata(org.jboss.hal.meta.Metadata) Places(org.jboss.hal.core.mvp.Places) Names(org.jboss.hal.resources.Names) Collectors.toSet(java.util.stream.Collectors.toSet) UploadContentStep(org.jboss.hal.client.deployment.wizard.UploadContentStep) DeploymentState(org.jboss.hal.client.deployment.wizard.DeploymentState) DeploymentContext(org.jboss.hal.client.deployment.wizard.DeploymentContext) AddUnmanagedDialog(org.jboss.hal.client.deployment.dialog.AddUnmanagedDialog) Set(java.util.Set) Collectors.joining(java.util.stream.Collectors.joining) NAMES(org.jboss.hal.client.deployment.wizard.DeploymentState.NAMES) List(java.util.List) MetadataRegistry(org.jboss.hal.meta.MetadataRegistry) ROOT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.ROOT_ADDRESS) ModelDescriptionConstants(org.jboss.hal.dmr.ModelDescriptionConstants) SecurityContextRegistry(org.jboss.hal.meta.security.SecurityContextRegistry) CLEAR_SELECTION(org.jboss.hal.core.finder.FinderColumn.RefreshMode.CLEAR_SELECTION) Flow.series(org.jboss.hal.flow.Flow.series) Finder(org.jboss.hal.core.finder.Finder) Footer(org.jboss.hal.spi.Footer) CSS.fontAwesome(org.jboss.hal.resources.CSS.fontAwesome) ServerGroupDeployment(org.jboss.hal.core.deployment.ServerGroupDeployment) ModelNode(org.jboss.hal.dmr.ModelNode) MessageEvent.fire(org.jboss.hal.spi.MessageEvent.fire) MessageEvent(org.jboss.hal.spi.MessageEvent) Constraints(org.jboss.hal.meta.security.Constraints) ColumnAction(org.jboss.hal.core.finder.ColumnAction) ItemAction(org.jboss.hal.core.finder.ItemAction) FlowContext(org.jboss.hal.flow.FlowContext) Outcome(org.jboss.hal.flow.Outcome) ArrayList(java.util.ArrayList) Inject(javax.inject.Inject) JsHelper(org.jboss.hal.js.JsHelper) Progress(org.jboss.hal.flow.Progress) AddressTemplate(org.jboss.hal.meta.AddressTemplate) CONTENT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.CONTENT_ADDRESS) AddUnmanagedDeployment(org.jboss.hal.client.deployment.DeploymentTasks.AddUnmanagedDeployment) UPLOAD(org.jboss.hal.client.deployment.wizard.DeploymentState.UPLOAD) SERVER_GROUP_DEPLOYMENT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.SERVER_GROUP_DEPLOYMENT_ADDRESS) RESTORE_SELECTION(org.jboss.hal.core.finder.FinderColumn.RefreshMode.RESTORE_SELECTION) FinderColumn(org.jboss.hal.core.finder.FinderColumn) ColumnActionFactory(org.jboss.hal.core.finder.ColumnActionFactory) Requires(org.jboss.hal.spi.Requires) CompositeResult(org.jboss.hal.dmr.CompositeResult) Operation(org.jboss.hal.dmr.Operation) NamesStep(org.jboss.hal.client.deployment.wizard.NamesStep) Ids(org.jboss.hal.resources.Ids) Wizard(org.jboss.hal.ballroom.wizard.Wizard) EventBus(com.google.web.bindery.event.shared.EventBus) CSS.pfIcon(org.jboss.hal.resources.CSS.pfIcon) PlaceRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest) ItemMonitor(org.jboss.hal.core.finder.ItemMonitor) DialogFactory(org.jboss.hal.ballroom.dialog.DialogFactory) Content(org.jboss.hal.core.deployment.Content) Composite(org.jboss.hal.dmr.Composite) Dispatcher(org.jboss.hal.dmr.dispatch.Dispatcher) Collectors.toList(java.util.stream.Collectors.toList) NameTokens(org.jboss.hal.meta.token.NameTokens) Resources(org.jboss.hal.resources.Resources) Strings(org.jboss.hal.resources.Strings) UploadElement(org.jboss.hal.client.shared.uploadwizard.UploadElement) Elements.span(org.jboss.gwt.elemento.core.Elements.span) Composite(org.jboss.hal.dmr.Composite) ResourceAddress(org.jboss.hal.dmr.ResourceAddress) CompositeResult(org.jboss.hal.dmr.CompositeResult) DeployContentDialog1(org.jboss.hal.client.deployment.dialog.DeployContentDialog1) List(java.util.List) ArrayList(java.util.ArrayList) Collectors.toList(java.util.stream.Collectors.toList) Operation(org.jboss.hal.dmr.Operation)

Example 2 with Content

use of org.jboss.hal.core.deployment.Content in project console by hal.

the class ContentPreview method update.

@Override
public void update(Content content) {
    attributes.refresh(content);
    boolean undeployed = content.getServerGroupDeployments().isEmpty();
    boolean unmanaged = !content.isManaged();
    boolean exploded = content.isExploded();
    Elements.setVisible(deploymentsDiv, !undeployed);
    Elements.setVisible(undeployedContentDiv, undeployed);
    Elements.setVisible(infoExplodedDiv, !unmanaged && exploded);
    if (!undeployed) {
        Elements.removeChildrenFrom(deploymentsUl);
        content.getServerGroupDeployments().forEach(sgd -> {
            String serverGroup = sgd.getServerGroup();
            PlaceRequest serverGroupPlaceRequest = places.finderPlace(NameTokens.DEPLOYMENTS, new FinderPath().append(Ids.DEPLOYMENT_BROWSE_BY, Ids.asId(Names.SERVER_GROUPS)).append(Ids.DEPLOYMENT_SERVER_GROUP, Ids.serverGroup(serverGroup)).append(Ids.SERVER_GROUP_DEPLOYMENT, Ids.serverGroupDeployment(serverGroup, content.getName()))).build();
            String serverGroupToken = places.historyToken(serverGroupPlaceRequest);
            HTMLElement li = li().add(a(serverGroupToken).textContent(serverGroup)).element();
            if (authorisationDecision.isAllowed(Constraint.executable(SERVER_GROUP_DEPLOYMENT_TEMPLATE, ADD))) {
                li.appendChild(span().textContent(" (").element());
                li.appendChild(a().css(clickable).on(click, event -> column.undeploy(content, serverGroup)).textContent(resources.constants().undeploy()).element());
                li.appendChild(span().textContent(")").element());
            }
            deploymentsUl.appendChild(li);
        });
    }
}
Also used : PlaceRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest) PreviewContent(org.jboss.hal.core.finder.PreviewContent) Alert(org.jboss.hal.ballroom.Alert) Environment(org.jboss.hal.config.Environment) Constraint(org.jboss.hal.meta.security.Constraint) CSS.clickable(org.jboss.hal.resources.CSS.clickable) Icons(org.jboss.hal.resources.Icons) AuthorisationDecision(org.jboss.hal.meta.security.AuthorisationDecision) HTMLElement(elemental2.dom.HTMLElement) Arrays.asList(java.util.Arrays.asList) PreviewAttribute(org.jboss.hal.core.finder.PreviewAttributes.PreviewAttribute) CSS.marginRight5(org.jboss.hal.resources.CSS.marginRight5) PreviewAttributes(org.jboss.hal.core.finder.PreviewAttributes) Metadata(org.jboss.hal.meta.Metadata) Places(org.jboss.hal.core.mvp.Places) Names(org.jboss.hal.resources.Names) CSS.marginLeft5(org.jboss.hal.resources.CSS.marginLeft5) ModelNodeHelper.failSafeBoolean(org.jboss.hal.dmr.ModelNodeHelper.failSafeBoolean) Ids(org.jboss.hal.resources.Ids) EventType.click(org.jboss.gwt.elemento.core.EventType.click) SERVER_GROUP_DEPLOYMENT_TEMPLATE(org.jboss.hal.client.deployment.ServerGroupDeploymentColumn.SERVER_GROUP_DEPLOYMENT_TEMPLATE) FinderPath(org.jboss.hal.core.finder.FinderPath) PlaceRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest) Content(org.jboss.hal.core.deployment.Content) LabelBuilder(org.jboss.hal.ballroom.LabelBuilder) NameTokens(org.jboss.hal.meta.token.NameTokens) Resources(org.jboss.hal.resources.Resources) ModelDescriptionConstants(org.jboss.hal.dmr.ModelDescriptionConstants) Elements(org.jboss.gwt.elemento.core.Elements) Icons.flag(org.jboss.hal.resources.Icons.flag) HTMLElement(elemental2.dom.HTMLElement) FinderPath(org.jboss.hal.core.finder.FinderPath)

Example 3 with Content

use of org.jboss.hal.core.deployment.Content in project console by hal.

the class BrowseContentPresenter method reload.

@Override
protected void reload() {
    if (ManagementModel.supportsReadContentFromDeployment(environment.getManagementVersion())) {
        ResourceAddress address = new ResourceAddress().add(DEPLOYMENT, content);
        Operation operation = new Operation.Builder(address, READ_RESOURCE_OPERATION).param(INCLUDE_RUNTIME, true).build();
        dispatcher.execute(operation, result -> getView().setContent(new Content(result)));
    } else {
    // TODO Fallback when browse-content is not supported
    }
}
Also used : ResourceAddress(org.jboss.hal.dmr.ResourceAddress) Content(org.jboss.hal.core.deployment.Content) Operation(org.jboss.hal.dmr.Operation)

Example 4 with Content

use of org.jboss.hal.core.deployment.Content in project console by hal.

the class ContentColumn method uploadContent.

private void uploadContent() {
    Metadata metadata = metadataRegistry.lookup(CONTENT_TEMPLATE);
    Wizard<DeploymentContext, DeploymentState> wizard = new Wizard.Builder<DeploymentContext, DeploymentState>(resources.messages().addResourceTitle(resources.constants().content()), new DeploymentContext()).addStep(UPLOAD, new UploadContentStep(resources)).addStep(NAMES, new NamesStep(environment, metadata, resources)).onBack((context, currentState) -> currentState == NAMES ? UPLOAD : null).onNext((context, currentState) -> currentState == UPLOAD ? NAMES : null).stayOpenAfterFinish().onFinish((wzd, context) -> {
        String name = context.name;
        String runtimeName = context.runtimeName;
        wzd.showProgress(resources.constants().uploadInProgress(), resources.messages().uploadInProgress(name));
        series(new FlowContext(progress.get()), new CheckDeployment(dispatcher, name), new UploadOrReplace(environment, dispatcher, name, runtimeName, context.file, false)).subscribe(new Outcome<FlowContext>() {

            @Override
            public void onError(FlowContext context, Throwable error) {
                wzd.showError(resources.constants().uploadError(), resources.messages().uploadError(name), error.getMessage());
            }

            @Override
            public void onSuccess(FlowContext context) {
                refresh(Ids.content(name));
                wzd.showSuccess(resources.constants().uploadSuccessful(), resources.messages().uploadSuccessful(name), resources.messages().view(resources.constants().content()), cxt -> {
                /* nothing to do, content is already selected */
                });
            }
        });
    }).build();
    wizard.show();
}
Also used : Dialog(org.jboss.hal.ballroom.dialog.Dialog) LoadContent(org.jboss.hal.client.deployment.DeploymentTasks.LoadContent) Provider(javax.inject.Provider) Environment(org.jboss.hal.config.Environment) Constraint(org.jboss.hal.meta.security.Constraint) ItemActionFactory(org.jboss.hal.core.finder.ItemActionFactory) StatementContext(org.jboss.hal.meta.StatementContext) ItemDisplay(org.jboss.hal.core.finder.ItemDisplay) ResourceAddress(org.jboss.hal.dmr.ResourceAddress) ManagementModel(org.jboss.hal.meta.ManagementModel) CheckDeployment(org.jboss.hal.client.deployment.DeploymentTasks.CheckDeployment) CreateEmptyDialog(org.jboss.hal.client.deployment.dialog.CreateEmptyDialog) AuthorisationDecision(org.jboss.hal.meta.security.AuthorisationDecision) UploadOrReplace(org.jboss.hal.client.deployment.DeploymentTasks.UploadOrReplace) DeployContentDialog1(org.jboss.hal.client.deployment.dialog.DeployContentDialog1) Column(org.jboss.hal.spi.Column) HTMLElement(elemental2.dom.HTMLElement) Message(org.jboss.hal.spi.Message) Metadata(org.jboss.hal.meta.Metadata) Places(org.jboss.hal.core.mvp.Places) Names(org.jboss.hal.resources.Names) Collectors.toSet(java.util.stream.Collectors.toSet) UploadContentStep(org.jboss.hal.client.deployment.wizard.UploadContentStep) DeploymentState(org.jboss.hal.client.deployment.wizard.DeploymentState) DeploymentContext(org.jboss.hal.client.deployment.wizard.DeploymentContext) AddUnmanagedDialog(org.jboss.hal.client.deployment.dialog.AddUnmanagedDialog) Set(java.util.Set) Collectors.joining(java.util.stream.Collectors.joining) NAMES(org.jboss.hal.client.deployment.wizard.DeploymentState.NAMES) List(java.util.List) MetadataRegistry(org.jboss.hal.meta.MetadataRegistry) ROOT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.ROOT_ADDRESS) ModelDescriptionConstants(org.jboss.hal.dmr.ModelDescriptionConstants) SecurityContextRegistry(org.jboss.hal.meta.security.SecurityContextRegistry) CLEAR_SELECTION(org.jboss.hal.core.finder.FinderColumn.RefreshMode.CLEAR_SELECTION) Flow.series(org.jboss.hal.flow.Flow.series) Finder(org.jboss.hal.core.finder.Finder) Footer(org.jboss.hal.spi.Footer) CSS.fontAwesome(org.jboss.hal.resources.CSS.fontAwesome) ServerGroupDeployment(org.jboss.hal.core.deployment.ServerGroupDeployment) ModelNode(org.jboss.hal.dmr.ModelNode) MessageEvent.fire(org.jboss.hal.spi.MessageEvent.fire) MessageEvent(org.jboss.hal.spi.MessageEvent) Constraints(org.jboss.hal.meta.security.Constraints) ColumnAction(org.jboss.hal.core.finder.ColumnAction) ItemAction(org.jboss.hal.core.finder.ItemAction) FlowContext(org.jboss.hal.flow.FlowContext) Outcome(org.jboss.hal.flow.Outcome) ArrayList(java.util.ArrayList) Inject(javax.inject.Inject) JsHelper(org.jboss.hal.js.JsHelper) Progress(org.jboss.hal.flow.Progress) AddressTemplate(org.jboss.hal.meta.AddressTemplate) CONTENT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.CONTENT_ADDRESS) AddUnmanagedDeployment(org.jboss.hal.client.deployment.DeploymentTasks.AddUnmanagedDeployment) UPLOAD(org.jboss.hal.client.deployment.wizard.DeploymentState.UPLOAD) SERVER_GROUP_DEPLOYMENT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.SERVER_GROUP_DEPLOYMENT_ADDRESS) RESTORE_SELECTION(org.jboss.hal.core.finder.FinderColumn.RefreshMode.RESTORE_SELECTION) FinderColumn(org.jboss.hal.core.finder.FinderColumn) ColumnActionFactory(org.jboss.hal.core.finder.ColumnActionFactory) Requires(org.jboss.hal.spi.Requires) CompositeResult(org.jboss.hal.dmr.CompositeResult) Operation(org.jboss.hal.dmr.Operation) NamesStep(org.jboss.hal.client.deployment.wizard.NamesStep) Ids(org.jboss.hal.resources.Ids) Wizard(org.jboss.hal.ballroom.wizard.Wizard) EventBus(com.google.web.bindery.event.shared.EventBus) CSS.pfIcon(org.jboss.hal.resources.CSS.pfIcon) PlaceRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest) ItemMonitor(org.jboss.hal.core.finder.ItemMonitor) DialogFactory(org.jboss.hal.ballroom.dialog.DialogFactory) Content(org.jboss.hal.core.deployment.Content) Composite(org.jboss.hal.dmr.Composite) Dispatcher(org.jboss.hal.dmr.dispatch.Dispatcher) Collectors.toList(java.util.stream.Collectors.toList) NameTokens(org.jboss.hal.meta.token.NameTokens) Resources(org.jboss.hal.resources.Resources) Strings(org.jboss.hal.resources.Strings) UploadElement(org.jboss.hal.client.shared.uploadwizard.UploadElement) Elements.span(org.jboss.gwt.elemento.core.Elements.span) DeploymentState(org.jboss.hal.client.deployment.wizard.DeploymentState) CheckDeployment(org.jboss.hal.client.deployment.DeploymentTasks.CheckDeployment) Metadata(org.jboss.hal.meta.Metadata) FlowContext(org.jboss.hal.flow.FlowContext) UploadContentStep(org.jboss.hal.client.deployment.wizard.UploadContentStep) DeploymentContext(org.jboss.hal.client.deployment.wizard.DeploymentContext) UploadOrReplace(org.jboss.hal.client.deployment.DeploymentTasks.UploadOrReplace) Outcome(org.jboss.hal.flow.Outcome) NamesStep(org.jboss.hal.client.deployment.wizard.NamesStep) Wizard(org.jboss.hal.ballroom.wizard.Wizard)

Example 5 with Content

use of org.jboss.hal.core.deployment.Content in project console by hal.

the class ContentColumn method deploy.

void deploy(Content content) {
    Operation operation = new Operation.Builder(ResourceAddress.root(), READ_CHILDREN_NAMES_OPERATION).param(CHILD_TYPE, SERVER_GROUP).build();
    dispatcher.execute(operation, result -> {
        Set<String> serverGroupsWithoutContent = result.asList().stream().map(ModelNode::asString).collect(toSet());
        Set<String> serverGroupsWithContent = content.getServerGroupDeployments().stream().map(ServerGroupDeployment::getServerGroup).collect(toSet());
        serverGroupsWithoutContent.removeAll(serverGroupsWithContent);
        if (serverGroupsWithoutContent.isEmpty()) {
            MessageEvent.fire(eventBus, Message.warning(resources.messages().contentAlreadyDeployedToAllServerGroups(content.getName())));
        } else {
            new DeployContentDialog1(content, serverGroupsWithoutContent, resources, (cnt, serverGroups, enable) -> {
                List<Operation> operations = serverGroups.stream().map(serverGroup -> {
                    ResourceAddress resourceAddress = new ResourceAddress().add(SERVER_GROUP, serverGroup).add(DEPLOYMENT, content.getName());
                    return new Operation.Builder(resourceAddress, ADD).param(RUNTIME_NAME, content.getRuntimeName()).param(ENABLED, enable).build();
                }).collect(toList());
                if (enable) {
                    ItemMonitor.startProgress(Ids.content(cnt.getName()));
                }
                dispatcher.execute(new Composite(operations), (CompositeResult cr) -> {
                    if (enable) {
                        ItemMonitor.stopProgress(Ids.content(cnt.getName()));
                    }
                    refresh(RESTORE_SELECTION);
                    MessageEvent.fire(eventBus, Message.success(resources.messages().contentDeployed1(content.getName())));
                });
            }).show();
        }
    });
}
Also used : Dialog(org.jboss.hal.ballroom.dialog.Dialog) LoadContent(org.jboss.hal.client.deployment.DeploymentTasks.LoadContent) Provider(javax.inject.Provider) Environment(org.jboss.hal.config.Environment) Constraint(org.jboss.hal.meta.security.Constraint) ItemActionFactory(org.jboss.hal.core.finder.ItemActionFactory) StatementContext(org.jboss.hal.meta.StatementContext) ItemDisplay(org.jboss.hal.core.finder.ItemDisplay) ResourceAddress(org.jboss.hal.dmr.ResourceAddress) ManagementModel(org.jboss.hal.meta.ManagementModel) CheckDeployment(org.jboss.hal.client.deployment.DeploymentTasks.CheckDeployment) CreateEmptyDialog(org.jboss.hal.client.deployment.dialog.CreateEmptyDialog) AuthorisationDecision(org.jboss.hal.meta.security.AuthorisationDecision) UploadOrReplace(org.jboss.hal.client.deployment.DeploymentTasks.UploadOrReplace) DeployContentDialog1(org.jboss.hal.client.deployment.dialog.DeployContentDialog1) Column(org.jboss.hal.spi.Column) HTMLElement(elemental2.dom.HTMLElement) Message(org.jboss.hal.spi.Message) Metadata(org.jboss.hal.meta.Metadata) Places(org.jboss.hal.core.mvp.Places) Names(org.jboss.hal.resources.Names) Collectors.toSet(java.util.stream.Collectors.toSet) UploadContentStep(org.jboss.hal.client.deployment.wizard.UploadContentStep) DeploymentState(org.jboss.hal.client.deployment.wizard.DeploymentState) DeploymentContext(org.jboss.hal.client.deployment.wizard.DeploymentContext) AddUnmanagedDialog(org.jboss.hal.client.deployment.dialog.AddUnmanagedDialog) Set(java.util.Set) Collectors.joining(java.util.stream.Collectors.joining) NAMES(org.jboss.hal.client.deployment.wizard.DeploymentState.NAMES) List(java.util.List) MetadataRegistry(org.jboss.hal.meta.MetadataRegistry) ROOT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.ROOT_ADDRESS) ModelDescriptionConstants(org.jboss.hal.dmr.ModelDescriptionConstants) SecurityContextRegistry(org.jboss.hal.meta.security.SecurityContextRegistry) CLEAR_SELECTION(org.jboss.hal.core.finder.FinderColumn.RefreshMode.CLEAR_SELECTION) Flow.series(org.jboss.hal.flow.Flow.series) Finder(org.jboss.hal.core.finder.Finder) Footer(org.jboss.hal.spi.Footer) CSS.fontAwesome(org.jboss.hal.resources.CSS.fontAwesome) ServerGroupDeployment(org.jboss.hal.core.deployment.ServerGroupDeployment) ModelNode(org.jboss.hal.dmr.ModelNode) MessageEvent.fire(org.jboss.hal.spi.MessageEvent.fire) MessageEvent(org.jboss.hal.spi.MessageEvent) Constraints(org.jboss.hal.meta.security.Constraints) ColumnAction(org.jboss.hal.core.finder.ColumnAction) ItemAction(org.jboss.hal.core.finder.ItemAction) FlowContext(org.jboss.hal.flow.FlowContext) Outcome(org.jboss.hal.flow.Outcome) ArrayList(java.util.ArrayList) Inject(javax.inject.Inject) JsHelper(org.jboss.hal.js.JsHelper) Progress(org.jboss.hal.flow.Progress) AddressTemplate(org.jboss.hal.meta.AddressTemplate) CONTENT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.CONTENT_ADDRESS) AddUnmanagedDeployment(org.jboss.hal.client.deployment.DeploymentTasks.AddUnmanagedDeployment) UPLOAD(org.jboss.hal.client.deployment.wizard.DeploymentState.UPLOAD) SERVER_GROUP_DEPLOYMENT_ADDRESS(org.jboss.hal.client.deployment.ContentColumn.SERVER_GROUP_DEPLOYMENT_ADDRESS) RESTORE_SELECTION(org.jboss.hal.core.finder.FinderColumn.RefreshMode.RESTORE_SELECTION) FinderColumn(org.jboss.hal.core.finder.FinderColumn) ColumnActionFactory(org.jboss.hal.core.finder.ColumnActionFactory) Requires(org.jboss.hal.spi.Requires) CompositeResult(org.jboss.hal.dmr.CompositeResult) Operation(org.jboss.hal.dmr.Operation) NamesStep(org.jboss.hal.client.deployment.wizard.NamesStep) Ids(org.jboss.hal.resources.Ids) Wizard(org.jboss.hal.ballroom.wizard.Wizard) EventBus(com.google.web.bindery.event.shared.EventBus) CSS.pfIcon(org.jboss.hal.resources.CSS.pfIcon) PlaceRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest) ItemMonitor(org.jboss.hal.core.finder.ItemMonitor) DialogFactory(org.jboss.hal.ballroom.dialog.DialogFactory) Content(org.jboss.hal.core.deployment.Content) Composite(org.jboss.hal.dmr.Composite) Dispatcher(org.jboss.hal.dmr.dispatch.Dispatcher) Collectors.toList(java.util.stream.Collectors.toList) NameTokens(org.jboss.hal.meta.token.NameTokens) Resources(org.jboss.hal.resources.Resources) Strings(org.jboss.hal.resources.Strings) UploadElement(org.jboss.hal.client.shared.uploadwizard.UploadElement) Elements.span(org.jboss.gwt.elemento.core.Elements.span) Composite(org.jboss.hal.dmr.Composite) ResourceAddress(org.jboss.hal.dmr.ResourceAddress) CompositeResult(org.jboss.hal.dmr.CompositeResult) DeployContentDialog1(org.jboss.hal.client.deployment.dialog.DeployContentDialog1) List(java.util.List) ArrayList(java.util.ArrayList) Collectors.toList(java.util.stream.Collectors.toList) Operation(org.jboss.hal.dmr.Operation)

Aggregations

Content (org.jboss.hal.core.deployment.Content)8 HTMLElement (elemental2.dom.HTMLElement)7 Environment (org.jboss.hal.config.Environment)7 ModelDescriptionConstants (org.jboss.hal.dmr.ModelDescriptionConstants)7 Metadata (org.jboss.hal.meta.Metadata)7 Constraint (org.jboss.hal.meta.security.Constraint)7 Ids (org.jboss.hal.resources.Ids)7 Names (org.jboss.hal.resources.Names)7 Resources (org.jboss.hal.resources.Resources)7 EventBus (com.google.web.bindery.event.shared.EventBus)6 Operation (org.jboss.hal.dmr.Operation)6 ResourceAddress (org.jboss.hal.dmr.ResourceAddress)6 ArrayList (java.util.ArrayList)5 List (java.util.List)5 Collectors.toList (java.util.stream.Collectors.toList)5 Inject (javax.inject.Inject)5 Provider (javax.inject.Provider)5 Wizard (org.jboss.hal.ballroom.wizard.Wizard)5 CONTENT_ADDRESS (org.jboss.hal.client.deployment.ContentColumn.CONTENT_ADDRESS)5 AddUnmanagedDeployment (org.jboss.hal.client.deployment.DeploymentTasks.AddUnmanagedDeployment)5