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

Che-multiuser: Not able to create workspace and import sample in same time #5889

Closed
skabashnyuk opened this issue Aug 3, 2017 · 2 comments
Closed
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template. target/branch Indicates that a PR will be merged into a branch other than master.

Comments

@skabashnyuk
Copy link
Contributor

skabashnyuk commented Aug 3, 2017

  1. Create java workspace + with console sample
  2. Start workspace.
  3. Got
    2017-08-03 13 53 19 2
  4. failed request
curl 'http://localhost:32877/api/project/batch' -H 'Pragma: no-cache' -H 'Origin: http://192.168.65.2:8080' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: ru,uk;q=0.8,en-US;q=0.6,en;q=0.4' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36' -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json, text/plain, */*' -H 'Cache-Control: no-cache' -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJlMjNGc3kzRlI5dnRUZms3TGlkX1lQOGU0cDNoY0psM20wQTRnckIzNnJJIn0.eyJqdGkiOiJmYTcwMzNmNy0yZjRmLTQyZTktODMyZi1iZTA1ZWMyMzlhMTAiLCJleHAiOjE1MDE3NTU1NDEsIm5iZiI6MCwiaWF0IjoxNTAxNzU1MjQxLCJpc3MiOiJodHRwOi8vMTkyLjE2OC42NS4yOjUwNTAvYXV0aC9yZWFsbXMvY2hlIiwiYXVkIjoiY2hlLXB1YmxpYyIsInN1YiI6ImIwN2UzYTU4LWVkNTAtNGE2ZS1iZTE3LWZjZjQ5ZmY4YjI0MiIsInR5cCI6IkJlYXJlciIsImF6cCI6ImNoZS1wdWJsaWMiLCJub25jZSI6ImE3MjYyOTRiLWQxNjgtNDgxYS1hY2E2LWI3MTAxMzhhZDBlMSIsImF1dGhfdGltZSI6MTUwMTc1NTIzOSwic2Vzc2lvbl9zdGF0ZSI6ImYyMDJlNDRmLWU0NzEtNDhhYS05NGIwLTg1NmIyNTI3NjM4MSIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZXNvdXJjZV9hY2Nlc3MiOnt9LCJuYW1lIjoiQWRtaW4gQWRtaW4iLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pbiIsImdpdmVuX25hbWUiOiJBZG1pbiIsImZhbWlseV9uYW1lIjoiQWRtaW4iLCJlbWFpbCI6ImFkbWluQGFkbWluLmNvbSJ9.JNxaY-UQEsw5P1Gfvr8DZZPce0jwODjIdJBrL6NAp9r80up92G7tCsKWh5B4LnyBUFncoi-_xpGh6HaRHDBQWWaoBBFKZ61wn2QZGix2UcuWL29s_ulRrAbEyRVwdb4xm3ULdgK6HjR-hFluwr3djtE7PH45-QjzddJK-qpNzvZ3yiwwxKSJ4KehjixPzCo2R3eA5zdZRHWMRRv0BkVePSU_HMoibFro4ntN4lzYNO7_mB6794gg6ejEEwtTk751B95hRWapjfSJ-XXXhXBRE-LIJpQvX9QuZXX2tXVuzdcTaJgNkwRWl_zRllx8Q3-Vy2pbSOOdUECPoz7e4apcYg' -H 'Connection: keep-alive' -H 'Referer: http://192.168.65.2:8080/dashboard/' --data-binary '[{"links":[],"source":{"location":"https://github.com/che-samples/console-java-simple.git","type":"git","parameters":{}},"description":"A hello world Java application.","commands":[{"commandLine":"mvn -f ${current.project.path} clean install","name":"build","type":"mvn","attributes":{"previewUrl":"","goal":"Build"}},{"commandLine":"mvn -f ${current.project.path} clean install \njava -jar ${current.project.path}/target/*.jar","name":"run","type":"mvn","attributes":{"previewUrl":"","goal":"Run"}}],"options":{},"projectType":"maven","tags":["java","maven"],"problems":[],"category":"Samples","projects":[],"mixins":[],"name":"console-java-simple","path":"/console-java-simple","attributes":{"language":["java"]},"displayName":"console-java-simple","type":"maven"}]' --compressed
@skabashnyuk skabashnyuk added kind/bug Outline of a bug - must adhere to the bug report template. target/branch Indicates that a PR will be merged into a branch other than master. team/platform labels Aug 3, 2017
@skabashnyuk skabashnyuk mentioned this issue Aug 3, 2017
25 tasks
@mshaposhnik
Copy link
Contributor

Fixed;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. target/branch Indicates that a PR will be merged into a branch other than master.
Projects
None yet
Development

No branches or pull requests

2 participants