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

Fix default find queries of Neo4jRepository not include FOR relation #673

Open
davidkopp opened this issue Mar 28, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@davidkopp
Copy link
Contributor

The FOR relation between a MicoServiceDeploymentInfo and a MicoService is missing when a default find query like MicoApplicationRepository.findByShortNameAndVersion is used.

MicoApplication(id=123, shortName=realworld, name=realworld-application, version=v0.0.2, description=Real World application with a frontend and a backend, services=[MicoService(id=128, shortName=react-redux-realworld-example-app, name=UST-MICO/react-redux-realworld-example-app, version=v2.0.0, description=Exemplary real world application built with React + Redux, serviceCrawlingOrigin=null, serviceInterfaces=[MicoServiceInterface(id=129, serviceInterfaceName=http, ports=[MicoServicePort(id=127, port=80, type=TCP, targetPort=80)], description=null, protocol=null)], dependencies=[], contact=null, owner=null, gitCloneUrl=https://github.com/UST-MICO/react-redux-realworld-example-app.git, dockerfilePath=Dockerfile, dockerImageUri=docker.io/ustmico/react-redux-realworld-example-app:v2.0.0), MicoService(id=90, shortName=spring-boot-realworld-example-app, name=UST-MICO/spring-boot-realworld-example-app, version=v1.0.0, description=Example Spring codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec., serviceCrawlingOrigin=null, serviceInterfaces=[MicoServiceInterface(id=94, serviceInterfaceName=rest, ports=[MicoServicePort(id=93, port=80, type=TCP, targetPort=8080)], description=null, protocol=null)], dependencies=[], contact=null, owner=null, gitCloneUrl=https://github.com/UST-MICO/spring-boot-realworld-example-app.git, dockerfilePath=Dockerfile, dockerImageUri=docker.io/ustmico/spring-boot-realworld-example-app:v1.0.0)], serviceDeploymentInfos=[MicoServiceDeploymentInfo(id=118, replicas=1, labels=[MicoLabel(id=122, key=component, value=frontend)], environmentVariables=[MicoEnvironmentVariable(id=120, name=APPLICATION_NAME, value=REAL_WORLD)], interfaceConnections=[MicoInterfaceConnection(id=102, environmentVariableName=BACKEND_REST_API, micoServiceInterfaceName=rest, micoServiceShortName=spring-boot-realworld-example-app)], imagePullPolicy=IfNotPresent, kubernetesDeploymentInfo=null), MicoServiceDeploymentInfo(id=119, replicas=1, labels=[MicoLabel(id=121, key=component, value=backend)], environmentVariables=[MicoEnvironmentVariable(id=87, name=APPLICATION_NAME, value=REAL_WORLD)], interfaceConnections=[], imagePullPolicy=IfNotPresent, kubernetesDeploymentInfo=KubernetesDeploymentInfo(id=133, namespace=mico-testing, deploymentName=spring-boot-realworld-example-app-stwlltbd, serviceNames=[rest-5plk2lsh])), MicoServiceDeploymentInfo(id=10, replicas=1, labels=[MicoLabel(id=132, key=component, value=frontend)], environmentVariables=[MicoEnvironmentVariable(id=131, name=APPLICATION_NAME, value=REAL_WORLD)], interfaceConnections=[MicoInterfaceConnection(id=130, environmentVariableName=BACKEND_REST_API, micoServiceInterfaceName=rest, micoServiceShortName=spring-boot-realworld-example-app)], imagePullPolicy=IfNotPresent, kubernetesDeploymentInfo=KubernetesDeploymentInfo(id=38, namespace=mico-testing, deploymentName=react-redux-realworld-example-app-xvuf8i67, serviceNames=[http-0h4nc99h]))], contact=null, owner=null)
@davidkopp davidkopp added the bug Something isn't working label Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant