├── distribution ├── .gitignore ├── integration-tests │ ├── .gitignore │ └── src │ │ └── test │ │ └── java │ │ └── org │ │ └── jboss │ │ └── tools │ │ └── rsp │ │ └── itests │ │ ├── util │ │ └── WaitCondition.java │ │ └── AllTests.java ├── tomcat.jar ├── distribution │ ├── run-distro.sh │ └── logback.xml ├── distribution.minishift │ ├── run-distro.sh │ └── logback.xml ├── distribution.wildfly │ ├── run-distro.sh │ └── logback.xml └── pom.xml ├── api ├── bundles │ ├── org.jboss.tools.rsp.api │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ ├── .gitkeep │ │ │ │ │ └── org │ │ │ │ │ │ └── jboss │ │ │ │ │ │ └── tools │ │ │ │ │ │ └── rsp │ │ │ │ │ │ └── api │ │ │ │ │ │ └── dao │ │ │ │ │ │ ├── util │ │ │ │ │ │ ├── EqualsUtility.java │ │ │ │ │ │ └── Optional.java │ │ │ │ │ │ ├── VMHandle.java │ │ │ │ │ │ ├── ListDownloadRuntimeResponse.java │ │ │ │ │ │ ├── ClientCapabilitiesRequest.java │ │ │ │ │ │ ├── JobHandle.java │ │ │ │ │ │ ├── UpdateServerRequest.java │ │ │ │ │ │ ├── StopServerAttributes.java │ │ │ │ │ │ ├── JobRemoved.java │ │ │ │ │ │ ├── JobProgress.java │ │ │ │ │ │ ├── LaunchParameters.java │ │ │ │ │ │ ├── ListServerActionResponse.java │ │ │ │ │ │ ├── ServerProcess.java │ │ │ │ │ │ └── LaunchAttributesRequest.java │ │ │ │ └── resources │ │ │ │ │ └── .gitkeep │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ ├── .gitignore │ │ ├── build.properties │ │ └── META-INF │ │ │ └── MANIFEST.MF │ └── pom.xml ├── docs │ ├── org.jboss.tools.rsp.schema │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ │ ├── .gitkeep │ │ │ │ │ └── schema │ │ │ │ │ ├── typescript │ │ │ │ │ ├── VMHandle.d.ts │ │ │ │ │ ├── DiscoveryPath.d.ts │ │ │ │ │ ├── JobHandle.d.ts │ │ │ │ │ ├── ServerLaunchMode.d.ts │ │ │ │ │ ├── StopServerAttributes.d.ts │ │ │ │ │ ├── ClientCapabilitiesRequest.d.ts │ │ │ │ │ ├── StringPrompt.d.ts │ │ │ │ │ ├── LaunchAttributesRequest.d.ts │ │ │ │ │ ├── ServerType.d.ts │ │ │ │ │ ├── VMDescription.d.ts │ │ │ │ │ ├── Attribute.d.ts │ │ │ │ │ ├── DeployableReference.d.ts │ │ │ │ │ ├── ServerAttributes.d.ts │ │ │ │ │ ├── WorkflowPromptDetails.d.ts │ │ │ │ │ ├── CreateServerWorkflowRequest.d.ts │ │ │ │ │ ├── Status.d.ts │ │ │ │ │ ├── DownloadSingleRuntimeRequest.d.ts │ │ │ │ │ ├── JobProgress.d.ts │ │ │ │ │ ├── ServerActionRequest.d.ts │ │ │ │ │ ├── CommandLineDetails.d.ts │ │ │ │ │ ├── MessageBoxNotification.d.ts │ │ │ │ │ ├── ServerHandle.d.ts │ │ │ │ │ ├── ServerBean.d.ts │ │ │ │ │ ├── Attributes.d.ts │ │ │ │ │ ├── LaunchParameters.d.ts │ │ │ │ │ ├── CreateServerResponse.d.ts │ │ │ │ │ ├── ServerProcess.d.ts │ │ │ │ │ ├── PublishServerRequest.d.ts │ │ │ │ │ ├── UpdateServerRequest.d.ts │ │ │ │ │ ├── DownloadRuntimeDescription.d.ts │ │ │ │ │ ├── ServerCapabilitiesResponse.d.ts │ │ │ │ │ ├── JobRemoved.d.ts │ │ │ │ │ ├── ServerProcessOutput.d.ts │ │ │ │ │ ├── ServerStartingAttributes.d.ts │ │ │ │ │ ├── WorkflowResponseItem.d.ts │ │ │ │ │ ├── ListDownloadRuntimeResponse.d.ts │ │ │ │ │ ├── StartServerResponse.d.ts │ │ │ │ │ ├── ServerDeployableReference.d.ts │ │ │ │ │ ├── DeployableState.d.ts │ │ │ │ │ ├── GetServerJsonResponse.d.ts │ │ │ │ │ ├── ListDeploymentOptionsResponse.d.ts │ │ │ │ │ ├── ServerState.d.ts │ │ │ │ │ ├── WorkflowResponse.d.ts │ │ │ │ │ ├── UpdateServerResponse.d.ts │ │ │ │ │ ├── ListDeployablesResponse.d.ts │ │ │ │ │ ├── ServerActionWorkflow.d.ts │ │ │ │ │ └── ListServerActionResponse.d.ts │ │ │ │ │ └── json │ │ │ │ │ ├── VMHandle.json │ │ │ │ │ ├── DiscoveryPath.json │ │ │ │ │ ├── JobHandle.json │ │ │ │ │ ├── ServerLaunchMode.json │ │ │ │ │ ├── StopServerAttributes.json │ │ │ │ │ ├── LaunchAttributesRequest.json │ │ │ │ │ ├── ClientCapabilitiesRequest.json │ │ │ │ │ ├── StringPrompt.json │ │ │ │ │ ├── ServerType.json │ │ │ │ │ ├── VMDescription.json │ │ │ │ │ ├── Attribute.json │ │ │ │ │ ├── DeployableReference.json │ │ │ │ │ ├── ServerAttributes.json │ │ │ │ │ ├── CreateServerWorkflowRequest.json │ │ │ │ │ ├── WorkflowPromptDetails.json │ │ │ │ │ ├── DownloadSingleRuntimeRequest.json │ │ │ │ │ ├── JobProgress.json │ │ │ │ │ ├── ServerActionRequest.json │ │ │ │ │ ├── MessageBoxNotification.json │ │ │ │ │ ├── Status.json │ │ │ │ │ ├── ServerHandle.json │ │ │ │ │ ├── ServerBean.json │ │ │ │ │ ├── CommandLineDetails.json │ │ │ │ │ ├── LaunchParameters.json │ │ │ │ │ ├── Attributes.json │ │ │ │ │ ├── ServerProcess.json │ │ │ │ │ ├── PublishServerRequest.json │ │ │ │ │ ├── UpdateServerRequest.json │ │ │ │ │ ├── CreateServerResponse.json │ │ │ │ │ ├── DownloadRuntimeDescription.json │ │ │ │ │ ├── ServerCapabilitiesResponse.json │ │ │ │ │ ├── ServerStartingAttributes.json │ │ │ │ │ ├── ServerProcessOutput.json │ │ │ │ │ ├── JobRemoved.json │ │ │ │ │ ├── WorkflowResponseItem.json │ │ │ │ │ ├── ServerDeployableReference.json │ │ │ │ │ ├── DeployableState.json │ │ │ │ │ └── ListDownloadRuntimeResponse.json │ │ │ └── test │ │ │ │ ├── java │ │ │ │ ├── .gitkeep │ │ │ │ ├── daopackage │ │ │ │ │ ├── Status.java │ │ │ │ │ ├── Attribute.java │ │ │ │ │ ├── ClientCapabilitiesRequest.java │ │ │ │ │ ├── subpackage1 │ │ │ │ │ │ └── DiscoveryPath.java │ │ │ │ │ └── CreateServerResponse.java │ │ │ │ └── _jardaopackage │ │ │ │ │ ├── Status.java │ │ │ │ │ ├── Attribute.java │ │ │ │ │ ├── ClientCapabilitiesRequest.java │ │ │ │ │ └── CreateServerResponse.java │ │ │ │ └── resources │ │ │ │ ├── .gitkeep │ │ │ │ └── daoclasses.jar │ │ └── .gitignore │ └── pom.xml └── pom.xml ├── client ├── jars │ ├── org.jboss.tools.rsp.client.cli │ │ ├── .gitignore │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ ├── .gitkeep │ │ │ │ └── org │ │ │ │ │ └── jboss │ │ │ │ │ └── tools │ │ │ │ │ └── rsp │ │ │ │ │ └── client │ │ │ │ │ ├── bindings │ │ │ │ │ └── IClientConnectionClosedListener.java │ │ │ │ │ └── cli │ │ │ │ │ ├── InputHandler.java │ │ │ │ │ └── InputProvider.java │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ │ └── test │ │ │ ├── java │ │ │ └── .gitkeep │ │ │ └── resources │ │ │ └── .gitkeep │ └── pom.xml └── pom.xml ├── framework ├── bundles │ ├── org.jboss.tools.rsp.secure │ │ ├── .gitignore │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ ├── .gitkeep │ │ │ │ └── org │ │ │ │ └── jboss │ │ │ │ └── tools │ │ │ │ └── rsp │ │ │ │ └── secure │ │ │ │ ├── crypto │ │ │ │ ├── CryptoException.java │ │ │ │ └── NotInitializedCryptoException.java │ │ │ │ └── model │ │ │ │ └── ISecureStorageProvider.java │ │ ├── build.properties │ │ ├── pom.xml │ │ └── META-INF │ │ │ └── MANIFEST.MF │ ├── org.jboss.tools.rsp.server │ │ ├── .gitignore │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ ├── .gitkeep │ │ │ │ │ └── org │ │ │ │ │ │ └── jboss │ │ │ │ │ │ └── tools │ │ │ │ │ │ └── rsp │ │ │ │ │ │ └── server │ │ │ │ │ │ ├── core │ │ │ │ │ │ └── internal │ │ │ │ │ │ │ └── ServerStringConstants.java │ │ │ │ │ │ └── model │ │ │ │ │ │ └── internal │ │ │ │ │ │ └── publishing │ │ │ │ │ │ └── DeploymentAssemblyMapping.java │ │ │ │ └── resources │ │ │ │ │ └── .gitkeep │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ ├── build.properties │ │ └── pom.xml │ ├── org.jboss.tools.rsp.stacks.core │ │ ├── .gitignore │ │ ├── plugin.properties │ │ ├── build.properties │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── jboss │ │ │ │ └── tools │ │ │ │ └── rsp │ │ │ │ └── stacks │ │ │ │ └── core │ │ │ │ └── Messages.properties │ │ └── META-INF │ │ │ └── MANIFEST.MF │ ├── org.jboss.tools.rsp.launching │ │ ├── .gitignore │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ ├── .gitkeep │ │ │ │ │ └── org │ │ │ │ │ │ └── jboss │ │ │ │ │ │ └── tools │ │ │ │ │ │ └── rsp │ │ │ │ │ │ └── launching │ │ │ │ │ │ └── utils │ │ │ │ │ │ └── LaunchingDebugProperties.java │ │ │ │ └── resources │ │ │ │ │ └── .gitkeep │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ ├── build.properties │ │ ├── pom.xml │ │ └── META-INF │ │ │ └── MANIFEST.MF │ ├── org.jboss.tools.rsp.server.spi │ │ ├── .gitignore │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ ├── .gitkeep │ │ │ │ │ └── org │ │ │ │ │ │ └── jboss │ │ │ │ │ │ └── tools │ │ │ │ │ │ └── rsp │ │ │ │ │ │ └── server │ │ │ │ │ │ └── spi │ │ │ │ │ │ ├── filewatcher │ │ │ │ │ │ ├── IFileWatcherEventListener.java │ │ │ │ │ │ ├── IFileWatcherService.java │ │ │ │ │ │ └── FileWatcherEvent.java │ │ │ │ │ │ ├── servertype │ │ │ │ │ │ ├── IDeploymentAssemblyMapping.java │ │ │ │ │ │ ├── IDeployableResourceDelta.java │ │ │ │ │ │ └── IDeployableDelta.java │ │ │ │ │ │ ├── publishing │ │ │ │ │ │ └── IFullPublishRequiredCallback.java │ │ │ │ │ │ ├── discovery │ │ │ │ │ │ ├── IDiscoveryPathListener.java │ │ │ │ │ │ ├── IServerBeanTypeManager.java │ │ │ │ │ │ └── IServerBeanTypeProvider.java │ │ │ │ │ │ ├── launchers │ │ │ │ │ │ ├── IServerStartLauncher.java │ │ │ │ │ │ └── IServerShutdownLauncher.java │ │ │ │ │ │ ├── model │ │ │ │ │ │ ├── IDataStoreModel.java │ │ │ │ │ │ ├── polling │ │ │ │ │ │ │ ├── PollingException.java │ │ │ │ │ │ │ └── RequiresInfoException.java │ │ │ │ │ │ └── ICapabilityManagement.java │ │ │ │ │ │ ├── util │ │ │ │ │ │ └── WorkflowUtility.java │ │ │ │ │ │ └── jobs │ │ │ │ │ │ └── IJob.java │ │ │ │ └── resources │ │ │ │ │ └── .gitkeep │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ ├── build.properties │ │ └── pom.xml │ ├── org.jboss.tools.rsp.launching.java │ │ ├── .gitignore │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ │ ├── .gitkeep │ │ │ │ │ └── launchingsupport.jar │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ ├── build.properties │ │ └── pom.xml │ ├── org.jboss.tools.rsp.server.generic │ │ ├── .gitignore │ │ ├── build.properties │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── jboss │ │ │ └── tools │ │ │ └── rsp │ │ │ └── server │ │ │ └── generic │ │ │ ├── servertype │ │ │ ├── variables │ │ │ │ ├── IValueVariable.java │ │ │ │ ├── IDynamicVariable.java │ │ │ │ └── IStringVariableManager.java │ │ │ └── GenericServerAttributes.java │ │ │ ├── IStringSubstitutionProvider.java │ │ │ ├── IServerBehaviorFromJSONProvider.java │ │ │ ├── IServerBehaviorProvider.java │ │ │ ├── IPublishControllerWithOptions.java │ │ │ └── discovery │ │ │ └── GenericServerBeanTypeProvider.java │ ├── org.jboss.tools.rsp.logging │ │ ├── build.properties │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── jboss │ │ │ └── tools │ │ │ └── rsp │ │ │ └── logging │ │ │ └── LoggingConstants.java │ ├── org.jboss.tools.rsp.runtime.core │ │ ├── plugin.properties │ │ ├── build.properties │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── jboss │ │ │ └── tools │ │ │ └── rsp │ │ │ └── runtime │ │ │ └── core │ │ │ ├── Messages.properties │ │ │ ├── model │ │ │ ├── IDownloadRuntimeConnectionFactory.java │ │ │ ├── IDownloadRuntimeRunner.java │ │ │ └── IDownloadRuntimeFilter.java │ │ │ ├── extract │ │ │ └── IOverwrite.java │ │ │ └── Messages.java │ ├── org.jboss.tools.rsp.foundation.core │ │ ├── build.properties │ │ ├── pom.xml │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── jboss │ │ │ │ └── tools │ │ │ │ └── rsp │ │ │ │ └── foundation │ │ │ │ └── core │ │ │ │ └── launchers │ │ │ │ ├── IShutdownLauncher.java │ │ │ │ └── IStartLauncher.java │ │ └── META-INF │ │ │ └── MANIFEST.MF │ └── pom.xml ├── tests │ ├── org.jboss.tools.rsp.launching.test │ │ ├── build.properties │ │ ├── resources │ │ │ ├── mementoTest.json │ │ │ └── mementoTest.xml │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ └── pom.xml │ ├── org.jboss.tools.rsp.secure.test │ │ ├── build.properties │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── jboss │ │ │ └── tools │ │ │ └── rsp │ │ │ └── secure │ │ │ └── test │ │ │ └── Activator.java │ ├── org.jboss.tools.rsp.launching.java.test │ │ ├── build.properties │ │ ├── pom.xml │ │ └── META-INF │ │ │ └── MANIFEST.MF │ ├── org.jboss.tools.rsp.runtime.core.test │ │ ├── build.properties │ │ ├── pom.xml │ │ └── META-INF │ │ │ └── MANIFEST.MF │ ├── org.jboss.tools.rsp.server.test │ │ ├── build.properties │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── jboss │ │ │ └── tools │ │ │ └── rsp │ │ │ └── server │ │ │ ├── util │ │ │ └── TestServerDelegate.java │ │ │ └── ServerTestActivator.java │ ├── org.jboss.tools.rsp.server.generic.test │ │ ├── build.properties │ │ ├── org.jboss.tools.rsp.server.generic.test.discovery.ManifestUtilTest25586273178176500.jar │ │ ├── org.jboss.tools.rsp.server.generic.test.discovery.ManifestUtilTest7416901359690754724.jar │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── jboss │ │ │ └── tools │ │ │ └── rsp │ │ │ └── server │ │ │ └── generic │ │ │ └── test │ │ │ └── GenericServerTestActivator.java │ ├── org.jboss.tools.rsp.server.spi.test │ │ ├── build.properties │ │ ├── pom.xml │ │ └── META-INF │ │ │ └── MANIFEST.MF │ └── pom.xml └── pom.xml ├── runtimes ├── bundles │ ├── org.jboss.tools.rsp.server.minishift │ │ ├── src │ │ │ ├── test │ │ │ │ └── .gitkeep │ │ │ └── main │ │ │ │ ├── java │ │ │ │ ├── .gitkeep │ │ │ │ └── org │ │ │ │ │ └── jboss │ │ │ │ │ └── tools │ │ │ │ │ └── rsp │ │ │ │ │ └── server │ │ │ │ │ └── minishift │ │ │ │ │ └── discovery │ │ │ │ │ └── MinishiftBeanTypeProvider.java │ │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ ├── .gitignore │ │ └── build.properties │ ├── org.jboss.tools.rsp.server.wildfly │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ ├── .gitkeep │ │ │ │ │ └── org │ │ │ │ │ │ └── jboss │ │ │ │ │ │ └── tools │ │ │ │ │ │ └── rsp │ │ │ │ │ │ └── server │ │ │ │ │ │ └── wildfly │ │ │ │ │ │ ├── servertype │ │ │ │ │ │ ├── launch │ │ │ │ │ │ │ ├── JBossEAP60LaunchArgs.java │ │ │ │ │ │ │ ├── JBoss5xDefaultLaunchArguments.java │ │ │ │ │ │ │ ├── Wildfly110DefaultLaunchArguments.java │ │ │ │ │ │ │ └── JBossEAP72DefaultLaunchArguments.java │ │ │ │ │ │ ├── impl │ │ │ │ │ │ │ └── JBossASServerType.java │ │ │ │ │ │ └── IEapXpServerAttributes.java │ │ │ │ │ │ └── beans │ │ │ │ │ │ └── impl │ │ │ │ │ │ └── ServerBeanTypeSOA6.java │ │ │ │ └── resources │ │ │ │ │ └── .gitkeep │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ ├── .gitignore │ │ └── build.properties │ ├── org.jboss.tools.rsp.server.redhat.download │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ │ └── .gitkeep │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── .gitkeep │ │ │ │ └── resources │ │ │ │ └── .gitkeep │ │ ├── .gitignore │ │ ├── build.properties │ │ └── pom.xml │ └── pom.xml ├── tests │ ├── org.jboss.tools.rsp.server.wildfly.test │ │ ├── serverMock │ │ │ ├── jboss-service.xml │ │ │ ├── run.jar │ │ │ ├── 3.2.8.mf.twiddle.jar │ │ │ ├── 4.0.5.mf.twiddle.jar │ │ │ ├── 4.2.3.mf.twiddle.jar │ │ │ ├── 5.0.0.mf.twiddle.jar │ │ │ ├── 5.0.1.mf.twiddle.jar │ │ │ ├── 5.1.0.mf.twiddle.jar │ │ │ ├── 6.0.0.mf.twiddle.jar │ │ │ ├── eap4.3.mf.twiddle.jar │ │ │ ├── eap5.0.mf.twiddle.jar │ │ │ ├── eap5.1.mf.twiddle.jar │ │ │ ├── 7.0.0.mf.jboss-as-server.jar │ │ │ ├── 7.1.0.mf.jboss-as-server.jar │ │ │ ├── eap6.0.0.mf.jboss-as-server.jar │ │ │ ├── eap6.1.0.mf.jboss-as-server.jar │ │ │ ├── eap7.0.0.mf.jboss-as-server.jar │ │ │ ├── eap7.1.0.mf.jboss-as-server.jar │ │ │ ├── jpp6.0.0.mf.jboss-as-server.jar │ │ │ ├── jpp6.1.0.mf.jboss-as-server.jar │ │ │ ├── wf10.0.0.mf.jboss-as-server.jar │ │ │ ├── wf11.0.0.mf.jboss-as-server.jar │ │ │ ├── wf12.0.0.mf.jboss-as-server.jar │ │ │ ├── wf8.0.0.mf.jboss-as-server.jar │ │ │ ├── wf9.0.0.mf.jboss-as-server.jar │ │ │ └── gatein3.4.0.mf.jboss-as7-integration.jar │ │ ├── build.properties │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── jboss │ │ │ └── tools │ │ │ └── rsp │ │ │ └── server │ │ │ └── wildfly │ │ │ └── test │ │ │ └── beans │ │ │ └── ServerBeanTypeProviderTest.java │ └── pom.xml └── pom.xml ├── .gitignore ├── LATEST ├── CONTRIBUTING.md ├── targetplatform └── pom.xml ├── site ├── pom.xml └── category.xml └── .github └── workflows └── gh-actions.yml /distribution/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | META-INF 3 | -------------------------------------------------------------------------------- /distribution/integration-tests/.gitignore: -------------------------------------------------------------------------------- 1 | target -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/jars/org.jboss.tools.rsp.client.cli/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /client/jars/org.jboss.tools.rsp.client.cli/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/jars/org.jboss.tools.rsp.client.cli/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.secure/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.secure/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.stacks.core/.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /lib/ 3 | -------------------------------------------------------------------------------- /client/jars/org.jboss.tools.rsp.client.cli/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/jars/org.jboss.tools.rsp.client.cli/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.minishift/src/test/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching.java/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching.java/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching.java/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.minishift/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.minishift/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching.java/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching.java/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.minishift/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.redhat.download/src/main/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.redhat.download/src/test/java/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/jboss-service.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.redhat.download/src/main/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.redhat.download/src/test/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /.apt_generated/ 3 | /.apt_generated_tests/ 4 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /src/test/resources/output 3 | -------------------------------------------------------------------------------- /distribution/tomcat.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/distribution/tomcat.jar -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.redhat.download/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /src/test/resources/output 3 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/VMHandle.d.ts: -------------------------------------------------------------------------------- 1 | export interface VMHandle { 2 | id: string; 3 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.stacks.core/plugin.properties: -------------------------------------------------------------------------------- 1 | #Properties 2 | BundleVendor = Red Hat 3 | BundleName = JBoss Stacks Core Plugin 4 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/DiscoveryPath.d.ts: -------------------------------------------------------------------------------- 1 | export interface DiscoveryPath { 2 | filepath: string; 3 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/JobHandle.d.ts: -------------------------------------------------------------------------------- 1 | export interface JobHandle { 2 | name: string; 3 | id: string; 4 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.logging/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.secure/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.launching.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.secure.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerLaunchMode.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerLaunchMode { 2 | mode: string; 3 | desc: string; 4 | } -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.launching.java.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.runtime.core.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/StopServerAttributes.d.ts: -------------------------------------------------------------------------------- 1 | export interface StopServerAttributes { 2 | id: string; 3 | force: boolean; 4 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.runtime.core/plugin.properties: -------------------------------------------------------------------------------- 1 | #Properties file for org.jboss.tools.runtime 2 | BundleVendor = Red Hat 3 | BundleName = JBoss Runtime Detection 4 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/VMHandle.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "id" : { 5 | "type" : "string" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ClientCapabilitiesRequest.d.ts: -------------------------------------------------------------------------------- 1 | export interface ClientCapabilitiesRequest { 2 | map: { [index: string]: string }; 3 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/StringPrompt.d.ts: -------------------------------------------------------------------------------- 1 | export interface StringPrompt { 2 | code: number; 3 | prompt: string; 4 | secret: boolean; 5 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/LaunchAttributesRequest.d.ts: -------------------------------------------------------------------------------- 1 | export interface LaunchAttributesRequest { 2 | serverTypeId: string; 3 | mode: string; 4 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerType.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerType { 2 | id: string; 3 | visibleName: string; 4 | description: string; 5 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/resources/daoclasses.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/api/docs/org.jboss.tools.rsp.schema/src/test/resources/daoclasses.jar -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | .settings 3 | .vscode 4 | .project 5 | bin 6 | build 7 | target/ 8 | **/target/ 9 | **/.classpath 10 | **/.project 11 | /.metadata/ 12 | /.recommenders/ 13 | /.sonarlint/ 14 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/VMDescription.d.ts: -------------------------------------------------------------------------------- 1 | export interface VMDescription { 2 | id: string; 3 | installLocation: string; 4 | version: string; 5 | } -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/ -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | . 5 | bin.excludes = src/main/resources/.gitkeep 6 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/DiscoveryPath.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "filepath" : { 5 | "type" : "string" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/run.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/run.jar -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.runtime.core/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | . 5 | src.includes = plugin.properties 6 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/ 6 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.generic.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/ -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.spi.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/ 6 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/Attribute.d.ts: -------------------------------------------------------------------------------- 1 | export interface Attribute { 2 | type: string; 3 | description: string; 4 | defaultVal: any; 5 | secret: boolean; 6 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/DeployableReference.d.ts: -------------------------------------------------------------------------------- 1 | export interface DeployableReference { 2 | label: string; 3 | path: string; 4 | options?: { [index: string]: any }; 5 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerAttributes.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerAttributes { 2 | serverType: string; 3 | id: string; 4 | attributes: { [index: string]: any }; 5 | } -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/3.2.8.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/3.2.8.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/4.0.5.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/4.0.5.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/4.2.3.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/4.2.3.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/5.0.0.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/5.0.0.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/5.0.1.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/5.0.1.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/5.1.0.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/5.1.0.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/6.0.0.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/6.0.0.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap4.3.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap4.3.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap5.0.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap5.0.mf.twiddle.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap5.1.mf.twiddle.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap5.1.mf.twiddle.jar -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/WorkflowPromptDetails.d.ts: -------------------------------------------------------------------------------- 1 | export interface WorkflowPromptDetails { 2 | responseType: string; 3 | responseSecret: boolean; 4 | validResponses: string[]; 5 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.stacks.core/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | lib/,\ 6 | plugin.properties 7 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching.java/src/main/resources/launchingsupport.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/framework/bundles/org.jboss.tools.rsp.launching.java/src/main/resources/launchingsupport.jar -------------------------------------------------------------------------------- /LATEST: -------------------------------------------------------------------------------- 1 | org.jboss.tools.rsp.distribution.latest.version=0.26.17.Final 2 | org.jboss.tools.rsp.distribution.latest.url=https://github.com/redhat-developer/rsp-server/releases/download/v0_26_17/org.jboss.tools.rsp.distribution.wildfly-0.26.17.Final.zip 3 | -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/7.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/7.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/7.1.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/7.1.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/CreateServerWorkflowRequest.d.ts: -------------------------------------------------------------------------------- 1 | export interface CreateServerWorkflowRequest { 2 | requestId: number; 3 | serverTypeId: string; 4 | data: { [index: string]: any }; 5 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/Status.d.ts: -------------------------------------------------------------------------------- 1 | export interface Status { 2 | severity: number; 3 | plugin: string; 4 | code: number; 5 | message: string; 6 | trace: string; 7 | ok: boolean; 8 | } -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap6.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap6.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap6.1.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap6.1.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap7.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap7.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap7.1.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/eap7.1.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/jpp6.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/jpp6.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/jpp6.1.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/jpp6.1.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf10.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf10.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf11.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf11.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf12.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf12.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf8.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf8.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf9.0.0.mf.jboss-as-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/wf9.0.0.mf.jboss-as-server.jar -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/DownloadSingleRuntimeRequest.d.ts: -------------------------------------------------------------------------------- 1 | export interface DownloadSingleRuntimeRequest { 2 | requestId: number; 3 | downloadRuntimeId: string; 4 | data: { [index: string]: any }; 5 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/JobProgress.d.ts: -------------------------------------------------------------------------------- 1 | export interface JobProgress { 2 | percent: number; 3 | handle: JobHandle; 4 | } 5 | 6 | export interface JobHandle { 7 | name: string; 8 | id: string; 9 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerActionRequest.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerActionRequest { 2 | requestId: number; 3 | actionId: string; 4 | serverId: string; 5 | data: { [index: string]: any }; 6 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/JobHandle.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "name" : { 5 | "type" : "string" 6 | }, 7 | "id" : { 8 | "type" : "string" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/CommandLineDetails.d.ts: -------------------------------------------------------------------------------- 1 | export interface CommandLineDetails { 2 | cmdLine: string[]; 3 | workingDir: string; 4 | envp: string[]; 5 | properties: { [index: string]: string }; 6 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/MessageBoxNotification.d.ts: -------------------------------------------------------------------------------- 1 | export interface MessageBoxNotification { 2 | code: number; 3 | severity: number; 4 | message: string; 5 | properties: { [index: string]: any }; 6 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.foundation.core/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/ 6 | bin.excludes = src/main/resources/.gitkeep 7 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.launching.test/resources/mementoTest.json: -------------------------------------------------------------------------------- 1 | { 2 | "rootPropKey": "rootPropValue", 3 | "childOne": { 4 | "childStringKey": "childStringValue" 5 | }, 6 | "childTwo": { 7 | "childStringKey": "childStringValue" 8 | } 9 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerLaunchMode.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "mode" : { 5 | "type" : "string" 6 | }, 7 | "desc" : { 8 | "type" : "string" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /distribution/distribution/run-distro.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | unzip -o target/org.jboss.tools.rsp.distribution-0.10.0-SNAPSHOT.zip -d target && \ 4 | cd target/rsp-distribution/ && \ 5 | java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 -jar bin/felix.jar 6 | -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/gatein3.4.0.mf.jboss-as7-integration.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/serverMock/gatein3.4.0.mf.jboss-as7-integration.jar -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/StopServerAttributes.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "id" : { 5 | "type" : "string" 6 | }, 7 | "force" : { 8 | "type" : "boolean" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /distribution/distribution.minishift/run-distro.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | unzip -o target/org.jboss.tools.rsp.distribution-0.10.0-SNAPSHOT.zip -d target && \ 4 | cd target/rsp-distribution/ && \ 5 | java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 -jar bin/felix.jar 6 | -------------------------------------------------------------------------------- /distribution/distribution.wildfly/run-distro.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | unzip -o target/org.jboss.tools.rsp.distribution-0.10.0-SNAPSHOT.zip -d target && \ 4 | cd target/rsp-distribution/ && \ 5 | java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 -jar bin/felix.jar 6 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/LaunchAttributesRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "serverTypeId" : { 5 | "type" : "string" 6 | }, 7 | "mode" : { 8 | "type" : "string" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/,\ 6 | build.properties,\ 7 | serverMock/ 8 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching.java/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/,\ 6 | src/main/resources/ 7 | bin.excludes = src/main/resources/.gitkeep 8 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/,\ 6 | src/main/resources/ 7 | bin.excludes = src/main/resources/.gitkeep 8 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.launching.test/resources/mementoTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/,\ 6 | src/main/resources/ 7 | bin.excludes = src/main/resources/.gitkeep 8 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/,\ 6 | src/main/resources/ 7 | bin.excludes = src/main/resources/.gitkeep 8 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ClientCapabilitiesRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "map" : { 5 | "type" : "object", 6 | "additionalProperties" : { 7 | "type" : "string" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerHandle.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerHandle { 2 | id: string; 3 | type: ServerType; 4 | } 5 | 6 | export interface ServerType { 7 | id: string; 8 | visibleName: string; 9 | description: string; 10 | } -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.minishift/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/,\ 6 | src/main/resources/ 7 | bin.excludes = src/main/resources/.gitkeep 8 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.redhat.download/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/,\ 6 | src/main/resources/ 7 | bin.excludes = src/main/resources/.gitkeep 8 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerBean.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerBean { 2 | location: string; 3 | typeCategory: string; 4 | specificType: string; 5 | name: string; 6 | version: string; 7 | fullVersion: string; 8 | serverAdapterTypeId: string; 9 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/Attributes.d.ts: -------------------------------------------------------------------------------- 1 | export interface Attributes { 2 | attributes: { [index: string]: Attribute }; 3 | } 4 | 5 | export interface Attribute { 6 | type: string; 7 | description: string; 8 | defaultVal: any; 9 | secret: boolean; 10 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/StringPrompt.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "code" : { 5 | "type" : "integer" 6 | }, 7 | "prompt" : { 8 | "type" : "string" 9 | }, 10 | "secret" : { 11 | "type" : "boolean" 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerType.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "id" : { 5 | "type" : "string" 6 | }, 7 | "visibleName" : { 8 | "type" : "string" 9 | }, 10 | "description" : { 11 | "type" : "string" 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/VMDescription.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "id" : { 5 | "type" : "string" 6 | }, 7 | "installLocation" : { 8 | "type" : "string" 9 | }, 10 | "version" : { 11 | "type" : "string" 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/LaunchParameters.d.ts: -------------------------------------------------------------------------------- 1 | export interface LaunchParameters { 2 | mode: string; 3 | params: ServerAttributes; 4 | } 5 | 6 | export interface ServerAttributes { 7 | serverType: string; 8 | id: string; 9 | attributes: { [index: string]: any }; 10 | } -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.generic.test/org.jboss.tools.rsp.server.generic.test.discovery.ManifestUtilTest25586273178176500.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/framework/tests/org.jboss.tools.rsp.server.generic.test/org.jboss.tools.rsp.server.generic.test.discovery.ManifestUtilTest25586273178176500.jar -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.generic.test/org.jboss.tools.rsp.server.generic.test.discovery.ManifestUtilTest7416901359690754724.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redhat-developer/rsp-server/HEAD/framework/tests/org.jboss.tools.rsp.server.generic.test/org.jboss.tools.rsp.server.generic.test.discovery.ManifestUtilTest7416901359690754724.jar -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing 2 | 3 | ### Certificate of Origin 4 | 5 | By contributing to this project you agree to the Developer Certificate of 6 | Origin (DCO). This document was created by the Linux Kernel community and is a 7 | simple statement that you, as a contributor, have the legal right to make the 8 | contribution. See the [DCO](DCO) file for details. 9 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/main/java 2 | output.. = target/classes 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | src/main/java/,\ 6 | src/main/resources/,\ 7 | src/test/ 8 | bin.excludes = src/main/resources/.gitkeep 9 | source.. = src/main/java 10 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/CreateServerResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface CreateServerResponse { 2 | status: Status; 3 | invalidKeys: string[]; 4 | } 5 | 6 | export interface Status { 7 | severity: number; 8 | plugin: string; 9 | code: number; 10 | message: string; 11 | trace: string; 12 | ok: boolean; 13 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/Attribute.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "type" : { 5 | "type" : "string" 6 | }, 7 | "description" : { 8 | "type" : "string" 9 | }, 10 | "defaultVal" : { 11 | "type" : "any" 12 | }, 13 | "secret" : { 14 | "type" : "boolean" 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerProcess.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerProcess { 2 | server: ServerHandle; 3 | processId: string; 4 | } 5 | 6 | export interface ServerHandle { 7 | id: string; 8 | type: ServerType; 9 | } 10 | 11 | export interface ServerType { 12 | id: string; 13 | visibleName: string; 14 | description: string; 15 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/DeployableReference.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "label" : { 5 | "type" : "string" 6 | }, 7 | "path" : { 8 | "type" : "string" 9 | }, 10 | "options" : { 11 | "type" : "object", 12 | "additionalProperties" : { 13 | "type" : "any" 14 | } 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerAttributes.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "serverType" : { 5 | "type" : "string" 6 | }, 7 | "id" : { 8 | "type" : "string" 9 | }, 10 | "attributes" : { 11 | "type" : "object", 12 | "additionalProperties" : { 13 | "type" : "any" 14 | } 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/PublishServerRequest.d.ts: -------------------------------------------------------------------------------- 1 | export interface PublishServerRequest { 2 | server: ServerHandle; 3 | kind: number; 4 | } 5 | 6 | export interface ServerHandle { 7 | id: string; 8 | type: ServerType; 9 | } 10 | 11 | export interface ServerType { 12 | id: string; 13 | visibleName: string; 14 | description: string; 15 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/UpdateServerRequest.d.ts: -------------------------------------------------------------------------------- 1 | export interface UpdateServerRequest { 2 | handle: ServerHandle; 3 | serverJson: string; 4 | } 5 | 6 | export interface ServerHandle { 7 | id: string; 8 | type: ServerType; 9 | } 10 | 11 | export interface ServerType { 12 | id: string; 13 | visibleName: string; 14 | description: string; 15 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/CreateServerWorkflowRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "requestId" : { 5 | "type" : "integer" 6 | }, 7 | "serverTypeId" : { 8 | "type" : "string" 9 | }, 10 | "data" : { 11 | "type" : "object", 12 | "additionalProperties" : { 13 | "type" : "any" 14 | } 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/WorkflowPromptDetails.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "responseType" : { 5 | "type" : "string" 6 | }, 7 | "responseSecret" : { 8 | "type" : "boolean" 9 | }, 10 | "validResponses" : { 11 | "type" : "array", 12 | "items" : { 13 | "type" : "string" 14 | } 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/DownloadRuntimeDescription.d.ts: -------------------------------------------------------------------------------- 1 | export interface DownloadRuntimeDescription { 2 | name: string; 3 | id: string; 4 | version: string; 5 | url: string; 6 | licenseURL: string; 7 | humanUrl: string; 8 | disclaimer: boolean; 9 | properties: { [index: string]: string }; 10 | size: string; 11 | installationMethod: string; 12 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/DownloadSingleRuntimeRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "requestId" : { 5 | "type" : "integer" 6 | }, 7 | "downloadRuntimeId" : { 8 | "type" : "string" 9 | }, 10 | "data" : { 11 | "type" : "object", 12 | "additionalProperties" : { 13 | "type" : "any" 14 | } 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerCapabilitiesResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerCapabilitiesResponse { 2 | serverCapabilities: { [index: string]: string }; 3 | clientRegistrationStatus: Status; 4 | } 5 | 6 | export interface Status { 7 | severity: number; 8 | plugin: string; 9 | code: number; 10 | message: string; 11 | trace: string; 12 | ok: boolean; 13 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/JobProgress.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "percent" : { 5 | "type" : "number" 6 | }, 7 | "handle" : { 8 | "type" : "object", 9 | "properties" : { 10 | "name" : { 11 | "type" : "string" 12 | }, 13 | "id" : { 14 | "type" : "string" 15 | } 16 | } 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/JobRemoved.d.ts: -------------------------------------------------------------------------------- 1 | export interface JobRemoved { 2 | status: Status; 3 | handle: JobHandle; 4 | } 5 | 6 | export interface Status { 7 | severity: number; 8 | plugin: string; 9 | code: number; 10 | message: string; 11 | trace: string; 12 | ok: boolean; 13 | } 14 | 15 | export interface JobHandle { 16 | name: string; 17 | id: string; 18 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerProcessOutput.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerProcessOutput { 2 | server: ServerHandle; 3 | processId: string; 4 | streamType: number; 5 | text: string; 6 | } 7 | 8 | export interface ServerHandle { 9 | id: string; 10 | type: ServerType; 11 | } 12 | 13 | export interface ServerType { 14 | id: string; 15 | visibleName: string; 16 | description: string; 17 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerStartingAttributes.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerStartingAttributes { 2 | initiatePolling: boolean; 3 | request: LaunchParameters; 4 | } 5 | 6 | export interface LaunchParameters { 7 | mode: string; 8 | params: ServerAttributes; 9 | } 10 | 11 | export interface ServerAttributes { 12 | serverType: string; 13 | id: string; 14 | attributes: { [index: string]: any }; 15 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/WorkflowResponseItem.d.ts: -------------------------------------------------------------------------------- 1 | export interface WorkflowResponseItem { 2 | id: string; 3 | itemType: string; 4 | label: string; 5 | content: string; 6 | prompt: WorkflowPromptDetails; 7 | properties: { [index: string]: string }; 8 | } 9 | 10 | export interface WorkflowPromptDetails { 11 | responseType: string; 12 | responseSecret: boolean; 13 | validResponses: string[]; 14 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerActionRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "requestId" : { 5 | "type" : "integer" 6 | }, 7 | "actionId" : { 8 | "type" : "string" 9 | }, 10 | "serverId" : { 11 | "type" : "string" 12 | }, 13 | "data" : { 14 | "type" : "object", 15 | "additionalProperties" : { 16 | "type" : "any" 17 | } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/MessageBoxNotification.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "code" : { 5 | "type" : "integer" 6 | }, 7 | "severity" : { 8 | "type" : "integer" 9 | }, 10 | "message" : { 11 | "type" : "string" 12 | }, 13 | "properties" : { 14 | "type" : "object", 15 | "additionalProperties" : { 16 | "type" : "any" 17 | } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.launching.test/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-SymbolicName: org.jboss.tools.rsp.launching.test 4 | Automatic-Module-Name: org.jboss.tools.rsp.launching.java.test 5 | Bundle-Version: 0.26.18.qualifier 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 7 | Bundle-ClassPath: . 8 | Require-Bundle: org.jboss.tools.rsp.launching;bundle-version="0.0.9", 9 | org.junit, 10 | javax.annotation;bundle-version="1.2.0" 11 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/Status.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "severity" : { 5 | "type" : "integer" 6 | }, 7 | "plugin" : { 8 | "type" : "string" 9 | }, 10 | "code" : { 11 | "type" : "integer" 12 | }, 13 | "message" : { 14 | "type" : "string" 15 | }, 16 | "trace" : { 17 | "type" : "string" 18 | }, 19 | "ok" : { 20 | "type" : "boolean" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerHandle.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "id" : { 5 | "type" : "string" 6 | }, 7 | "type" : { 8 | "type" : "object", 9 | "properties" : { 10 | "id" : { 11 | "type" : "string" 12 | }, 13 | "visibleName" : { 14 | "type" : "string" 15 | }, 16 | "description" : { 17 | "type" : "string" 18 | } 19 | } 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ListDownloadRuntimeResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface ListDownloadRuntimeResponse { 2 | runtimes: DownloadRuntimeDescription[]; 3 | } 4 | 5 | export interface DownloadRuntimeDescription { 6 | name: string; 7 | id: string; 8 | version: string; 9 | url: string; 10 | licenseURL: string; 11 | humanUrl: string; 12 | disclaimer: boolean; 13 | properties: { [index: string]: string }; 14 | size: string; 15 | installationMethod: string; 16 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/StartServerResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface StartServerResponse { 2 | status: Status; 3 | details: CommandLineDetails; 4 | } 5 | 6 | export interface Status { 7 | severity: number; 8 | plugin: string; 9 | code: number; 10 | message: string; 11 | trace: string; 12 | ok: boolean; 13 | } 14 | 15 | export interface CommandLineDetails { 16 | cmdLine: string[]; 17 | workingDir: string; 18 | envp: string[]; 19 | properties: { [index: string]: string }; 20 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerDeployableReference.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerDeployableReference { 2 | server: ServerHandle; 3 | deployableReference: DeployableReference; 4 | } 5 | 6 | export interface ServerHandle { 7 | id: string; 8 | type: ServerType; 9 | } 10 | 11 | export interface DeployableReference { 12 | label: string; 13 | path: string; 14 | options?: { [index: string]: any }; 15 | } 16 | 17 | export interface ServerType { 18 | id: string; 19 | visibleName: string; 20 | description: string; 21 | } -------------------------------------------------------------------------------- /targetplatform/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | 6 | org.jboss.tools.rsp 7 | parent 8 | 0.26.18-SNAPSHOT 9 | 10 | org.jboss.tools.rsp 11 | rsp-target 12 | eclipse-target-definition 13 | 14 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerBean.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "location" : { 5 | "type" : "string" 6 | }, 7 | "typeCategory" : { 8 | "type" : "string" 9 | }, 10 | "specificType" : { 11 | "type" : "string" 12 | }, 13 | "name" : { 14 | "type" : "string" 15 | }, 16 | "version" : { 17 | "type" : "string" 18 | }, 19 | "fullVersion" : { 20 | "type" : "string" 21 | }, 22 | "serverAdapterTypeId" : { 23 | "type" : "string" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /site/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | org.jboss.tools.rsp 7 | parent 8 | 0.26.18-SNAPSHOT 9 | 10 | org.jboss.tools.rsp 11 | site 12 | 13 | eclipse-repository 14 | 15 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/CommandLineDetails.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "cmdLine" : { 5 | "type" : "array", 6 | "items" : { 7 | "type" : "string" 8 | } 9 | }, 10 | "workingDir" : { 11 | "type" : "string" 12 | }, 13 | "envp" : { 14 | "type" : "array", 15 | "items" : { 16 | "type" : "string" 17 | } 18 | }, 19 | "properties" : { 20 | "type" : "object", 21 | "additionalProperties" : { 22 | "type" : "string" 23 | } 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/DeployableState.d.ts: -------------------------------------------------------------------------------- 1 | export interface DeployableState { 2 | server: ServerHandle; 3 | reference: DeployableReference; 4 | state: number; 5 | publishState: number; 6 | } 7 | 8 | export interface ServerHandle { 9 | id: string; 10 | type: ServerType; 11 | } 12 | 13 | export interface DeployableReference { 14 | label: string; 15 | path: string; 16 | options?: { [index: string]: any }; 17 | } 18 | 19 | export interface ServerType { 20 | id: string; 21 | visibleName: string; 22 | description: string; 23 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/LaunchParameters.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "mode" : { 5 | "type" : "string" 6 | }, 7 | "params" : { 8 | "type" : "object", 9 | "properties" : { 10 | "serverType" : { 11 | "type" : "string" 12 | }, 13 | "id" : { 14 | "type" : "string" 15 | }, 16 | "attributes" : { 17 | "type" : "object", 18 | "additionalProperties" : { 19 | "type" : "any" 20 | } 21 | } 22 | } 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.secure.test/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Secure Storage Test 4 | Bundle-SymbolicName: org.jboss.tools.rsp.secure.test 5 | Bundle-Version: 0.26.18.qualifier 6 | Bundle-Activator: org.jboss.tools.rsp.secure.test.Activator 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 8 | Automatic-Module-Name: org.jboss.tools.rsp.secure.test 9 | Import-Package: org.osgi.framework 10 | Require-Bundle: org.junit;bundle-version="4.8.1", 11 | org.jboss.tools.rsp.secure;bundle-version="0.10.0", 12 | javax.annotation;bundle-version="1.2.0" 13 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/GetServerJsonResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface GetServerJsonResponse { 2 | status: Status; 3 | serverJson: string; 4 | serverHandle: ServerHandle; 5 | } 6 | 7 | export interface Status { 8 | severity: number; 9 | plugin: string; 10 | code: number; 11 | message: string; 12 | trace: string; 13 | ok: boolean; 14 | } 15 | 16 | export interface ServerHandle { 17 | id: string; 18 | type: ServerType; 19 | } 20 | 21 | export interface ServerType { 22 | id: string; 23 | visibleName: string; 24 | description: string; 25 | } -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/util/EqualsUtility.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package org.jboss.tools.rsp.api.dao.util; 7 | 8 | /** 9 | * Utility class for simple implementation of equals methods 10 | * 11 | * @author jrichter 12 | */ 13 | public class EqualsUtility { 14 | 15 | public static boolean areEqual(Object a, Object b){ 16 | return a == null ? b == null : a.equals(b); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ListDeploymentOptionsResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface ListDeploymentOptionsResponse { 2 | attributes: Attributes; 3 | status: Status; 4 | } 5 | 6 | export interface Attributes { 7 | attributes: { [index: string]: Attribute }; 8 | } 9 | 10 | export interface Status { 11 | severity: number; 12 | plugin: string; 13 | code: number; 14 | message: string; 15 | trace: string; 16 | ok: boolean; 17 | } 18 | 19 | export interface Attribute { 20 | type: string; 21 | description: string; 22 | defaultVal: any; 23 | secret: boolean; 24 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/daopackage/Status.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package daopackage; 10 | 11 | public class Status { 12 | } 13 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/Attributes.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "attributes" : { 5 | "type" : "object", 6 | "additionalProperties" : { 7 | "type" : "object", 8 | "properties" : { 9 | "type" : { 10 | "type" : "string" 11 | }, 12 | "description" : { 13 | "type" : "string" 14 | }, 15 | "defaultVal" : { 16 | "type" : "any" 17 | }, 18 | "secret" : { 19 | "type" : "boolean" 20 | } 21 | } 22 | } 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/_jardaopackage/Status.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package _jardaopackage; 10 | 11 | public class Status { 12 | } 13 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/daopackage/Attribute.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package daopackage; 10 | 11 | public class Attribute { 12 | } 13 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.stacks.core/src/main/java/org/jboss/tools/rsp/stacks/core/Messages.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2014 Red Hat, Inc. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # http://www.eclipse.org/legal/epl-v10.html 7 | # 8 | # Contributors: 9 | # Red Hat, Inc. - initial API and implementation 10 | ############################################################################## 11 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.runtime.core/src/main/java/org/jboss/tools/rsp/runtime/core/Messages.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2014 Red Hat, Inc. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # http://www.eclipse.org/legal/epl-v10.html 7 | # 8 | # Contributors: 9 | # Red Hat, Inc. - initial API and implementation 10 | ############################################################################## 11 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/_jardaopackage/Attribute.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package _jardaopackage; 10 | 11 | public class Attribute { 12 | } 13 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/daopackage/ClientCapabilitiesRequest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package daopackage; 10 | 11 | public class ClientCapabilitiesRequest { 12 | } 13 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/daopackage/subpackage1/DiscoveryPath.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package daopackage.subpackage1; 10 | 11 | public class DiscoveryPath { 12 | } 13 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/_jardaopackage/ClientCapabilitiesRequest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package _jardaopackage; 10 | 11 | public class ClientCapabilitiesRequest { 12 | } 13 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.logging/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.jboss.tools.rsp.logging 4 | Bundle-SymbolicName: org.jboss.tools.rsp.logging 5 | Bundle-Version: 0.26.18.qualifier 6 | Bundle-Activator: org.jboss.tools.rsp.logging.LoggingActivator 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 8 | Import-Package: ch.qos.logback.classic, 9 | ch.qos.logback.core.spi, 10 | org.jboss.tools.rsp.eclipse.osgi.util, 11 | org.osgi.framework;version="1.3.0", 12 | org.osgi.service.log, 13 | org.osgi.util.tracker;version="1.5.2", 14 | org.slf4j 15 | Automatic-Module-Name: org.jboss.tools.rsp.logging 16 | Export-Package: org.jboss.tools.rsp.logging 17 | -------------------------------------------------------------------------------- /client/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | parent 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp 13 | client 14 | pom 15 | 16 | 17 | jars 18 | 19 | 20 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.secure.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | tests 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.tests 13 | org.jboss.tools.rsp.secure.test 14 | eclipse-test-plugin 15 | 16 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | tests 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.tests 13 | org.jboss.tools.rsp.server.test 14 | eclipse-test-plugin 15 | 16 | -------------------------------------------------------------------------------- /api/docs/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | api 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.api 13 | docs 14 | pom 15 | 16 | 17 | org.jboss.tools.rsp.schema 18 | 19 | 20 | -------------------------------------------------------------------------------- /distribution/integration-tests/src/test/java/org/jboss/tools/rsp/itests/util/WaitCondition.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.itests.util; 10 | 11 | @FunctionalInterface 12 | public interface WaitCondition { 13 | boolean test(); 14 | } 15 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.launching.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | tests 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.tests 13 | org.jboss.tools.rsp.launching.test 14 | eclipse-test-plugin 15 | 16 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.spi.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | tests 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.tests 13 | org.jboss.tools.rsp.server.spi.test 14 | eclipse-test-plugin 15 | 16 | -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.runtimes 9 | tests 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.runtimes.tests 13 | org.jboss.tools.rsp.server.wildfly.test 14 | eclipse-test-plugin 15 | 16 | -------------------------------------------------------------------------------- /api/bundles/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | api 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.api 13 | bundles 14 | pom 15 | 16 | 17 | org.jboss.tools.rsp.api 18 | 19 | 20 | -------------------------------------------------------------------------------- /api/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | parent 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp 13 | api 14 | pom 15 | 16 | 17 | bundles 18 | docs 19 | 20 | 21 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.launching.java.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | tests 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.tests 13 | org.jboss.tools.rsp.launching.java.test 14 | eclipse-test-plugin 15 | 16 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.runtime.core.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | tests 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.tests 13 | org.jboss.tools.rsp.runtime.core.test 14 | eclipse-test-plugin 15 | 16 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerProcess.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "server" : { 5 | "type" : "object", 6 | "properties" : { 7 | "id" : { 8 | "type" : "string" 9 | }, 10 | "type" : { 11 | "type" : "object", 12 | "properties" : { 13 | "id" : { 14 | "type" : "string" 15 | }, 16 | "visibleName" : { 17 | "type" : "string" 18 | }, 19 | "description" : { 20 | "type" : "string" 21 | } 22 | } 23 | } 24 | } 25 | }, 26 | "processId" : { 27 | "type" : "string" 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /client/jars/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | client 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.client 13 | jars 14 | pom 15 | 16 | 17 | org.jboss.tools.rsp.client.cli 18 | 19 | 20 | -------------------------------------------------------------------------------- /runtimes/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | parent 10 | 0.26.18-SNAPSHOT 11 | 12 | runtimes 13 | org.jboss.tools.rsp 14 | pom 15 | 16 | 17 | bundles 18 | tests 19 | 20 | 21 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/PublishServerRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "server" : { 5 | "type" : "object", 6 | "properties" : { 7 | "id" : { 8 | "type" : "string" 9 | }, 10 | "type" : { 11 | "type" : "object", 12 | "properties" : { 13 | "id" : { 14 | "type" : "string" 15 | }, 16 | "visibleName" : { 17 | "type" : "string" 18 | }, 19 | "description" : { 20 | "type" : "string" 21 | } 22 | } 23 | } 24 | } 25 | }, 26 | "kind" : { 27 | "type" : "integer" 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /framework/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | parent 10 | 0.26.18-SNAPSHOT 11 | 12 | framework 13 | org.jboss.tools.rsp 14 | pom 15 | 16 | 17 | bundles 18 | tests 19 | 20 | 21 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.spi.test/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.jboss.tools.rsp.server.spi.test 4 | Bundle-SymbolicName: org.jboss.tools.rsp.server.spi.test 5 | Automatic-Module-Name: org.jboss.tools.rsp.server.spi.test 6 | Bundle-Version: 0.26.18.qualifier 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 8 | Import-Package: org.osgi.framework, 9 | org.osgi.service.log 10 | Require-Bundle: org.jboss.tools.rsp.api;bundle-version="0.10.0", 11 | org.jboss.tools.rsp.server;bundle-version="0.10.0", 12 | org.jboss.tools.rsp.server.spi;bundle-version="0.10.0", 13 | org.junit, 14 | org.mockito, 15 | org.assertj;bundle-version="1.7.1", 16 | javax.annotation;bundle-version="1.2.0" 17 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/UpdateServerRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "handle" : { 5 | "type" : "object", 6 | "properties" : { 7 | "id" : { 8 | "type" : "string" 9 | }, 10 | "type" : { 11 | "type" : "object", 12 | "properties" : { 13 | "id" : { 14 | "type" : "string" 15 | }, 16 | "visibleName" : { 17 | "type" : "string" 18 | }, 19 | "description" : { 20 | "type" : "string" 21 | } 22 | } 23 | } 24 | } 25 | }, 26 | "serverJson" : { 27 | "type" : "string" 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.generic.test/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | tests 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.tests 13 | org.jboss.tools.rsp.server.generic.test.generic.test 14 | eclipse-test-plugin 15 | 16 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | org.jboss.tools.rsp.framework 7 | bundles 8 | 0.26.18-SNAPSHOT 9 | 10 | org.jboss.tools.rsp.framework.bundles 11 | org.jboss.tools.rsp.server.generic 12 | eclipse-plugin 13 | Runtime Server Protocol : Generic Server Implementation 14 | 15 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.runtime.core.test/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Runtime Core Test 4 | Bundle-SymbolicName: org.jboss.tools.rsp.runtime.core.test 5 | Bundle-Version: 0.26.18.qualifier 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 7 | Automatic-Module-Name: org.jboss.tools.rsp.runtime.core.test 8 | Import-Package: org.osgi.framework 9 | Require-Bundle: org.jboss.tools.rsp.runtime.core;bundle-version="0.11.0", 10 | org.jboss.tools.rsp.api;bundle-version="0.11.0", 11 | org.jboss.tools.rsp.launching;bundle-version="0.11.0", 12 | org.junit;bundle-version="4.8.1", 13 | org.assertj;bundle-version="3.20.2", 14 | javax.annotation;bundle-version="1.2.0", 15 | org.mockito;bundle-version="2.23.0" 16 | -------------------------------------------------------------------------------- /runtimes/tests/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | runtimes 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.runtimes 13 | tests 14 | pom 15 | 16 | 17 | org.jboss.tools.rsp.server.wildfly.test 18 | 19 | 20 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | bundles 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.bundles 13 | org.jboss.tools.rsp.server 14 | eclipse-plugin 15 | 16 | Runtime Server Protocol : Server 17 | 18 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.jboss.tools.rsp.api 4 | Bundle-SymbolicName: org.jboss.tools.rsp.api 5 | Bundle-Version: 0.26.18.qualifier 6 | Automatic-Module-Name: org.jboss.tools.rsp.api 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 8 | Bundle-ClassPath: . 9 | Import-Package: org.osgi.framework, 10 | org.eclipse.lsp4j.jsonrpc, 11 | org.eclipse.lsp4j.jsonrpc.messages, 12 | org.eclipse.lsp4j.jsonrpc.validation, 13 | org.eclipse.lsp4j.jsonrpc.services, 14 | org.eclipse.lsp4j.jsonrpc.json, 15 | org.eclipse.lsp4j.jsonrpc.json.adapters, 16 | com.google.gson 17 | Export-Package: org.jboss.tools.rsp.api, 18 | org.jboss.tools.rsp.api.dao, 19 | org.jboss.tools.rsp.api.dao.util 20 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | bundles 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.bundles 13 | org.jboss.tools.rsp.launching 14 | eclipse-plugin 15 | 16 | Runtime Server Protocol : Launching 17 | 18 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.logging/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | bundles 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.bundles 13 | org.jboss.tools.rsp.logging 14 | eclipse-plugin 15 | 16 | Runtime Server Protocol : Logging 17 | 18 | 19 | -------------------------------------------------------------------------------- /client/jars/org.jboss.tools.rsp.client.cli/src/main/java/org/jboss/tools/rsp/client/bindings/IClientConnectionClosedListener.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.client.bindings; 10 | 11 | public interface IClientConnectionClosedListener { 12 | public void connectionClosed(); 13 | } 14 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.secure/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | bundles 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.bundles 13 | org.jboss.tools.rsp.secure 14 | eclipse-plugin 15 | 16 | Runtime Server Protocol : Secure Storage 17 | 18 | 19 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | bundles 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.bundles 13 | org.jboss.tools.rsp.server.spi 14 | eclipse-plugin 15 | 16 | Runtime Server Protocol : Server SPI 17 | 18 | 19 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/daopackage/CreateServerResponse.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package daopackage; 10 | 11 | import org.jboss.tools.rsp.api.dao.Status; 12 | 13 | public class CreateServerResponse { 14 | 15 | public Status getStatus() { 16 | return null; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching.java/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | bundles 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.bundles 13 | org.jboss.tools.rsp.launching.java 14 | eclipse-plugin 15 | 16 | Runtime Server Protocol : Java Launching 17 | 18 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/test/java/_jardaopackage/CreateServerResponse.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package _jardaopackage; 10 | 11 | import org.jboss.tools.rsp.api.dao.Status; 12 | 13 | public class CreateServerResponse { 14 | 15 | public Status getStatus() { 16 | return null; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/servertype/variables/IValueVariable.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic.servertype.variables; 10 | 11 | public interface IValueVariable { 12 | 13 | String getValue(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.foundation.core/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.framework 9 | bundles 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework.bundles 13 | org.jboss.tools.rsp.foundation.core 14 | eclipse-plugin 15 | 16 | Runtime Server Protocol : Foundation Core 17 | 18 | 19 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerState.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerState { 2 | server: ServerHandle; 3 | state: number; 4 | publishState: number; 5 | runMode: string; 6 | deployableStates: DeployableState[]; 7 | } 8 | 9 | export interface ServerHandle { 10 | id: string; 11 | type: ServerType; 12 | } 13 | 14 | export interface DeployableState { 15 | server: ServerHandle; 16 | reference: DeployableReference; 17 | state: number; 18 | publishState: number; 19 | } 20 | 21 | export interface ServerType { 22 | id: string; 23 | visibleName: string; 24 | description: string; 25 | } 26 | 27 | export interface DeployableReference { 28 | label: string; 29 | path: string; 30 | options?: { [index: string]: any }; 31 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/servertype/variables/IDynamicVariable.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic.servertype.variables; 10 | 11 | public interface IDynamicVariable { 12 | 13 | String getValue(String arg); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/filewatcher/IFileWatcherEventListener.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.filewatcher; 10 | 11 | public interface IFileWatcherEventListener { 12 | public void fileChanged(FileWatcherEvent event); 13 | } 14 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/CreateServerResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "status" : { 5 | "type" : "object", 6 | "properties" : { 7 | "severity" : { 8 | "type" : "integer" 9 | }, 10 | "plugin" : { 11 | "type" : "string" 12 | }, 13 | "code" : { 14 | "type" : "integer" 15 | }, 16 | "message" : { 17 | "type" : "string" 18 | }, 19 | "trace" : { 20 | "type" : "string" 21 | }, 22 | "ok" : { 23 | "type" : "boolean" 24 | } 25 | } 26 | }, 27 | "invalidKeys" : { 28 | "type" : "array", 29 | "items" : { 30 | "type" : "string" 31 | } 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.redhat.download/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp.runtimes 9 | bundles 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.runtimes.bundles 13 | org.jboss.tools.rsp.server.redhat.download 14 | eclipse-plugin 15 | 16 | Runtime Server Protocol : Red Hat Download Manager Support 17 | 18 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/util/Optional.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | 10 | package org.jboss.tools.rsp.api.dao.util; 11 | import java.lang.annotation.Retention; 12 | import java.lang.annotation.RetentionPolicy; 13 | 14 | @Retention(RetentionPolicy.RUNTIME) 15 | public @interface Optional { 16 | } 17 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/servertype/IDeploymentAssemblyMapping.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2023 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.servertype; 10 | 11 | public interface IDeploymentAssemblyMapping { 12 | public String getSource(); 13 | 14 | public String getDeployPath(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/WorkflowResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface WorkflowResponse { 2 | status: Status; 3 | requestId: number; 4 | jobId: string; 5 | items: WorkflowResponseItem[]; 6 | invalidFields: string[]; 7 | } 8 | 9 | export interface Status { 10 | severity: number; 11 | plugin: string; 12 | code: number; 13 | message: string; 14 | trace: string; 15 | ok: boolean; 16 | } 17 | 18 | export interface WorkflowResponseItem { 19 | id: string; 20 | itemType: string; 21 | label: string; 22 | content: string; 23 | prompt: WorkflowPromptDetails; 24 | properties: { [index: string]: string }; 25 | } 26 | 27 | export interface WorkflowPromptDetails { 28 | responseType: string; 29 | responseSecret: boolean; 30 | validResponses: string[]; 31 | } -------------------------------------------------------------------------------- /.github/workflows/gh-actions.yml: -------------------------------------------------------------------------------- 1 | name: RSP CI 2 | 3 | on: 4 | schedule: 5 | - cron: '0 6 * * *' 6 | push: 7 | branches: [master] 8 | pull_request: 9 | branches: [master] 10 | workflow_dispatch: 11 | 12 | 13 | jobs: 14 | test: 15 | runs-on: ${{ matrix.os }} # runs a test on Ubuntu, Windows and macOS 16 | 17 | strategy: 18 | matrix: 19 | os: [ubuntu-latest] 20 | java: ["11"] 21 | fail-fast: false 22 | 23 | steps: 24 | - uses: actions/checkout@v2 25 | - name: Setup Java ${{ matrix.java }} 26 | uses: actions/setup-java@v1 27 | with: 28 | java-version: ${{ matrix.java }} 29 | java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk 30 | architecture: x64 31 | - name: Build & Verify using Maven 32 | run: mvn clean verify -Pintegration-tests -U -fae -e -B 33 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/DownloadRuntimeDescription.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "name" : { 5 | "type" : "string" 6 | }, 7 | "id" : { 8 | "type" : "string" 9 | }, 10 | "version" : { 11 | "type" : "string" 12 | }, 13 | "url" : { 14 | "type" : "string" 15 | }, 16 | "licenseURL" : { 17 | "type" : "string" 18 | }, 19 | "humanUrl" : { 20 | "type" : "string" 21 | }, 22 | "disclaimer" : { 23 | "type" : "boolean" 24 | }, 25 | "properties" : { 26 | "type" : "object", 27 | "additionalProperties" : { 28 | "type" : "string" 29 | } 30 | }, 31 | "size" : { 32 | "type" : "string" 33 | }, 34 | "installationMethod" : { 35 | "type" : "string" 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerCapabilitiesResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "serverCapabilities" : { 5 | "type" : "object", 6 | "additionalProperties" : { 7 | "type" : "string" 8 | } 9 | }, 10 | "clientRegistrationStatus" : { 11 | "type" : "object", 12 | "properties" : { 13 | "severity" : { 14 | "type" : "integer" 15 | }, 16 | "plugin" : { 17 | "type" : "string" 18 | }, 19 | "code" : { 20 | "type" : "integer" 21 | }, 22 | "message" : { 23 | "type" : "string" 24 | }, 25 | "trace" : { 26 | "type" : "string" 27 | }, 28 | "ok" : { 29 | "type" : "boolean" 30 | } 31 | } 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerStartingAttributes.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "initiatePolling" : { 5 | "type" : "boolean" 6 | }, 7 | "request" : { 8 | "type" : "object", 9 | "properties" : { 10 | "mode" : { 11 | "type" : "string" 12 | }, 13 | "params" : { 14 | "type" : "object", 15 | "properties" : { 16 | "serverType" : { 17 | "type" : "string" 18 | }, 19 | "id" : { 20 | "type" : "string" 21 | }, 22 | "attributes" : { 23 | "type" : "object", 24 | "additionalProperties" : { 25 | "type" : "any" 26 | } 27 | } 28 | } 29 | } 30 | } 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.secure/src/main/java/org/jboss/tools/rsp/secure/crypto/CryptoException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.secure.crypto; 10 | 11 | public class CryptoException extends Exception { 12 | 13 | public CryptoException() { 14 | } 15 | 16 | public CryptoException(String message, Throwable throwable) { 17 | super(message, throwable); 18 | } 19 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerProcessOutput.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "server" : { 5 | "type" : "object", 6 | "properties" : { 7 | "id" : { 8 | "type" : "string" 9 | }, 10 | "type" : { 11 | "type" : "object", 12 | "properties" : { 13 | "id" : { 14 | "type" : "string" 15 | }, 16 | "visibleName" : { 17 | "type" : "string" 18 | }, 19 | "description" : { 20 | "type" : "string" 21 | } 22 | } 23 | } 24 | } 25 | }, 26 | "processId" : { 27 | "type" : "string" 28 | }, 29 | "streamType" : { 30 | "type" : "integer" 31 | }, 32 | "text" : { 33 | "type" : "string" 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /runtimes/bundles/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | runtimes 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.runtimes 13 | bundles 14 | pom 15 | 16 | 17 | org.jboss.tools.rsp.server.redhat.download 18 | org.jboss.tools.rsp.server.minishift 19 | org.jboss.tools.rsp.server.wildfly 20 | 21 | 22 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/IStringSubstitutionProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic; 10 | 11 | import org.jboss.tools.rsp.eclipse.core.runtime.CoreException; 12 | 13 | public interface IStringSubstitutionProvider { 14 | 15 | public String applySubstitutions(String input) throws CoreException; 16 | } 17 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/servertype/variables/IStringVariableManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic.servertype.variables; 10 | 11 | public interface IStringVariableManager { 12 | 13 | IValueVariable getValueVariable(String name); 14 | 15 | IDynamicVariable getDynamicVariable(String name); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/UpdateServerResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface UpdateServerResponse { 2 | handle: ServerHandle; 3 | validation: CreateServerResponse; 4 | serverJson: GetServerJsonResponse; 5 | } 6 | 7 | export interface ServerHandle { 8 | id: string; 9 | type: ServerType; 10 | } 11 | 12 | export interface CreateServerResponse { 13 | status: Status; 14 | invalidKeys: string[]; 15 | } 16 | 17 | export interface GetServerJsonResponse { 18 | status: Status; 19 | serverJson: string; 20 | serverHandle: ServerHandle; 21 | } 22 | 23 | export interface ServerType { 24 | id: string; 25 | visibleName: string; 26 | description: string; 27 | } 28 | 29 | export interface Status { 30 | severity: number; 31 | plugin: string; 32 | code: number; 33 | message: string; 34 | trace: string; 35 | ok: boolean; 36 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/publishing/IFullPublishRequiredCallback.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.publishing; 10 | 11 | import org.jboss.tools.rsp.server.spi.filewatcher.FileWatcherEvent; 12 | 13 | public interface IFullPublishRequiredCallback { 14 | 15 | public boolean requiresFullPublish(FileWatcherEvent event); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/JobRemoved.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "status" : { 5 | "type" : "object", 6 | "properties" : { 7 | "severity" : { 8 | "type" : "integer" 9 | }, 10 | "plugin" : { 11 | "type" : "string" 12 | }, 13 | "code" : { 14 | "type" : "integer" 15 | }, 16 | "message" : { 17 | "type" : "string" 18 | }, 19 | "trace" : { 20 | "type" : "string" 21 | }, 22 | "ok" : { 23 | "type" : "boolean" 24 | } 25 | } 26 | }, 27 | "handle" : { 28 | "type" : "object", 29 | "properties" : { 30 | "name" : { 31 | "type" : "string" 32 | }, 33 | "id" : { 34 | "type" : "string" 35 | } 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ListDeployablesResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface ListDeployablesResponse { 2 | states: DeployableState[]; 3 | status: Status; 4 | } 5 | 6 | export interface DeployableState { 7 | server: ServerHandle; 8 | reference: DeployableReference; 9 | state: number; 10 | publishState: number; 11 | } 12 | 13 | export interface Status { 14 | severity: number; 15 | plugin: string; 16 | code: number; 17 | message: string; 18 | trace: string; 19 | ok: boolean; 20 | } 21 | 22 | export interface ServerHandle { 23 | id: string; 24 | type: ServerType; 25 | } 26 | 27 | export interface DeployableReference { 28 | label: string; 29 | path: string; 30 | options?: { [index: string]: any }; 31 | } 32 | 33 | export interface ServerType { 34 | id: string; 35 | visibleName: string; 36 | description: string; 37 | } -------------------------------------------------------------------------------- /client/jars/org.jboss.tools.rsp.client.cli/src/main/java/org/jboss/tools/rsp/client/cli/InputHandler.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.client.cli; 10 | 11 | public interface InputHandler { 12 | public String getPrompt(); 13 | public void setPromptShown(); 14 | public boolean isPromptShown(); 15 | public void handleInput(String line) throws Exception; 16 | public boolean isSecret(); 17 | public boolean isDone(); 18 | } 19 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/discovery/IDiscoveryPathListener.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.discovery; 10 | 11 | import org.jboss.tools.rsp.api.dao.DiscoveryPath; 12 | 13 | public interface IDiscoveryPathListener { 14 | public void discoveryPathAdded(DiscoveryPath path); 15 | 16 | public void discoveryPathRemoved(DiscoveryPath path); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/IServerBehaviorFromJSONProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic; 10 | 11 | import org.jboss.tools.rsp.launching.memento.JSONMemento; 12 | 13 | public interface IServerBehaviorFromJSONProvider { 14 | public IServerBehaviorProvider loadBehaviorFromJSON(String serverTypeId, 15 | JSONMemento behaviorMemento); 16 | } 17 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/servertype/GenericServerAttributes.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic.servertype; 10 | 11 | import org.jboss.tools.rsp.api.DefaultServerAttributes; 12 | 13 | public interface GenericServerAttributes extends DefaultServerAttributes { 14 | 15 | public static final String VM_INSTALL_PATH = "vm.install.path"; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/launchers/IServerStartLauncher.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.launchers; 10 | 11 | import org.jboss.tools.rsp.foundation.core.launchers.IStartLauncher; 12 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 13 | 14 | public interface IServerStartLauncher extends IStartLauncher { 15 | public IServer getServer(); 16 | } 17 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/VMHandle.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class VMHandle { 12 | private String id; 13 | 14 | public VMHandle() { 15 | 16 | } 17 | 18 | public VMHandle(String id) { 19 | this.id = id; 20 | } 21 | 22 | public String getId() { 23 | return id; 24 | } 25 | 26 | public void setId(String id) { 27 | this.id = id; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/launchers/IServerShutdownLauncher.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.launchers; 10 | 11 | import org.jboss.tools.rsp.foundation.core.launchers.IShutdownLauncher; 12 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 13 | 14 | public interface IServerShutdownLauncher extends IShutdownLauncher { 15 | public IServer getServer(); 16 | } 17 | -------------------------------------------------------------------------------- /site/category.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To install these features, point Eclipse at this site. 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/discovery/IServerBeanTypeManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | 10 | package org.jboss.tools.rsp.server.spi.discovery; 11 | 12 | public interface IServerBeanTypeManager { 13 | 14 | public void addTypeProvider(IServerBeanTypeProvider provider); 15 | public void removeTypeProvider(IServerBeanTypeProvider provider); 16 | public ServerBeanType[] getAllRegisteredTypes(); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/WorkflowResponseItem.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "id" : { 5 | "type" : "string" 6 | }, 7 | "itemType" : { 8 | "type" : "string" 9 | }, 10 | "label" : { 11 | "type" : "string" 12 | }, 13 | "content" : { 14 | "type" : "string" 15 | }, 16 | "prompt" : { 17 | "type" : "object", 18 | "properties" : { 19 | "responseType" : { 20 | "type" : "string" 21 | }, 22 | "responseSecret" : { 23 | "type" : "boolean" 24 | }, 25 | "validResponses" : { 26 | "type" : "array", 27 | "items" : { 28 | "type" : "string" 29 | } 30 | } 31 | } 32 | }, 33 | "properties" : { 34 | "type" : "object", 35 | "additionalProperties" : { 36 | "type" : "string" 37 | } 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/model/IDataStoreModel.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.model; 10 | 11 | import java.io.File; 12 | import java.io.IOException; 13 | 14 | public interface IDataStoreModel { 15 | 16 | public File getDataLocation(); 17 | public boolean isInUse(); 18 | public boolean lock() throws IOException; 19 | public boolean unlock() throws IOException; 20 | } 21 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/util/WorkflowUtility.java: -------------------------------------------------------------------------------- 1 | package org.jboss.tools.rsp.server.spi.util; 2 | 3 | import org.jboss.tools.rsp.api.dao.WorkflowResponse; 4 | import org.jboss.tools.rsp.eclipse.core.runtime.IStatus; 5 | import org.jboss.tools.rsp.eclipse.core.runtime.Status; 6 | import org.jboss.tools.rsp.server.spi.SPIActivator; 7 | 8 | public class WorkflowUtility { 9 | 10 | public static WorkflowResponse quickResponse(int sev, String msg, long reqId) { 11 | return quickResponse(sev, msg, reqId, null); 12 | } 13 | public static WorkflowResponse quickResponse(int sev, String msg, long reqId, Throwable t) { 14 | WorkflowResponse resp = new WorkflowResponse(); 15 | IStatus istat = new Status(sev, SPIActivator.BUNDLE_ID, msg, t); 16 | resp.setStatus(StatusConverter.convert(istat)); 17 | if( reqId > 0 ) 18 | resp.setRequestId(reqId); 19 | return resp; 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /distribution/integration-tests/src/test/java/org/jboss/tools/rsp/itests/AllTests.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.itests; 10 | 11 | import org.junit.runner.RunWith; 12 | import org.junit.runners.Suite; 13 | 14 | @RunWith(Suite.class) 15 | @Suite.SuiteClasses({ 16 | // WildFlyDiscoveryTest.class, 17 | // WildFlyServerModelTest.class, 18 | // WildFlyLaunchingTest.class, 19 | // WildFlyPublishingTest.class 20 | }) 21 | public class AllTests { 22 | 23 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.logging/src/main/java/org/jboss/tools/rsp/logging/LoggingConstants.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.logging; 10 | 11 | public interface LoggingConstants { 12 | public static final String SYSPROP_LOG_LEVEL_FLAG = "rsp.log.level"; 13 | 14 | public static final int LOG_ERROR = 1; 15 | public static final int LOG_WARNING = 2; 16 | public static final int LOG_INFO = 3; 17 | public static final int LOG_DEBUG = 4; 18 | } 19 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/servertype/IDeployableResourceDelta.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2023 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.servertype; 10 | 11 | import java.nio.file.Path; 12 | 13 | public interface IDeployableResourceDelta { 14 | public static enum DELTA_TYPE { 15 | CREATED, 16 | MODIFIED, 17 | DELETED, 18 | UNKNOWN 19 | } 20 | public DELTA_TYPE getDeltaType(); 21 | public Path getSourcePath(); 22 | } 23 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.runtime.core/src/main/java/org/jboss/tools/rsp/runtime/core/model/IDownloadRuntimeConnectionFactory.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | 10 | package org.jboss.tools.rsp.runtime.core.model; 11 | 12 | import java.io.InputStream; 13 | import java.net.URL; 14 | 15 | public interface IDownloadRuntimeConnectionFactory { 16 | public InputStream createConnection(URL url, String user, String pass); 17 | public long getContentLength(URL url, String user, String pass); 18 | } 19 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.secure/src/main/java/org/jboss/tools/rsp/secure/crypto/NotInitializedCryptoException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.secure.crypto; 10 | 11 | public class NotInitializedCryptoException extends CryptoException { 12 | /** 13 | * 14 | */ 15 | private static final long serialVersionUID = -6854741565556455098L; 16 | 17 | public NotInitializedCryptoException(String message, Throwable throwable) { 18 | super(message, throwable); 19 | } 20 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.foundation.core/src/main/java/org/jboss/tools/rsp/foundation/core/launchers/IShutdownLauncher.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.foundation.core.launchers; 10 | 11 | import org.jboss.tools.rsp.eclipse.core.runtime.CoreException; 12 | import org.jboss.tools.rsp.eclipse.debug.core.ILaunch; 13 | 14 | public interface IShutdownLauncher { 15 | public ILaunch launch(boolean force) throws CoreException; 16 | 17 | public ILaunch getLaunch(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /client/jars/org.jboss.tools.rsp.client.cli/src/main/java/org/jboss/tools/rsp/client/cli/InputProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.client.cli; 10 | 11 | public interface InputProvider { 12 | 13 | /** 14 | * To be used when your input handler receives a 15 | * request from another thread and does not yet have 16 | * control or is not yet handling a given input string 17 | * 18 | * @param handler 19 | */ 20 | public void addInputRequest(InputHandler handler); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.secure.test/src/main/java/org/jboss/tools/rsp/secure/test/Activator.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.secure.test; 10 | 11 | import org.osgi.framework.BundleActivator; 12 | import org.osgi.framework.BundleContext; 13 | 14 | public class Activator implements BundleActivator { 15 | 16 | public void start(BundleContext bundleContext) throws Exception { 17 | } 18 | 19 | public void stop(BundleContext bundleContext) throws Exception { 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /distribution/distribution/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | WARN 7 | 8 | 9 | %d{HH:mm:ss.SSS} [%.15thread] %-5level %logger{36}:%line - %msg%n 10 | 11 | 12 | 13 | logs/rsp-server.log 14 | false 15 | 16 | INFO 17 | 18 | 19 | %-4relative [%thread] %-5level %logger{35} - %msg%n 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ServerActionWorkflow.d.ts: -------------------------------------------------------------------------------- 1 | export interface ServerActionWorkflow { 2 | actionId: string; 3 | actionLabel: string; 4 | actionWorkflow: WorkflowResponse; 5 | } 6 | 7 | export interface WorkflowResponse { 8 | status: Status; 9 | requestId: number; 10 | jobId: string; 11 | items: WorkflowResponseItem[]; 12 | invalidFields: string[]; 13 | } 14 | 15 | export interface Status { 16 | severity: number; 17 | plugin: string; 18 | code: number; 19 | message: string; 20 | trace: string; 21 | ok: boolean; 22 | } 23 | 24 | export interface WorkflowResponseItem { 25 | id: string; 26 | itemType: string; 27 | label: string; 28 | content: string; 29 | prompt: WorkflowPromptDetails; 30 | properties: { [index: string]: string }; 31 | } 32 | 33 | export interface WorkflowPromptDetails { 34 | responseType: string; 35 | responseSecret: boolean; 36 | validResponses: string[]; 37 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.secure/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.jboss.tools.rsp.secure 4 | Bundle-SymbolicName: org.jboss.tools.rsp.secure 5 | Automatic-Module-Name: org.jboss.tools.rsp.secure 6 | Bundle-Version: 0.26.18.qualifier 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 8 | Bundle-Activator: org.jboss.tools.rsp.secure.SecureActivator 9 | Bundle-ClassPath: . 10 | Import-Package: com.google.gson, 11 | javax.xml.parsers, 12 | javax.xml.transform, 13 | javax.xml.transform.dom, 14 | javax.xml.transform.stream, 15 | javax.crypto, 16 | javax.crypto.spec, 17 | org.jboss.tools.rsp.api, 18 | org.jboss.tools.rsp.api.dao, 19 | org.jboss.tools.rsp.api.dao.util, 20 | org.jboss.tools.rsp.eclipse.osgi.util, 21 | org.osgi.framework, 22 | org.osgi.service.log, 23 | org.slf4j, 24 | org.w3c.dom, 25 | org.xml.sax 26 | Export-Package: org.jboss.tools.rsp.secure, 27 | org.jboss.tools.rsp.secure.crypto, 28 | org.jboss.tools.rsp.secure.model 29 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/IServerBehaviorProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic; 10 | 11 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 12 | import org.jboss.tools.rsp.server.spi.servertype.IServerDelegate; 13 | 14 | /** 15 | * Maybe can be deleted? 16 | * 17 | */ 18 | public interface IServerBehaviorProvider { 19 | public IServerDelegate createServerDelegate(String typeId, IServer server); 20 | } 21 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/model/polling/PollingException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.model.polling; 10 | 11 | public class PollingException extends Exception { 12 | 13 | private static final long serialVersionUID = -7830978018908940551L; 14 | 15 | public PollingException(String message) { 16 | super(message); 17 | } 18 | 19 | public PollingException(String message, Throwable t) { 20 | super(message, t); 21 | } 22 | } -------------------------------------------------------------------------------- /distribution/distribution.minishift/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | WARN 7 | 8 | 9 | %d{HH:mm:ss.SSS} [%.15thread] %-5level %logger{36}:%line - %msg%n 10 | 11 | 12 | 13 | logs/rsp-server.log 14 | false 15 | 16 | INFO 17 | 18 | 19 | %-4relative [%thread] %-5level %logger{35} - %msg%n 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /distribution/distribution.wildfly/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | WARN 7 | 8 | 9 | %d{HH:mm:ss.SSS} [%.15thread] %-5level %logger{36}:%line - %msg%n 10 | 11 | 12 | 13 | logs/rsp-server.log 14 | false 15 | 16 | INFO 17 | 18 | 19 | %-4relative [%thread] %-5level %logger{35} - %msg%n 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.secure/src/main/java/org/jboss/tools/rsp/secure/model/ISecureStorageProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.secure.model; 10 | 11 | public interface ISecureStorageProvider { 12 | public ISecureStorage getSecureStorage(); 13 | 14 | public ISecureStorage getSecureStorage(boolean prompt); 15 | 16 | public boolean currentThreadHasSystemPermissions(); 17 | 18 | public void grantCurrentThreadSystemPermissions(); 19 | 20 | public void revokeCurrentThreadSystemPermissions(); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.stacks.core/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %BundleName 4 | Bundle-Vendor: %BundleVendor 5 | Bundle-SymbolicName: org.jboss.tools.rsp.stacks.core 6 | Bundle-Version: 0.26.18.qualifier 7 | Bundle-Activator: org.jboss.tools.rsp.stacks.core.StacksCoreActivator 8 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 9 | Bundle-ActivationPolicy: lazy 10 | Bundle-ClassPath: ., 11 | lib/httpclient-4.0.1.jar, 12 | lib/jboss-logging-3.1.2.GA.jar, 13 | lib/snakeyaml-1.10.jar, 14 | lib/httpcore-4.0.1.jar, 15 | lib/stacks-client-1.0.3.Final.jar 16 | Export-Package: org.jboss.jdf.stacks.model, 17 | org.jboss.jdf.stacks.parser, 18 | org.jboss.tools.rsp.stacks.core.model 19 | Bundle-Localization: plugin 20 | Import-Package: org.jboss.tools.rsp.eclipse.core.runtime, 21 | org.jboss.tools.rsp.eclipse.osgi.util, 22 | org.jboss.tools.rsp.foundation.core.transport, 23 | org.jboss.tools.rsp.launching, 24 | org.osgi.framework;version="1.9.0", 25 | org.slf4j;version="1.7.10" 26 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/discovery/IServerBeanTypeProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.discovery; 10 | 11 | /** 12 | * This is a provider of server bean types, in order, 13 | * that should be queried as to whether a given folder 14 | * is of that type of server. 15 | */ 16 | public interface IServerBeanTypeProvider { 17 | /** 18 | * Return the list of server bean types 19 | * @return 20 | */ 21 | public ServerBeanType[] getServerBeanTypes(); 22 | } 23 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/servertype/IDeployableDelta.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.servertype; 10 | 11 | import java.nio.file.Path; 12 | import java.util.Map; 13 | 14 | public interface IDeployableDelta { 15 | /** 16 | * Returns a map of changed resources within this deployable. 17 | * The key is a relative path to the deployment's source directory. 18 | * @return 19 | */ 20 | public Map getResourceDeltaMap(); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.runtime.core/src/main/java/org/jboss/tools/rsp/runtime/core/extract/IOverwrite.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2009 - 2013 Red Hat, Inc. 3 | * Distributed under license by Red Hat, Inc. All rights reserved. 4 | * This program is made available under the terms of the 5 | * Eclipse Public License v2.0 which accompanies this distribution, 6 | * and is available at http://www.eclipse.org/legal/epl-v20.html 7 | * 8 | * Contributor: 9 | * Red Hat, Inc. - initial API and implementation 10 | ******************************************************************************/ 11 | package org.jboss.tools.rsp.runtime.core.extract; 12 | 13 | import java.io.File; 14 | 15 | public interface IOverwrite { 16 | 17 | public static final int YES = 0; 18 | public static final int ALL = 1; 19 | public static final int NO = 2; 20 | public static final int NO_ALL = 3; 21 | public static final int CANCEL = 4; 22 | 23 | int overwrite(File file); 24 | } 25 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/ListDownloadRuntimeResponse.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | import java.util.List; 12 | 13 | public class ListDownloadRuntimeResponse { 14 | private List runtimes; 15 | public ListDownloadRuntimeResponse() { 16 | super(); 17 | } 18 | public List getRuntimes() { 19 | return runtimes; 20 | } 21 | public void setRuntimes(List runtimes) { 22 | this.runtimes = runtimes; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/src/main/java/org/jboss/tools/rsp/server/core/internal/ServerStringConstants.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.core.internal; 10 | 11 | public class ServerStringConstants { 12 | public static final String SERVER_DNE = "Server {0} does not exist"; 13 | public static final String UNEXPECTED_ERROR = "An unexpected error has occurred."; 14 | public static final String UNEXPECTED_ERROR_DELEGATE = 15 | "An unexpected error has occurred: Server {0} has no delegate."; 16 | private ServerStringConstants() { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/java/org/jboss/tools/rsp/server/wildfly/servertype/launch/JBossEAP60LaunchArgs.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.wildfly.servertype.launch; 10 | 11 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 12 | 13 | public class JBossEAP60LaunchArgs extends JBoss71DefaultLaunchArguments { 14 | 15 | public JBossEAP60LaunchArgs(IServer rt) { 16 | super(rt); 17 | } 18 | 19 | @Override 20 | protected String getMemoryArgs() { 21 | return "-Xms1303m -Xmx1303m -XX:MaxPermSize=256m "; //$NON-NLS-1$ 22 | } 23 | } -------------------------------------------------------------------------------- /distribution/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | parent 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp 13 | distribution 14 | Runtime Server Protocol : Distribution Parent 15 | pom 16 | 17 | 18 | ${project.groupId}-${project.version} 19 | 20 | 21 | 22 | distribution 23 | distribution.wildfly 24 | distribution.minishift 25 | integration-tests 26 | 27 | 28 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/filewatcher/IFileWatcherService.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.filewatcher; 10 | 11 | import java.nio.file.Path; 12 | 13 | public interface IFileWatcherService { 14 | 15 | public void start() throws IllegalStateException; 16 | 17 | public void stop(); 18 | 19 | public void addFileWatcherListener(Path path, 20 | IFileWatcherEventListener listener, boolean recursive); 21 | 22 | public void removeFileWatcherListener(Path path, IFileWatcherEventListener listener); 23 | } 24 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/src/main/java/org/jboss/tools/rsp/launching/utils/LaunchingDebugProperties.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.launching.utils; 10 | 11 | public class LaunchingDebugProperties { 12 | /* 13 | * Debugging details: keys 14 | */ 15 | public static final String DEBUG_DETAILS_HOST = "debug.details.host"; 16 | 17 | public static final String DEBUG_DETAILS_PORT = "debug.details.port"; 18 | 19 | public static final String DEBUG_DETAILS_TYPE = "debug.details.type"; 20 | 21 | public static final String DEBUG_DETAILS_TYPE_JAVA = "java"; 22 | 23 | } -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/ClientCapabilitiesRequest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | import java.util.Map; 12 | 13 | public class ClientCapabilitiesRequest { 14 | 15 | private Map map; 16 | 17 | public ClientCapabilitiesRequest() { 18 | } 19 | 20 | public ClientCapabilitiesRequest(Map map) { 21 | this.map = map; 22 | } 23 | 24 | public Map getMap() { 25 | return map; 26 | } 27 | 28 | public void setMap(Map map) { 29 | this.map = map; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/model/polling/RequiresInfoException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.model.polling; 10 | 11 | public class RequiresInfoException extends Exception { 12 | 13 | private static final long serialVersionUID = 5050044329807740335L; 14 | private boolean checked = false; 15 | 16 | public RequiresInfoException(String msg) { 17 | super(msg); 18 | } 19 | 20 | public void setChecked() { 21 | this.checked = true; 22 | } 23 | 24 | public boolean getChecked() { 25 | return this.checked; 26 | } 27 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.foundation.core/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.jboss.tools.rsp.foundation.core 4 | Bundle-SymbolicName: org.jboss.tools.rsp.foundation.core 5 | Bundle-Version: 0.26.18.qualifier 6 | Bundle-Activator: org.jboss.tools.rsp.foundation.core.FoundationCoreActivator 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 8 | Import-Package: org.jboss.tools.rsp.api.dao, 9 | org.jboss.tools.rsp.eclipse.core.runtime, 10 | org.jboss.tools.rsp.eclipse.debug.core, 11 | org.jboss.tools.rsp.eclipse.debug.core.model, 12 | org.jboss.tools.rsp.eclipse.jdt.launching, 13 | org.jboss.tools.rsp.eclipse.osgi.util, 14 | org.jboss.tools.rsp.foundation.core, 15 | org.jboss.tools.rsp.launching.utils, 16 | org.osgi.framework;version="1.9.0", 17 | org.slf4j;version="1.7.10" 18 | Automatic-Module-Name: org.jboss.tools.rsp.foundation.core 19 | Export-Package: org.jboss.tools.rsp.foundation.core, 20 | org.jboss.tools.rsp.foundation.core.launchers, 21 | org.jboss.tools.rsp.foundation.core.tasks, 22 | org.jboss.tools.rsp.foundation.core.transport 23 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/JobHandle.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class JobHandle { 12 | private String name; 13 | private String id; 14 | public JobHandle() { 15 | 16 | } 17 | public JobHandle(String name, String id) { 18 | this.name = name; 19 | this.id = id; 20 | } 21 | public String getName() { 22 | return name; 23 | } 24 | public void setName(String name) { 25 | this.name = name; 26 | } 27 | public String getId() { 28 | return id; 29 | } 30 | public void setId(String id) { 31 | this.id = id; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ServerDeployableReference.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "server" : { 5 | "type" : "object", 6 | "properties" : { 7 | "id" : { 8 | "type" : "string" 9 | }, 10 | "type" : { 11 | "type" : "object", 12 | "properties" : { 13 | "id" : { 14 | "type" : "string" 15 | }, 16 | "visibleName" : { 17 | "type" : "string" 18 | }, 19 | "description" : { 20 | "type" : "string" 21 | } 22 | } 23 | } 24 | } 25 | }, 26 | "deployableReference" : { 27 | "type" : "object", 28 | "properties" : { 29 | "label" : { 30 | "type" : "string" 31 | }, 32 | "path" : { 33 | "type" : "string" 34 | }, 35 | "options" : { 36 | "type" : "object", 37 | "additionalProperties" : { 38 | "type" : "any" 39 | } 40 | } 41 | } 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.launching/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.jboss.tools.rsp.launching 4 | Bundle-SymbolicName: org.jboss.tools.rsp.launching 5 | Automatic-Module-Name: org.jboss.tools.rsp.launching 6 | Bundle-Version: 0.26.18.qualifier 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 8 | Bundle-Activator: org.jboss.tools.rsp.launching.internal.LaunchingActivator 9 | Bundle-ClassPath: . 10 | Import-Package: com.google.gson, 11 | javax.xml.parsers, 12 | javax.xml.transform, 13 | javax.xml.transform.dom, 14 | javax.xml.transform.stream, 15 | org.osgi.framework, 16 | org.osgi.service.log, 17 | org.slf4j, 18 | org.w3c.dom, 19 | org.xml.sax 20 | Export-Package: org.jboss.tools.rsp.eclipse.core.runtime, 21 | org.jboss.tools.rsp.eclipse.debug.core, 22 | org.jboss.tools.rsp.eclipse.debug.core.model, 23 | org.jboss.tools.rsp.eclipse.osgi.util, 24 | org.jboss.tools.rsp.launching, 25 | org.jboss.tools.rsp.launching.internal;x-friends:="org.jboss.tools.rsp.server.test", 26 | org.jboss.tools.rsp.launching.memento, 27 | org.jboss.tools.rsp.launching.utils 28 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.test/src/main/java/org/jboss/tools/rsp/server/util/TestServerDelegate.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018-2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.util; 10 | 11 | import org.jboss.tools.rsp.api.dao.ServerState; 12 | import org.jboss.tools.rsp.server.model.AbstractServerDelegate; 13 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 14 | 15 | public class TestServerDelegate extends AbstractServerDelegate { 16 | 17 | public TestServerDelegate(IServer server) { 18 | super(server); 19 | } 20 | 21 | @Override 22 | protected void fireStateChanged(ServerState state) { 23 | // Do nothing 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /framework/tests/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | framework 10 | 0.26.18-SNAPSHOT 11 | 12 | org.jboss.tools.rsp.framework 13 | tests 14 | pom 15 | 16 | 17 | org.jboss.tools.rsp.launching.test 18 | org.jboss.tools.rsp.launching.java.test 19 | org.jboss.tools.rsp.runtime.core.test 20 | org.jboss.tools.rsp.secure.test 21 | org.jboss.tools.rsp.server.test 22 | org.jboss.tools.rsp.server.spi.test 23 | org.jboss.tools.rsp.server.generic.test 24 | 25 | 26 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/filewatcher/FileWatcherEvent.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.filewatcher; 10 | 11 | import java.nio.file.Path; 12 | import java.nio.file.WatchEvent; 13 | 14 | public class FileWatcherEvent { 15 | private Path path; 16 | private WatchEvent.Kind kind; 17 | 18 | public FileWatcherEvent(Path path, WatchEvent.Kind kind) { 19 | this.path = path; 20 | this.kind = kind; 21 | } 22 | 23 | public Path getPath() { 24 | return path; 25 | } 26 | 27 | public WatchEvent.Kind getKind() { 28 | return kind; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/typescript/ListServerActionResponse.d.ts: -------------------------------------------------------------------------------- 1 | export interface ListServerActionResponse { 2 | workflows: ServerActionWorkflow[]; 3 | status: Status; 4 | } 5 | 6 | export interface ServerActionWorkflow { 7 | actionId: string; 8 | actionLabel: string; 9 | actionWorkflow: WorkflowResponse; 10 | } 11 | 12 | export interface Status { 13 | severity: number; 14 | plugin: string; 15 | code: number; 16 | message: string; 17 | trace: string; 18 | ok: boolean; 19 | } 20 | 21 | export interface WorkflowResponse { 22 | status: Status; 23 | requestId: number; 24 | jobId: string; 25 | items: WorkflowResponseItem[]; 26 | invalidFields: string[]; 27 | } 28 | 29 | export interface WorkflowResponseItem { 30 | id: string; 31 | itemType: string; 32 | label: string; 33 | content: string; 34 | prompt: WorkflowPromptDetails; 35 | properties: { [index: string]: string }; 36 | } 37 | 38 | export interface WorkflowPromptDetails { 39 | responseType: string; 40 | responseSecret: boolean; 41 | validResponses: string[]; 42 | } -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/java/org/jboss/tools/rsp/server/wildfly/servertype/launch/JBoss5xDefaultLaunchArguments.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Red Hat, Inc. 3 | * Distributed under license by Red Hat, Inc. All rights reserved. 4 | * This program is made available under the terms of the 5 | * Eclipse Public License v2.0 which accompanies this distribution, 6 | * and is available at http://www.eclipse.org/legal/epl-v20.html 7 | * 8 | * Contributors: 9 | * Red Hat, Inc. - initial API and implementation 10 | ******************************************************************************/ 11 | package org.jboss.tools.rsp.server.wildfly.servertype.launch; 12 | 13 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 14 | 15 | public class JBoss5xDefaultLaunchArguments extends JBossDefaultLaunchArguments { 16 | 17 | public JBoss5xDefaultLaunchArguments(IServer server) { 18 | super(server); 19 | } 20 | 21 | @Override 22 | protected String getMemoryArgs() { 23 | return DEFAULT_MEM_ARGS_AS50; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.runtime.core/src/main/java/org/jboss/tools/rsp/runtime/core/Messages.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2007 Red Hat, Inc. 3 | * Distributed under license by Red Hat, Inc. All rights reserved. 4 | * This program is made available under the terms of the 5 | * Eclipse Public License v2.0 which accompanies this distribution, 6 | * and is available at http://www.eclipse.org/legal/epl-v20.html 7 | * 8 | * Contributors: 9 | * Red Hat, Inc. - initial API and implementation 10 | ******************************************************************************/ 11 | package org.jboss.tools.rsp.runtime.core; 12 | 13 | import org.jboss.tools.rsp.eclipse.osgi.util.NLS; 14 | 15 | public class Messages extends NLS { 16 | public static final String DownloadRuntime_Unable_to_fetch_license="Unable to fetch license for {0}"; 17 | public static final String JBossRuntimeLocator_Searching="Searching"; 18 | public static final String RuntimeExtensionManager_Invalid_runtime="Invalid runtime: id={0}, name={1}, version={2}, url={3}"; 19 | 20 | private Messages() { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.foundation.core/src/main/java/org/jboss/tools/rsp/foundation/core/launchers/IStartLauncher.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.foundation.core.launchers; 10 | 11 | import org.jboss.tools.rsp.api.dao.CommandLineDetails; 12 | import org.jboss.tools.rsp.eclipse.core.runtime.CoreException; 13 | import org.jboss.tools.rsp.eclipse.debug.core.ILaunch; 14 | 15 | public interface IStartLauncher { 16 | public ILaunch launch(String mode) throws CoreException; 17 | 18 | public CommandLineDetails getLaunchedDetails(); 19 | 20 | public CommandLineDetails getLaunchCommand(String mode) throws CoreException; 21 | 22 | public ILaunch getLaunch(); 23 | } 24 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.launching.java.test/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-SymbolicName: org.jboss.tools.rsp.launching.java.test 4 | Automatic-Module-Name: org.jboss.tools.rsp.launching.java.test 5 | Bundle-Version: 0.26.18.qualifier 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 7 | Bundle-ClassPath: . 8 | Import-Package: com.google.gson, 9 | javax.xml.parsers, 10 | org.assertj.core.api, 11 | org.jboss.tools.rsp.api, 12 | org.jboss.tools.rsp.api.dao, 13 | org.jboss.tools.rsp.api.dao.util, 14 | org.jboss.tools.rsp.eclipse.core.runtime, 15 | org.jboss.tools.rsp.eclipse.debug.core, 16 | org.jboss.tools.rsp.eclipse.debug.core.model, 17 | org.jboss.tools.rsp.eclipse.osgi.util, 18 | org.jboss.tools.rsp.launching, 19 | org.jboss.tools.rsp.launching.utils, 20 | org.osgi.framework, 21 | org.osgi.service.log, 22 | org.xml.sax 23 | Require-Bundle: org.jboss.tools.rsp.api;bundle-version="0.0.9", 24 | org.jboss.tools.rsp.launching;bundle-version="0.0.9", 25 | org.jboss.tools.rsp.launching.java;bundle-version="0.0.9", 26 | org.junit, 27 | org.mockito, 28 | org.hamcrest.core, 29 | javax.annotation;bundle-version="1.2.0" 30 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/IPublishControllerWithOptions.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic; 10 | 11 | import org.jboss.tools.rsp.api.dao.Attributes; 12 | import org.jboss.tools.rsp.server.spi.publishing.IPublishController; 13 | 14 | /** 15 | * This interface shouldn't really exist. The listDeploymentOptions 16 | * method should rightly belong in IPublishController, but until 17 | * such change is made, we need to use this enhanced interface. 18 | * 19 | */ 20 | public interface IPublishControllerWithOptions extends IPublishController { 21 | public Attributes listDeploymentOptions(); 22 | } 23 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/java/org/jboss/tools/rsp/server/wildfly/servertype/launch/Wildfly110DefaultLaunchArguments.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2007 - 2019 Red Hat, Inc. 3 | * Distributed under license by Red Hat, Inc. All rights reserved. 4 | * This program is made available under the terms of the 5 | * Eclipse Public License v2.0 which accompanies this distribution, 6 | * and is available at http://www.eclipse.org/legal/epl-v20.html 7 | * 8 | * Contributors: 9 | * Red Hat, Inc. - initial API and implementation 10 | ******************************************************************************/ 11 | package org.jboss.tools.rsp.server.wildfly.servertype.launch; 12 | 13 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 14 | 15 | public class Wildfly110DefaultLaunchArguments extends Wildfly100DefaultLaunchArguments { 16 | public Wildfly110DefaultLaunchArguments(IServer s) { 17 | super(s); 18 | } 19 | 20 | @Override 21 | public String getStartDefaultVMArgs() { 22 | return super.getStartDefaultVMArgs() 23 | + getJava9VMArgs(); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/UpdateServerRequest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class UpdateServerRequest { 12 | private ServerHandle handle; 13 | private String serverJson; 14 | 15 | public UpdateServerRequest() { 16 | // 0-arg constructor required 17 | } 18 | 19 | public ServerHandle getHandle() { 20 | return handle; 21 | } 22 | 23 | public void setHandle(ServerHandle handle) { 24 | this.handle = handle; 25 | } 26 | 27 | public String getServerJson() { 28 | return serverJson; 29 | } 30 | 31 | public void setServerJson(String serverJson) { 32 | this.serverJson = serverJson; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.runtime.core/src/main/java/org/jboss/tools/rsp/runtime/core/model/IDownloadRuntimeRunner.java: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. and others. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v2.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v20.html 7 | * 8 | * Contributors: 9 | * JBoss by Red Hat - Initial implementation. 10 | ************************************************************************************/ 11 | package org.jboss.tools.rsp.runtime.core.model; 12 | 13 | import org.jboss.tools.rsp.api.dao.DownloadSingleRuntimeRequest; 14 | import org.jboss.tools.rsp.api.dao.WorkflowResponse; 15 | 16 | public interface IDownloadRuntimeRunner { 17 | 18 | /** 19 | * Begin the workflow of downloading DownloadRuntime objects 20 | * based on the properties in the given map. 21 | * 22 | * @param req 23 | * @return 24 | */ 25 | public WorkflowResponse execute(DownloadSingleRuntimeRequest req); 26 | } 27 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/java/org/jboss/tools/rsp/server/wildfly/servertype/launch/JBossEAP72DefaultLaunchArguments.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2007 - 2013 Red Hat, Inc. 3 | * Distributed under license by Red Hat, Inc. All rights reserved. 4 | * This program is made available under the terms of the 5 | * Eclipse Public License v2.0 which accompanies this distribution, 6 | * and is available at http://www.eclipse.org/legal/epl-v20.html 7 | * 8 | * Contributors: 9 | * Red Hat, Inc. - initial API and implementation 10 | ******************************************************************************/ 11 | package org.jboss.tools.rsp.server.wildfly.servertype.launch; 12 | 13 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 14 | 15 | public class JBossEAP72DefaultLaunchArguments extends JBossEAP70DefaultLaunchArguments { 16 | 17 | public JBossEAP72DefaultLaunchArguments(IServer s) { 18 | super(s); 19 | } 20 | 21 | @Override 22 | public String getStartDefaultVMArgs() { 23 | return super.getStartDefaultVMArgs() 24 | + getJava9VMArgs(); 25 | } 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/StopServerAttributes.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class StopServerAttributes { 12 | private String id; 13 | private boolean force; 14 | 15 | public StopServerAttributes() { 16 | 17 | } 18 | 19 | public StopServerAttributes(String id, boolean force) { 20 | this.id = id; 21 | this.force = force; 22 | } 23 | 24 | public String getId() { 25 | return id; 26 | } 27 | 28 | public void setId(String id) { 29 | this.id = id; 30 | } 31 | 32 | public boolean isForce() { 33 | return force; 34 | } 35 | 36 | public void setForce(boolean force) { 37 | this.force = force; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/JobRemoved.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class JobRemoved { 12 | private Status status; 13 | private JobHandle handle; 14 | 15 | public JobRemoved() { 16 | 17 | } 18 | public JobRemoved( JobHandle handle, Status status) { 19 | this.handle = handle; 20 | this.status = status; 21 | } 22 | 23 | public JobHandle getHandle() { 24 | return handle; 25 | } 26 | 27 | public void setHandle(JobHandle handle) { 28 | this.handle = handle; 29 | } 30 | 31 | public Status getStatus() { 32 | return status; 33 | } 34 | 35 | public void setStatus(Status status) { 36 | this.status = status; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.runtime.core/src/main/java/org/jboss/tools/rsp/runtime/core/model/IDownloadRuntimeFilter.java: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | * Copyright (c) 2013 Red Hat, Inc. and others. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v2.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v20.html 7 | * 8 | * Contributors: 9 | * JBoss by Red Hat - Initial implementation. 10 | ************************************************************************************/ 11 | package org.jboss.tools.rsp.runtime.core.model; 12 | 13 | /** 14 | * A filter for DownloadRuntime objects 15 | */ 16 | public interface IDownloadRuntimeFilter { 17 | /** 18 | * Does this filter accept the given DownloadRuntime? 19 | * @param runtime 20 | * @return 21 | */ 22 | public boolean accepts(DownloadRuntime runtime); 23 | 24 | /** 25 | * Return a filtered array from the provided array 26 | * @param runtime 27 | * @return 28 | */ 29 | public DownloadRuntime[] filter(DownloadRuntime[] runtime); 30 | } 31 | -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/DeployableState.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "server" : { 5 | "type" : "object", 6 | "properties" : { 7 | "id" : { 8 | "type" : "string" 9 | }, 10 | "type" : { 11 | "type" : "object", 12 | "properties" : { 13 | "id" : { 14 | "type" : "string" 15 | }, 16 | "visibleName" : { 17 | "type" : "string" 18 | }, 19 | "description" : { 20 | "type" : "string" 21 | } 22 | } 23 | } 24 | } 25 | }, 26 | "reference" : { 27 | "type" : "object", 28 | "properties" : { 29 | "label" : { 30 | "type" : "string" 31 | }, 32 | "path" : { 33 | "type" : "string" 34 | }, 35 | "options" : { 36 | "type" : "object", 37 | "additionalProperties" : { 38 | "type" : "any" 39 | } 40 | } 41 | } 42 | }, 43 | "state" : { 44 | "type" : "integer" 45 | }, 46 | "publishState" : { 47 | "type" : "integer" 48 | } 49 | } 50 | } -------------------------------------------------------------------------------- /api/docs/org.jboss.tools.rsp.schema/src/main/resources/schema/json/ListDownloadRuntimeResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "type" : "object", 3 | "properties" : { 4 | "runtimes" : { 5 | "type" : "array", 6 | "items" : { 7 | "type" : "object", 8 | "properties" : { 9 | "name" : { 10 | "type" : "string" 11 | }, 12 | "id" : { 13 | "type" : "string" 14 | }, 15 | "version" : { 16 | "type" : "string" 17 | }, 18 | "url" : { 19 | "type" : "string" 20 | }, 21 | "licenseURL" : { 22 | "type" : "string" 23 | }, 24 | "humanUrl" : { 25 | "type" : "string" 26 | }, 27 | "disclaimer" : { 28 | "type" : "boolean" 29 | }, 30 | "properties" : { 31 | "type" : "object", 32 | "additionalProperties" : { 33 | "type" : "string" 34 | } 35 | }, 36 | "size" : { 37 | "type" : "string" 38 | }, 39 | "installationMethod" : { 40 | "type" : "string" 41 | } 42 | } 43 | } 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.generic/src/main/java/org/jboss/tools/rsp/server/generic/discovery/GenericServerBeanTypeProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.generic.discovery; 10 | 11 | import org.jboss.tools.rsp.server.spi.discovery.IServerBeanTypeProvider; 12 | import org.jboss.tools.rsp.server.spi.discovery.ServerBeanType; 13 | 14 | public class GenericServerBeanTypeProvider implements IServerBeanTypeProvider{ 15 | private ServerBeanType[] serverBeanTypes; 16 | public GenericServerBeanTypeProvider(ServerBeanType[] allTypes) { 17 | this.serverBeanTypes = allTypes; 18 | } 19 | 20 | @Override 21 | public ServerBeanType[] getServerBeanTypes() { 22 | return serverBeanTypes; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.test/src/main/java/org/jboss/tools/rsp/server/ServerTestActivator.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | 10 | package org.jboss.tools.rsp.server; 11 | 12 | import org.osgi.framework.BundleActivator; 13 | import org.osgi.framework.BundleContext; 14 | 15 | public class ServerTestActivator implements BundleActivator { 16 | private static BundleContext myContext; 17 | public static BundleContext getContext() { 18 | return myContext; 19 | } 20 | 21 | @Override 22 | public void start(BundleContext context) throws Exception { 23 | myContext = context; 24 | } 25 | 26 | @Override 27 | public void stop(BundleContext context) throws Exception { 28 | // TODO Auto-generated method stub 29 | 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/JobProgress.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class JobProgress { 12 | private double percent; 13 | private JobHandle handle; 14 | 15 | public JobProgress() { 16 | 17 | } 18 | public JobProgress( JobHandle handle, double percent) { 19 | this.handle = handle; 20 | this.percent = percent; 21 | } 22 | 23 | public double getPercent() { 24 | return percent; 25 | } 26 | 27 | public void setPercent(double percent) { 28 | this.percent = percent; 29 | } 30 | 31 | public JobHandle getHandle() { 32 | return handle; 33 | } 34 | 35 | public void setHandle(JobHandle handle) { 36 | this.handle = handle; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server/src/main/java/org/jboss/tools/rsp/server/model/internal/publishing/DeploymentAssemblyMapping.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2023 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.model.internal.publishing; 10 | 11 | import org.jboss.tools.rsp.server.spi.servertype.IDeploymentAssemblyMapping; 12 | 13 | public class DeploymentAssemblyMapping implements IDeploymentAssemblyMapping { 14 | private String deployPath; 15 | private String source; 16 | 17 | public DeploymentAssemblyMapping(String source, String deployPath) { 18 | this.source = source; 19 | this.deployPath = deployPath; 20 | } 21 | 22 | public String getSource() { 23 | return source; 24 | } 25 | 26 | public String getDeployPath() { 27 | return deployPath; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/java/org/jboss/tools/rsp/server/wildfly/servertype/impl/JBossASServerType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.wildfly.servertype.impl; 10 | 11 | import org.jboss.tools.rsp.server.spi.servertype.IServer; 12 | import org.jboss.tools.rsp.server.spi.servertype.IServerDelegate; 13 | import org.jboss.tools.rsp.server.wildfly.servertype.BaseJBossServerType; 14 | 15 | public class JBossASServerType extends BaseJBossServerType { 16 | public JBossASServerType(String id, String name, String desc) { 17 | super(id, name, desc); 18 | } 19 | 20 | @Override 21 | public IServerDelegate createServerDelegateImpl(IServer server) { 22 | return new JBossASServerDelegate(server); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/LaunchParameters.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class LaunchParameters { 12 | private String mode; 13 | private ServerAttributes params; 14 | 15 | public LaunchParameters() { 16 | 17 | } 18 | 19 | public LaunchParameters(ServerAttributes params, String mode) { 20 | this.mode = mode; 21 | this.params = params; 22 | } 23 | 24 | public String getMode() { 25 | return mode; 26 | } 27 | 28 | public void setMode(String mode) { 29 | this.mode = mode; 30 | } 31 | 32 | public ServerAttributes getParams() { 33 | return params; 34 | } 35 | 36 | public void setParams(ServerAttributes params) { 37 | this.params = params; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/ListServerActionResponse.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | import java.util.List; 12 | 13 | public class ListServerActionResponse { 14 | private List workflows; 15 | private Status status; 16 | 17 | public ListServerActionResponse() { 18 | // Do nothing 19 | } 20 | 21 | public Status getStatus() { 22 | return status; 23 | } 24 | 25 | public void setStatus(Status status) { 26 | this.status = status; 27 | } 28 | 29 | public List getWorkflows() { 30 | return workflows; 31 | } 32 | 33 | public void setWorkflows(List workflows) { 34 | this.workflows = workflows; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/jobs/IJob.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.jobs; 10 | 11 | import org.jboss.tools.rsp.eclipse.core.runtime.IStatus; 12 | 13 | public interface IJob { 14 | 15 | /** 16 | * Get a name for this job 17 | * @return 18 | */ 19 | public String getName(); 20 | 21 | /** 22 | * Get the id of this job 23 | * @return 24 | */ 25 | public String getId(); 26 | 27 | /** 28 | * Return a double between 0 and 100 indicating the progress thus far, 29 | * or -1 if unknown 30 | * @return 31 | */ 32 | public double getProgress(); 33 | 34 | /** 35 | * Cancel the current job 36 | * @return 37 | */ 38 | public IStatus cancel(); 39 | } 40 | -------------------------------------------------------------------------------- /framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/model/ICapabilityManagement.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.spi.model; 10 | 11 | import java.util.Map; 12 | 13 | import org.jboss.tools.rsp.api.RSPClient; 14 | import org.jboss.tools.rsp.api.dao.ClientCapabilitiesRequest; 15 | import org.jboss.tools.rsp.eclipse.core.runtime.IStatus; 16 | 17 | public interface ICapabilityManagement { 18 | public void clientAdded(RSPClient client); 19 | public void clientRemoved(RSPClient client); 20 | public String getCapabilityProperty(RSPClient c, String key); 21 | public IStatus registerClientCapabilities(RSPClient c, ClientCapabilitiesRequest response); 22 | public Map getServerCapabilities(); 23 | } 24 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/java/org/jboss/tools/rsp/server/wildfly/beans/impl/ServerBeanTypeSOA6.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Red Hat, Inc. 3 | * Distributed under license by Red Hat, Inc. All rights reserved. 4 | * This program is made available under the terms of the 5 | * Eclipse Public License v2.0 which accompanies this distribution, 6 | * and is available at http://www.eclipse.org/legal/epl-v20.html 7 | * 8 | * Contributors: 9 | * Red Hat, Inc. - initial API and implementation 10 | ******************************************************************************/ 11 | package org.jboss.tools.rsp.server.wildfly.beans.impl; 12 | 13 | import java.io.File; 14 | 15 | public class ServerBeanTypeSOA6 extends ServerBeanTypeUnknownAS71Product { 16 | public ServerBeanTypeSOA6() { 17 | super("SOA", "JBoss Enterprise SOA Platform", AS7_MODULE_LAYERED_SERVER_MAIN); 18 | } 19 | public String getServerAdapterTypeId(String version) { 20 | return IServerConstants.SERVER_EAP_61; 21 | } 22 | @Override 23 | public boolean isServerRoot(File location) { 24 | return "soa".equals(getSlot(location)) && super.isServerRoot(location); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.wildfly/src/main/java/org/jboss/tools/rsp/server/wildfly/servertype/IEapXpServerAttributes.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2022 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.wildfly.servertype; 10 | 11 | import org.jboss.tools.rsp.api.DefaultServerAttributes; 12 | 13 | public interface IEapXpServerAttributes { 14 | /* 15 | * Required attributes 16 | */ 17 | public static final String PROJECT_HOME = DefaultServerAttributes.SERVER_HOME_DIR; 18 | public static final String VM_INSTALL_PATH = "vm.install.path"; 19 | public static final String MAVEN_BIN = "maven.install.path.binary"; 20 | // JAVA_HOME=/home/rob/apps/java/java11/jdk-11.0.13/ mvn -Pbootable-jar wildfly-jar:dev-watch -Dwildfly.bootable.debug=true -Dwildfly.bootable.debug.port=65101 21 | 22 | } 23 | -------------------------------------------------------------------------------- /framework/bundles/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 4.0.0 7 | 8 | org.jboss.tools.rsp 9 | framework 10 | 0.26.18-SNAPSHOT 11 | 12 | bundles 13 | org.jboss.tools.rsp.framework 14 | pom 15 | 16 | 17 | org.jboss.tools.rsp.logging 18 | org.jboss.tools.rsp.secure 19 | org.jboss.tools.rsp.launching 20 | org.jboss.tools.rsp.launching.java 21 | org.jboss.tools.rsp.foundation.core 22 | org.jboss.tools.rsp.server 23 | org.jboss.tools.rsp.server.generic 24 | org.jboss.tools.rsp.server.spi 25 | org.jboss.tools.rsp.stacks.core 26 | org.jboss.tools.rsp.runtime.core 27 | 28 | 29 | -------------------------------------------------------------------------------- /framework/tests/org.jboss.tools.rsp.server.generic.test/src/main/java/org/jboss/tools/rsp/server/generic/test/GenericServerTestActivator.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2020 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | 10 | package org.jboss.tools.rsp.server.generic.test; 11 | 12 | import org.osgi.framework.BundleActivator; 13 | import org.osgi.framework.BundleContext; 14 | 15 | public class GenericServerTestActivator implements BundleActivator { 16 | private static BundleContext myContext; 17 | public static BundleContext getContext() { 18 | return myContext; 19 | } 20 | 21 | @Override 22 | public void start(BundleContext context) throws Exception { 23 | myContext = context; 24 | } 25 | 26 | @Override 27 | public void stop(BundleContext context) throws Exception { 28 | // TODO Auto-generated method stub 29 | 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/ServerProcess.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class ServerProcess { 12 | private ServerHandle server; 13 | private String processId; 14 | 15 | public ServerProcess() { 16 | 17 | } 18 | 19 | public ServerProcess(ServerHandle handle, String process) { 20 | this.processId = process; 21 | this.server = handle; 22 | } 23 | 24 | public ServerHandle getServer() { 25 | return server; 26 | } 27 | 28 | public void setServer(ServerHandle server) { 29 | this.server = server; 30 | } 31 | 32 | public String getProcessId() { 33 | return processId; 34 | } 35 | 36 | public void setProcessId(String processId) { 37 | this.processId = processId; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /runtimes/bundles/org.jboss.tools.rsp.server.minishift/src/main/java/org/jboss/tools/rsp/server/minishift/discovery/MinishiftBeanTypeProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.server.minishift.discovery; 10 | 11 | import org.jboss.tools.rsp.server.spi.discovery.IServerBeanTypeProvider; 12 | import org.jboss.tools.rsp.server.spi.discovery.ServerBeanType; 13 | 14 | public class MinishiftBeanTypeProvider implements IServerBeanTypeProvider { 15 | 16 | ServerBeanType minishift12PlusType = new MinishiftBeanType(); 17 | ServerBeanType cdk3xType = new CDKBeanType(); 18 | ServerBeanType crc1xType = new CRCBeanType(); 19 | 20 | @Override 21 | public ServerBeanType[] getServerBeanTypes() { 22 | return new ServerBeanType[] {minishift12PlusType, cdk3xType, crc1xType}; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /runtimes/tests/org.jboss.tools.rsp.server.wildfly.test/src/main/java/org/jboss/tools/rsp/server/wildfly/test/beans/ServerBeanTypeProviderTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2019 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | 10 | package org.jboss.tools.rsp.server.wildfly.test.beans; 11 | 12 | import static org.junit.Assert.assertNotNull; 13 | 14 | import org.jboss.tools.rsp.server.spi.discovery.ServerBeanType; 15 | import org.jboss.tools.rsp.server.wildfly.impl.JBossServerBeanTypeProvider; 16 | import org.junit.Test; 17 | 18 | public class ServerBeanTypeProviderTest { 19 | @Test 20 | public void testLocateServerMockResources() { 21 | JBossServerBeanTypeProvider provider = new JBossServerBeanTypeProvider(); 22 | assertNotNull(provider); 23 | ServerBeanType[] types = provider.getServerBeanTypes(); 24 | assertNotNull(types); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /api/bundles/org.jboss.tools.rsp.api/src/main/java/org/jboss/tools/rsp/api/dao/LaunchAttributesRequest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. 3 | * All rights reserved. This program is made available under the terms of the 4 | * Eclipse Public License v2.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v20.html 6 | * 7 | * Contributors: Red Hat, Inc. 8 | ******************************************************************************/ 9 | package org.jboss.tools.rsp.api.dao; 10 | 11 | public class LaunchAttributesRequest { 12 | private String serverTypeId; 13 | private String mode; 14 | 15 | public LaunchAttributesRequest() { 16 | 17 | } 18 | 19 | public LaunchAttributesRequest(String serverTypeId, String mode) { 20 | this.serverTypeId = serverTypeId; 21 | this.mode = mode; 22 | } 23 | 24 | public String getServerTypeId() { 25 | return serverTypeId; 26 | } 27 | 28 | public void setServerTypeId(String serverTypeId) { 29 | this.serverTypeId = serverTypeId; 30 | } 31 | 32 | public String getMode() { 33 | return mode; 34 | } 35 | 36 | public void setMode(String mode) { 37 | this.mode = mode; 38 | } 39 | } 40 | --------------------------------------------------------------------------------