enricher

package
v1.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPortsForJBossFrameworks

func GetPortsForJBossFrameworks(pom schema.Pom, pluginArtifactId string, pluginGroupId string) string

GetPortsForJBossFrameworks tries to detect any port information inside javaOpts of configuration of a given profiles plugin

Types

type ApplicationPropertiesFile

type ApplicationPropertiesFile struct {
	Dir  string
	File string
}

type JBossEAPDetector

type JBossEAPDetector struct{}

func (JBossEAPDetector) DoFrameworkDetection

func (o JBossEAPDetector) DoFrameworkDetection(language *model.Language, config string)

DoFrameworkDetection uses the groupId and artifactId to check for the framework name

func (JBossEAPDetector) DoPortsDetection

func (o JBossEAPDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

func (JBossEAPDetector) GetApplicationFileInfos added in v1.2.0

func (o JBossEAPDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (JBossEAPDetector) GetSupportedFrameworks

func (o JBossEAPDetector) GetSupportedFrameworks() []string

type MicronautDetector

type MicronautDetector struct{}

func (MicronautDetector) DoFrameworkDetection

func (m MicronautDetector) DoFrameworkDetection(language *model.Language, config string)

DoFrameworkDetection uses the groupId to check for the framework name

func (MicronautDetector) DoPortsDetection

func (m MicronautDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection searches for the port in src/main/resources/application.yaml

func (MicronautDetector) GetApplicationFileInfos added in v1.2.0

func (m MicronautDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (MicronautDetector) GetSupportedFrameworks

func (m MicronautDetector) GetSupportedFrameworks() []string

type OpenLibertyDetector

type OpenLibertyDetector struct{}

func (OpenLibertyDetector) DoFrameworkDetection

func (o OpenLibertyDetector) DoFrameworkDetection(language *model.Language, config string)

DoFrameworkDetection uses the groupId to check for the framework name

func (OpenLibertyDetector) DoPortsDetection

func (o OpenLibertyDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection searches for the port in src/main/liberty/config/server.xml and /server.xml

func (OpenLibertyDetector) GetApplicationFileInfos added in v1.2.0

func (o OpenLibertyDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (OpenLibertyDetector) GetSupportedFrameworks

func (o OpenLibertyDetector) GetSupportedFrameworks() []string

type QuarkusDetector

type QuarkusDetector struct{}

func (QuarkusDetector) DoFrameworkDetection

func (q QuarkusDetector) DoFrameworkDetection(language *model.Language, config string)

DoFrameworkDetection uses the groupId to check for the framework name

func (QuarkusDetector) DoPortsDetection

func (q QuarkusDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection searches for ports in the env var, .env file, and src/main/resources/application.properties, or src/main/resources/application.yaml

func (QuarkusDetector) GetApplicationFileInfos added in v1.2.0

func (q QuarkusDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (QuarkusDetector) GetSupportedFrameworks

func (q QuarkusDetector) GetSupportedFrameworks() []string

type SpringDetector

type SpringDetector struct{}

func (SpringDetector) DoFrameworkDetection

func (s SpringDetector) DoFrameworkDetection(language *model.Language, config string)

DoFrameworkDetection uses the groupId to check for the framework name

func (SpringDetector) DoPortsDetection

func (s SpringDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection searches for ports in the env var and src/main/resources/application.properties, or src/main/resources/application.yaml

func (SpringDetector) GetApplicationFileInfos added in v1.2.0

func (s SpringDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (SpringDetector) GetSupportedFrameworks

func (s SpringDetector) GetSupportedFrameworks() []string

type VertxDetector

type VertxDetector struct{}

func (VertxDetector) DoFrameworkDetection

func (v VertxDetector) DoFrameworkDetection(language *model.Language, config string)

DoFrameworkDetection uses the groupId to check for the framework name

func (VertxDetector) DoPortsDetection

func (v VertxDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection searches for the port in json files under src/main/conf/

func (VertxDetector) GetApplicationFileInfos added in v1.2.0

func (v VertxDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (VertxDetector) GetSupportedFrameworks

func (v VertxDetector) GetSupportedFrameworks() []string

type WildFlyDetector

type WildFlyDetector struct{}

func (WildFlyDetector) DoFrameworkDetection

func (w WildFlyDetector) DoFrameworkDetection(language *model.Language, config string)

DoFrameworkDetection uses the groupId and artifactId to check for the framework name

func (WildFlyDetector) DoPortsDetection

func (w WildFlyDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection for wildfly fetches the pom.xml and tries to find any javaOpts under the wildfly-maven-plugin profiles. If there is one it looks if jboss.http.port is defined.

func (WildFlyDetector) GetApplicationFileInfos added in v1.2.0

func (w WildFlyDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (WildFlyDetector) GetSupportedFrameworks

func (w WildFlyDetector) GetSupportedFrameworks() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL