Feedback on rhc ssh to gear on checking is_default_page
Issue #271
resolved
Referring to CNPaaS in staging env
login: test01@hkwtf.com
p/w: abcd1234
- opening the app page of papp01-test01 is quite slow. Production server with loaded data and multiple users could only get worse.
- The app is newly created with default page, but is checked as git commit. I believe it is because the default page of a php app is
index.php
instead ofindex.html
.
no. 1 is the key...
Comments (5)
-
reporter -
Good idea. Will try it out.
-
reporter it could be even faster if there is a relevant openshift http RESTful API for that..
-
- changed component to Portal/OpenShft
-
reporter - changed status to resolved
- Log in to comment
Thought on no. 1,
rhc deployment list --app <appname> <connectionInfo>
could retrieve current deployment ID of an app. Deployment ID is different from the git commit SHA1 ID.apps
table orapp_options
tableapp.is_default_page?
check, get the deployment ID again and check if it is the same.app.is_default_page?
will only returnfalse
-k --server broker01.oo.cnpaas.localhost -l test02 -p 7c0a17af