PathmindAI / pathmind-webapp

The Pathmind Webapp
https://dev.devpathmind.com
Apache License 2.0
1 stars 0 forks source link

Add python model tests #3703

Closed EvgeniyEA closed 2 years ago

EvgeniyEA commented 2 years ago

Tests for https://github.com/SkymindIO/pathmind-webapp/pull/3642

EvgeniyEA commented 2 years ago

@xneyder Do we need to add any changes to the tests pr to fix this error image

EvgeniyEA commented 2 years ago

run tests

xneyder commented 2 years ago

I am not really sure what we need to do in this case, are you looking for a change in the infrastructure?

fionnachan commented 2 years ago

It seems to be an environment mismatch. The project id came from the webapp logic so it is the correct project the user is on, but the upload is calling the api from this config:

https://github.com/SkymindIO/pathmind-webapp/blob/3677d70829c23bc0914695e569b4e7d646fda47c/pathmind-shared/src/main/resources/shared.properties#L60

If the user is on a different env as the api then the project the user is trying to upload the model to would not match.

xneyder commented 2 years ago

I have created this PR to set the pathmind-api URL. https://github.com/SkymindIO/pathmind-webapp/pull/3708