-
Bug
-
Resolution: Duplicate
-
Critical
-
4.2.3.Final
When creating a new application using the Openshift plugin and selecting a different gear profile to create the app seems the attribute gear_profile wasn't added properly to the POST http made in the broker. Checking the the same procedure but using the web console the attribute was added properly. This behavior, when creating thru JBDS, forces the app to be created in a different node that was chosen by the user since the attribute is not added to the post JSON.
This request was generated from JBDS:
2015-09-08 17:31:33.396 [INFO ] Started POST "/broker/rest/domain/domain1210/applications?include=cartridges" for 108.212.65.14 at 2015-09-08 17:31:33 -0400 (pid:12413)
2015-09-08 17:31:33.400 [INFO ] Processing by ApplicationsController#create as JSON (pid:12413)
2015-09-08 17:31:33.400 [INFO ] Parameters: {"name"=>"nanfusecoursetest2", "cartridges"=>[
], "include"=>"cartridges", "domain_id"=>"domain1210"} (pid:12413)
2015-09-08 17:34:33.950 [INFO ] Started GET "/broker/rest/domain/domain1210" for 108.212.65.14 at 2015-09-08 17:34:33 -0400 (pid:12439)
2015-09-08 17:34:33.966 [INFO ] Processing by DomainsController#show as JSON (pid:12439)
2015-09-08 17:34:33.966 [INFO ] Parameters:
(pid:12439)
2015-09-08 17:34:33.999 [INFO ] Completed 200 OK in 32ms (Views: 6.8ms) (pid:12439)
This one was generated by the broker web console:
2015-09-08 17:22:34.777 [INFO ] Started POST "/broker/rest/domain/domain1210/applications.json" for 127.0.0.1 at 2015-09-08 17:22:34 -0400 (pid:12413)
2015-09-08 17:22:34.783 [INFO ] Processing by ApplicationsController#create as JSON (pid:12413)
2015-09-08 17:22:34.783 [INFO ] Parameters:
(pid:12413)
2015-09-08 17:24:53.751 [INFO ] Completed 201 Created in 138967ms (Views: 10.9ms) (pid:12413)
2015-09-08 17:24:56.599 [INFO ] Started GET "/broker/rest/application/55ef519a7577e6d79a000027.json" for 127.0.0.1 at 2015-09-08 17:24:56 -0400 (pid:12413)
2015-09-08 17:24:56.609 [INFO ] Processing by ApplicationsController#show as JSON (pid:12413)
2015-09-08 17:24:56.612 [INFO ] Parameters:
(pid:12413)
2015-09-08 17:24:56.679 [INFO ] Completed 200 OK in 66ms (Views: 2.3ms) (pid:12413)
- is duplicated by
-
JBIDE-23267 New application created by JBDS cannot specify "medium" or "large" size.
- Closed