pivotal-cloud-foundry

Spring Boot Micro-service fails Kerberos Authentication when deployed on Pivotal Cloud Foundry Platform

可紊 提交于 2019-12-01 13:47:04
We have developed a Spring Boot Application to query data from Hbase on HDP 2.5. The application works fine when we run it on our local windows machines as it is able to find the jaas.conf & krb5.conf file which have been kept under resources folder of the application and we have provided them as system properties in our code as e.g. System.setProperties("javax.security.auth.useSubjectCredsOnly","false"); System.setProperty("java.security.krb5.conf","D:\\host\\workspace\\projectname\\src\\main\\resources\\krb5.conf"); However when we deploy in PCF it is unable to read those file which are set

Spring Boot Micro-service fails Kerberos Authentication when deployed on Pivotal Cloud Foundry Platform

↘锁芯ラ 提交于 2019-12-01 12:46:59
问题 We have developed a Spring Boot Application to query data from Hbase on HDP 2.5. The application works fine when we run it on our local windows machines as it is able to find the jaas.conf & krb5.conf file which have been kept under resources folder of the application and we have provided them as system properties in our code as e.g. System.setProperties("javax.security.auth.useSubjectCredsOnly","false"); System.setProperty("java.security.krb5.conf","D:\\host\\workspace\\projectname\\src\

404 Not Found nginx angular routing

冷暖自知 提交于 2019-11-30 07:09:05
I Have an Angular application. I run the command ng build --prod --aot to generate the dist folder. In the dist folder I created a file named Staticfile then I uploaded the dist folder to pivotal.io with the following commands: cf push name-app --no-start cf start name-app The app runs well. I have a nav bar, so when I change the path with navbar everything works fine. But when I do it manually (I enter the url myself) I have this error 404 Not Found nginx . This my app.component.ts: const appRoutes: Routes = [ { path: 'time-picker', component: TimePickerComponent }, { path: 'material-picker',

how to download pip dependencies locally? [duplicate]

纵饮孤独 提交于 2019-11-29 14:33:18
问题 This question already has answers here : How to install packages using pip according to the requirements.txt file from a local directory? (12 answers) Closed 2 years ago . I am running my python application that has requirements.txt file which contains various dependencies. I am deploying this application in a Pivotal Cloud Foundry environment. However, the environment I am deploying in it airgapped. Therefore I can't seem to get the dependencies. The Git repo for python CF buildpack suggests

404 Not Found nginx angular routing

房东的猫 提交于 2019-11-27 14:55:13
问题 I Have an Angular application. I run the command ng build --prod --aot to generate the dist folder. In the dist folder I created a file named Staticfile then I uploaded the dist folder to pivotal.io with the following commands: cf push name-app --no-start cf start name-app The app runs well. I have a nav bar, so when I change the path with navbar everything works fine. But when I do it manually (I enter the url myself) I have this error 404 Not Found nginx . This my app.component.ts: const