This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.Map; | |
import org.yaml.snakeyaml.DumperOptions; | |
import org.yaml.snakeyaml.Yaml; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2016 Red Hat, Inc. and/or its affiliates. | |
* | |
* Licensed under the Eclipse Public License version 1.0, available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
*/ | |
package org.jboss.forge.service.main; | |
import java.io.InputStream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.myaddon.commands; | |
import javax.inject.Inject; | |
import org.apache.maven.model.Build; | |
import org.apache.maven.model.Dependency; | |
import org.apache.maven.model.Model; | |
import org.apache.maven.model.Parent; | |
import org.apache.maven.model.Plugin; | |
import org.jboss.forge.addon.dependencies.builder.DependencyBuilder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Transcript from spinnakerteam.slack.com: | |
chrisb: There are most likely two components that you’d need to implement: Clouddriver (backend) and Deck (UI) | |
chrisb: It’s a non-trivial amount of work - take a look at some of the work done in https://github.com/spinnaker/deck/tree/master/app/scripts/modules and https://github.com/spinnaker/clouddriver to get an idea of what’s involved | |
lwander: I'm starting to document the kubernetes integration here: https://github.com/spinnaker/spinnaker/wiki/Kubernetes-Implementation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project-new --named bookstore --stack JAVA_EE_7 | |
jpa-new-entity --named Author | |
jpa-new-field --named name | |
jpa-new-entity --named Book | |
jpa-new-field --named title | |
jpa-new-field --named author --type org.bookstore.model.Author --relationship-type Many-to-One | |
jpa-new-entity --named Offer | |
jpa-new-field --named name | |
jpa-new-field --named description | |
scaffold-generate --provider AngularJS --generate-rest-resources --targets org.bookstore.model.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2016 Red Hat, Inc. and/or its affiliates. | |
* | |
* Licensed under the Eclipse Public License version 1.0, available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
*/ | |
package org.jboss.forge.addon.projects.stacks; | |
import org.jboss.forge.addon.facets.Facet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.myaddon; | |
import javax.inject.Inject; | |
import org.jboss.forge.addon.ui.command.AbstractUICommand; | |
import org.jboss.forge.addon.ui.context.UIBuilder; | |
import org.jboss.forge.addon.ui.context.UIExecutionContext; | |
import org.jboss.forge.addon.ui.context.UINavigationContext; | |
import org.jboss.forge.addon.ui.input.UIInput; | |
import org.jboss.forge.addon.ui.metadata.WithAttributes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2015 Red Hat, Inc. and/or its affiliates. | |
* | |
* Licensed under the Eclipse Public License version 1.0, available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
*/ | |
import java.nio.file.Files; | |
import java.nio.file.Paths; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.jboss.forge.addon.ui.input; | |
import javax.inject.Inject; | |
import org.jboss.arquillian.container.test.api.Deployment; | |
import org.jboss.arquillian.junit.Arquillian; | |
import org.jboss.forge.arquillian.AddonDependencies; | |
import org.jboss.forge.arquillian.archive.AddonArchive; | |
import org.jboss.shrinkwrap.api.ShrinkWrap; | |
import org.junit.Assert; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.myaddon.commands; | |
import java.util.Iterator; | |
import java.util.List; | |
import javax.inject.Inject; | |
import org.jboss.forge.addon.parser.java.facets.JavaSourceFacet; | |
import org.jboss.forge.addon.parser.java.resources.JavaResource; | |
import org.jboss.forge.addon.projects.Project; |