Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F8OpenShiftAdapter and OpenShiftAssistantTemplate resolve version upgrade class parameter changes. #1291

Closed
rsearls opened this issue Dec 1, 2023 · 1 comment

Comments

@rsearls
Copy link
Collaborator

rsearls commented Dec 1, 2023

In method F8OpenShiftAdapter.createProject stmt client.projectrequests()
returns class io.fabric8.openshift.client.dsl.ProjectRequestOperation
The definition for intf ProjectRequestOperation changed significantly
between io.fabric8 version 4.0.2 and 5.12.4.  Evaluation and alterations 
are needed

In method F8OpenShiftAdapter.deletePod the generics used in defining
class PodResource has changed significantly between io.fabric8 version 
4.0.2 and 5.12.4.  Class DoneablePod no longer exists in io.fabric8 5.12.4;
no deprecation stmt found to direct one how to address this.

In method F8OpenShiftAdapter.triggerDeploymentConfigUpdate the generics used in defining
class DeployableScalableResource has changed significantly between io.fabric8 version 
4.0.2 and 5.12.4.  Class DoneableDeploymentConfig no longer exists in io.fabric8 5.12.4;
no deprecation stmt found to direct one how to address this.

In method F8OpenShiftAdapter.createHandler class io.fabric8.kubernetes.api.model.Handler
is referenced, but it no longer exists in io.fabric8 5.12.4.  There is
no clear replacement for it.

In method F8OpenShiftAdapter.processTemplate the generics used in defining
class TemplateResource has changed significantly between io.fabric8 version 
4.0.2 and 5.12.4.  Class DoneableTemplate no longer exists in io.fabric8 5.12.4;
no deprecation stmt found to direct one how to address this.

In method OpenShiftAssistantTemplate.processTemplate the generics used in defining
class TemplateResource has changed significantly between io.fabric8 version 
4.0.2 and 5.12.4.  Class DoneableTemplate no longer exists in io.fabric8 5.12.4;
no deprecation stmt found to direct one how to address this.

In method F8OpenShiftAdapter.getLog the generics used in defining class
NonNamespaceOperation has changed significantly between io.fabric8 version 
4.0.2 and 5.12.4.  Class DoneablePod no longer exists in io.fabric8 5.12.4;
no deprecation stmt found to direct one how to address this.

In methods SecretsAndServiceAccountVisitor.createServiceAccount and
SecretsAndServiceAccountVisitor.generateSecrets the generics used in defining class
NonNamespaceOperation has changed significantly between io.fabric8 version
4.0.2 and 5.12.4. There is no clear replacement for it.

[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[159,13] cannot find symbol
[ERROR] symbol: method createNew()
[ERROR] location: interface io.fabric8.openshift.client.dsl.ProjectRequestOperation
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[181,26] cannot find symbol
[ERROR] symbol: class DoneablePod
[ERROR] location: class org.arquillian.cube.openshift.impl.fabric8.F8OpenShiftAdapter
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[181,20] wrong number of type arguments; required 1
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[183,18] type io.fabric8.kubernetes.client.dsl.Deletable does not take parameters
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[194,60] cannot find symbol
[ERROR] symbol: class DoneableDeploymentConfig
[ERROR] location: class org.arquillian.cube.openshift.impl.fabric8.F8OpenShiftAdapter
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[194,41] wrong number of type arguments; required 1
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[313,13] cannot find symbol
[ERROR] symbol: class Handler
[ERROR] location: class org.arquillian.cube.openshift.impl.fabric8.F8OpenShiftAdapter
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[333,9] cannot find symbol
[ERROR] symbol: class Handler
[ERROR] location: class org.arquillian.cube.openshift.impl.fabric8.F8OpenShiftAdapter
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[333,38] cannot find symbol
[ERROR] symbol: class Handler
[ERROR] location: class org.arquillian.cube.openshift.impl.fabric8.F8OpenShiftAdapter
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[411,56] cannot find symbol
[ERROR] symbol: class DoneableTemplate
[ERROR] location: class org.arquillian.cube.openshift.impl.fabric8.F8OpenShiftAdapter
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[411,29] wrong number of type arguments; required 2
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[521,45] cannot find symbol
[ERROR] symbol: class DoneablePod
[ERROR] location: class org.arquillian.cube.openshift.impl.fabric8.F8OpenShiftAdapter
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[521,75] cannot find symbol
[ERROR] symbol: class DoneablePod
[ERROR] location: class org.arquillian.cube.openshift.impl.fabric8.F8OpenShiftAdapter
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[521,69] wrong number of type arguments; required 1
[ERROR] /home/rsearls/j1/arquillian-cube/openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/fabric8/F8OpenShiftAdapter.java:[521,30] wrong number of type arguments; required 3

This issue depends on #1270
being resolved first.
See tracker doc, #1279

@rsearls rsearls changed the title F8OpenShiftAdapter resolve version upgrade class parameter changes. F8OpenShiftAdapter and OpenShiftAssistantTemplate resolve version upgrade class parameter changes. Dec 1, 2023
@rsearls
Copy link
Collaborator Author

rsearls commented Dec 6, 2023

Resolved by https://github.com/arquillian/arquillian-cube/issues/ Bumping Fabric8 version to 6.9.

@rsearls rsearls closed this as completed Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant