|
Passing arguments to a spring boot main implementing command line runner to be called by pcf scheduler service
Not sure what to say, it worked for me in my test. I added this to my manifest.yml. ``` ... env: JBP_CONFIG_JAVA_MAIN: '{ arguments: "-test=val -foo=bar" }' ``` My app logged two arguments: 2017-10-24
Not sure what to say, it worked for me in my test. I added this to my manifest.yml. ``` ... env: JBP_CONFIG_JAVA_MAIN: '{ arguments: "-test=val -foo=bar" }' ``` My app logged two arguments: 2017-10-24
|
By
Daniel Mikusa
· #7426
·
|
|
Passing arguments to a spring boot main implementing command line runner to be called by pcf scheduler service
wrote: cf set-env my_app_name JBP_CONFIG_JAVA_MAIN '{ arguments: I think you're close. This is the example from the JBP docs. cf set-env my-application JBP_CONFIG_JAVA_MAIN '{ arguments: "-server.port
wrote: cf set-env my_app_name JBP_CONFIG_JAVA_MAIN '{ arguments: I think you're close. This is the example from the JBP docs. cf set-env my-application JBP_CONFIG_JAVA_MAIN '{ arguments: "-server.port
|
By
Daniel Mikusa
· #7416
·
|
|
Block internet access during staging
Peter, It's a little more work, but what you could do is block all outbound traffic in staging with an ASG then configure an HTTP/HTTPS proxy for the apps that are allowed to talk out (don't forget to
Peter, It's a little more work, but what you could do is block all outbound traffic in staging with an ASG then configure an HTTP/HTTPS proxy for the apps that are allowed to talk out (don't forget to
|
By
Daniel Mikusa
· #7407
·
|
|
JSON Data in User Provided Service Credential
wrote: IMHO this is not a problem. This is how non-user provided credentials are passed to apps. Not sure I see the issue here. Your app will still get the credentials & JSON is easy to parse. This so
wrote: IMHO this is not a problem. This is how non-user provided credentials are passed to apps. Not sure I see the issue here. Your app will still get the credentials & JSON is easy to parse. This so
|
By
Daniel Mikusa
· #7378
·
|
|
Can I have a different port to run my app?
It seems to work for me. Maybe the URL is getting split up by your email client. Here's a shortened version: https://goo.gl/CC33Tz. Dan wrote:
It seems to work for me. Maybe the URL is getting split up by your email client. Here's a shortened version: https://goo.gl/CC33Tz. Dan wrote:
|
By
Daniel Mikusa
· #7262
·
|
|
Can I have a different port to run my app?
I think I answered this question here: https://lists.cloudfoundry.org/archives/list/cf-dev(a)lists.cloudfoundry.org/message/FJK25F3BNLEFJVGHFHF5QWB3ETNQSSF3/ Dan wrote:
I think I answered this question here: https://lists.cloudfoundry.org/archives/list/cf-dev(a)lists.cloudfoundry.org/message/FJK25F3BNLEFJVGHFHF5QWB3ETNQSSF3/ Dan wrote:
|
By
Daniel Mikusa
· #7255
·
|
|
How to start my app in http and https ports?
Your app needs to listen on the port assigned to it. It can find this information by looking at the environment variable named `PORT` and reading the value out of that (it will be the port number). If
Your app needs to listen on the port assigned to it. It can find this information by looking at the environment variable named `PORT` and reading the value out of that (it will be the port number). If
|
By
Daniel Mikusa
· #7254
·
|
|
How to start my app in http and https ports?
Your app doesn't need to start both. It should generally just listen on port 8080 (but technically should be the port listed in the env variable $PORT) for HTTP requests. HTTPS/TLS is handled at the p
Your app doesn't need to start both. It should generally just listen on port 8080 (but technically should be the port listed in the env variable $PORT) for HTTP requests. HTTPS/TLS is handled at the p
|
By
Daniel Mikusa
· #7228
·
|
|
Support for HTTP/2
wrote: Yes, that definitely seems to be an issue. I don't think this is necessarily an easier option, but you could in theory compile & bring your own OpenSSL library in addition to Tomcat Native. Tha
wrote: Yes, that definitely seems to be an issue. I don't think this is necessarily an easier option, but you could in theory compile & bring your own OpenSSL library in addition to Tomcat Native. Tha
|
By
Daniel Mikusa
· #7136
·
|
|
Support for HTTP/2
wrote: Not sure what you mean here exactly. With TCP routing, you get a routing group (which I believe is a group of HAProxy nodes) that are forwarding traffic from a specific external port (mapped vi
wrote: Not sure what you mean here exactly. With TCP routing, you get a routing group (which I believe is a group of HAProxy nodes) that are forwarding traffic from a specific external port (mapped vi
|
By
Daniel Mikusa
· #7132
·
|
|
Support for HTTP/2
You're correct. You cannot use HTTP routes with HTTP/2. At the moment, if you want to use HTTP/2 you could do so by using a TCP route. Apps that have TCP routes bound to them receive the TCP traffic d
You're correct. You cannot use HTTP routes with HTTP/2. At the moment, if you want to use HTTP/2 you could do so by using a TCP route. Apps that have TCP routes bound to them receive the TCP traffic d
|
By
Daniel Mikusa
· #7128
·
|
|
CF space application sharing
Yes Yes. Network access and service binding are two completely different things. Just because a component has network access doesn't mean it will have the IP & credentials to access a service. In the
Yes Yes. Network access and service binding are two completely different things. Just because a component has network access doesn't mean it will have the IP & credentials to access a service. In the
|
By
Daniel Mikusa
· #7066
·
|
|
CF space application sharing
John, management. CPU intensive applications can not affect other applications in the same space, org or cell. In the case of apps on the same cell, I would say that one CPU intensive application can
John, management. CPU intensive applications can not affect other applications in the same space, org or cell. In the case of apps on the same cell, I would say that one CPU intensive application can
|
By
Daniel Mikusa
· #7052
·
|
|
502 bad gateway error in performance testing
Do you get an access log entry from the gorouter in `cf logs`? If so, can you include it? It would be helpful to see as it will tell you how long the gorouter waited for a response from your applicati
Do you get an access log entry from the gorouter in `cf logs`? If so, can you include it? It would be helpful to see as it will tell you how long the gorouter waited for a response from your applicati
|
By
Daniel Mikusa
· #6979
·
|
|
Want to Contribute to Cloud Foundry
Amit, You don't really need CF installed to develop or use UAA. It can run stand-alone. See instructions [1] for getting started. See here for instructions on using the uaac cli locally [2]. And of co
Amit, You don't really need CF installed to develop or use UAA. It can run stand-alone. See instructions [1] for getting started. See here for instructions on using the uaac cli locally [2]. And of co
|
By
Daniel Mikusa
· #6890
·
|
|
How to best install packages in Ubuntu App Container
Make sure it's exactly the same version of Ubuntu (Trusty / 14.04) & Python (2 or 3). Pip doesn't like something about the wheel file that you found. That would be my guess as to what's off. So the ge
Make sure it's exactly the same version of Ubuntu (Trusty / 14.04) & Python (2 or 3). Pip doesn't like something about the wheel file that you found. That would be my guess as to what's off. So the ge
|
By
Daniel Mikusa
· #6886
·
|
|
How to best install packages in Ubuntu App Container
You can't install packages in the container. That requires root and at no point is root access granted (neither staging nor runtime). Ideas that come to mind: - vendor your dependencies (i.e. compile
You can't install packages in the container. That requires root and at no point is root access granted (neither staging nor runtime). Ideas that come to mind: - vendor your dependencies (i.e. compile
|
By
Daniel Mikusa
· #6878
·
|
|
push an app + services + something else
I've seen this done with shell / batch scripts before. The script would be responsible for making sure that the services have been created and the names match up with what is expected in the manfest f
I've seen this done with shell / batch scripts before. The script would be responsible for making sure that the services have been created and the names match up with what is expected in the manfest f
|
By
Daniel Mikusa
· #6846
·
|
|
CFF needs sample Hello World apps
Here you go, PHP -> https://asciinema.org/a/9wk05f56lm8d0jm1plwyxc5dy?speed=3 Dan wrote:
Here you go, PHP -> https://asciinema.org/a/9wk05f56lm8d0jm1plwyxc5dy?speed=3 Dan wrote:
|
By
Daniel Mikusa
· #6822
·
|
|
CFF needs sample Hello World apps
Does this work for a Python sample -> https://asciinema.org/a/bdzxql0k2dbxha79vzkkw59s2?speed=3 If so, I can put together one for PHP too. Dan wrote:
Does this work for a Python sample -> https://asciinema.org/a/bdzxql0k2dbxha79vzkkw59s2?speed=3 If so, I can put together one for PHP too. Dan wrote:
|
By
Daniel Mikusa
· #6818
·
|