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

Replace internal Red Hat URLs in the sources and docs #25

Open
jirkadanek opened this issue Aug 13, 2019 · 4 comments
Open

Replace internal Red Hat URLs in the sources and docs #25

jirkadanek opened this issue Aug 13, 2019 · 4 comments
Assignees

Comments

@jirkadanek
Copy link
Contributor

- name: PRIVATE_BASE_URL
value: http://maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com
required: true
- name: PUBLIC_PRODUCTION_WILDCARD_DOMAIN
value: app.middleware.ocp.cloud.lab.eng.bos.redhat.com
- name: PUBLIC_STAGING_WILDCARD_DOMAIN
value: staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com
- name: PRODUCTION_PUBLIC_BASE_URL
value: https://3scalefuse.app.middleware.ocp.cloud.lab.eng.bos.redhat.com
#required: true
- name: STAGING_PUBLIC_BASE_URL
value: https://3scalefuse-staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com

4. Download [image](https://brewweb.engineering.redhat.com/brew/packageinfo?packageID=72168) 3scaletoolbox and push it to your openshift registry.

oc new-app -f cicd-3scale/3scaletoolbox/pipeline-template.yaml -p IMAGE_NAMESPACE=rh-dev -p DEV_PROJECT=rh-dev -p TEST_PROJECT=rh-test -p PROD_PROJECT=rh-prod -p PRIVATE_BASE_URL=http://maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_PRODUCTION_WILDCARD_DOMAIN=app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_STAGING_WILDCARD_DOMAIN=staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p DEVELOPER_ACCOUNT_ID=developer

echo "import integration-master-pipeline"
oc new-app -f pipelinetemplates/pipeline-aggregated-build.yml -p IMAGE_NAMESPACE=$DEV_PROJECT -p DEV_PROJECT=$DEV_PROJECT -p TEST_PROJECT=$TEST_PROJECT -p PROD_PROJECT=$PROD_PROJECT -p PROD_PROJECT=rh-prod -p PRIVATE_BASE_URL=http://maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_PRODUCTION_WILDCARD_DOMAIN=app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_STAGING_WILDCARD_DOMAIN=staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p [email protected]
echo "import 3scale API publishing pipeline"
oc new-app -f cicd-3scale/3scaletoolbox/pipeline-template.yaml -p IMAGE_NAMESPACE=$DEV_PROJECT -p DEV_PROJECT=$DEV_PROJECT -p TEST_PROJECT=$TEST_PROJECT -p PROD_PROJECT=$PROD_PROJECT -p PROD_PROJECT=rh-prod -p PRIVATE_BASE_URL=http://maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_PRODUCTION_WILDCARD_DOMAIN=app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_STAGING_WILDCARD_DOMAIN=staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p [email protected]

body = ''' { "alertType": "ACCIDENT", "firstName": "Abdul Hameed", "date": "11/8/2019", "phone": "78135955", "email": "[email protected]", "description": "test"} '''

var url='http://maingateway-service-cicddemo.app.rhdp.ocp.cloud.lab.eng.bos.redhat.com/cicd/maingateway/profile/'+id+'?alertType='+alertType

<!-- <simple>http://fuse-user-service-cicddemo.app.rhdp.ocp.cloud.lab.eng.bos.redhat.com/cicd/user/profile/${header.acctid}?bridgeEndpoint=true</simple> -->

"host": "maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com",

host: maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com

@redhatHameed redhatHameed self-assigned this Aug 15, 2019
@redhatHameed
Copy link
Collaborator

@jdanekrh Fixed in PR #37

@jirkadanek
Copy link
Contributor Author

There are still some internal urls, e.g.

threescale: {
url: 'https://rh-test-3scalefuse-1.app.middleware.ocp.cloud.lab.eng.bos.redhat.com',
token: 'c8515bb07dd5694f5b457306b402b53a'
}

- name: PRIVATE_BASE_URL
value: http://maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com
required: true
- name: PUBLIC_PRODUCTION_WILDCARD_DOMAIN
value: app.middleware.ocp.cloud.lab.eng.bos.redhat.com
- name: PUBLIC_STAGING_WILDCARD_DOMAIN
value: staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com
- name: PRODUCTION_PUBLIC_BASE_URL
value: https://3scalefuse.app.middleware.ocp.cloud.lab.eng.bos.redhat.com
#required: true
- name: STAGING_PUBLIC_BASE_URL
value: https://3scalefuse-staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com

echo "import integration-master-pipeline"
oc new-app -f pipelinetemplates/pipeline-aggregated-build.yml -p IMAGE_NAMESPACE=$DEV_PROJECT -p DEV_PROJECT=$DEV_PROJECT -p TEST_PROJECT=$TEST_PROJECT -p PROD_PROJECT=$PROD_PROJECT -p PROD_PROJECT=rh-prod -p PRIVATE_BASE_URL=http://maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_PRODUCTION_WILDCARD_DOMAIN=app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_STAGING_WILDCARD_DOMAIN=staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p [email protected]
echo "import 3scale API publishing pipeline"
oc new-app -f cicd-3scale/3scaletoolbox/pipeline-template.yaml -p IMAGE_NAMESPACE=$DEV_PROJECT -p DEV_PROJECT=$DEV_PROJECT -p TEST_PROJECT=$TEST_PROJECT -p PROD_PROJECT=$PROD_PROJECT -p PROD_PROJECT=rh-prod -p PRIVATE_BASE_URL=http://maingateway-service-rh-test.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_PRODUCTION_WILDCARD_DOMAIN=app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p PUBLIC_STAGING_WILDCARD_DOMAIN=staging.app.middleware.ocp.cloud.lab.eng.bos.redhat.com -p [email protected]

@redhatHameed
Copy link
Collaborator

redhatHameed commented Sep 3, 2019

@jdanekrh Fixed, Please make sure you are reviewing from PR - #37

@jirkadanek
Copy link
Contributor Author

I'm going to wait for the PR to land and I'll review then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants