-
Notifications
You must be signed in to change notification settings - Fork 74
Closed as not planned
Labels
area/alizerEnhancement or issue related to the alizer repoEnhancement or issue related to the alizer repolifecycle/rottenRotten items. These items have been stale for 60 days and are now closed.Rotten items. These items have been stale for 60 days and are now closed.lifecycle/staleStale items. These items have not been updated for 90 days.Stale items. These items have not been updated for 90 days.status/blocked
Description
Which area/kind this issue is related to?
/area alizer
Issue Description
This is part of EPIC #1154 and is focusing on the update of alizer's strategies by supporting devfile port detection. As a result, someone will be able to choose the devfile port detection as part of the port-detection strategy and they will be able to get any ports defined inside a devfile. The steps required are the following:
- Create a new const inside the
model.go:
const Devfile PortDetectionAlgorithm = 3-
Update the
componentcommand'sgetPortDetectionStrategyto take into account themodel.Devfileas part of the strategy. -
In every
DoEnrichComponentfunction we should update theswitchin order to include themodel.Devfilecase. The enrichers are the following:dotnet_enricher.gogo_enricher.gojava_enricher.gojavascript_enricher.gophp_enricher.gopython_enricher.go
-
The
model.Devfilecase should call theGetPortsFromDevfilefunction created in Implement alizer support for devfile port detection #1331.
Acceptance Criteria
- The new strategy option of
model.Devfilehas been added to thecomposecommand. - All enrichers are up-to-date and they support the new strategy option.
- Test cases are created for changes in each enricher and for
getPortDetectionStrategy - Update port detection and other documentation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/alizerEnhancement or issue related to the alizer repoEnhancement or issue related to the alizer repolifecycle/rottenRotten items. These items have been stale for 60 days and are now closed.Rotten items. These items have been stale for 60 days and are now closed.lifecycle/staleStale items. These items have not been updated for 90 days.Stale items. These items have not been updated for 90 days.status/blocked
Type
Projects
Status
Done ✅