Open thepetk opened 1 year ago
@thepetk: The label(s) area/cli
cannot be applied, because the repository doesn't have them.
Putting it in "waiting" as we may need to split the implementation of the GetPortsFromDevfile
in a different issue and we need to prioritization of the detected ports (e.g innerloop vs outerloop)
Putting it in "waiting" as we may need to split the implementation of the
GetPortsFromDevfile
in a different issue and we need to prioritization of the detected ports (e.g innerloop vs outerloop)
I've split the old issue into two:
GetPortsFromDevfile
function: https://github.com/devfile/api/issues/1331As the GetPortsFromDevfile
is required for this issue, I've put a blocked
label into this one and the blocker
to https://github.com/devfile/api/issues/1331
This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days.
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:
model.go
:Update the
component
command'sgetPortDetectionStrategy
to take into account themodel.Devfile
as part of the strategy.In every
DoEnrichComponent
function we should update theswitch
in order to include themodel.Devfile
case. The enrichers are the following:dotnet_enricher.go
go_enricher.go
java_enricher.go
javascript_enricher.go
php_enricher.go
python_enricher.go
The
model.Devfile
case should call theGetPortsFromDevfile
function created in https://github.com/devfile/api/issues/1331.Acceptance Criteria
model.Devfile
has been added to thecompose
command.getPortDetectionStrategy