diff --git a/manifest.yml b/manifest.yml index 8a71d4f..2743af5 100644 --- a/manifest.yml +++ b/manifest.yml @@ -3,5 +3,5 @@ applications: - name: axway-apim-service-broker memory: 1G random-route: true - path: target/apim-service-broker-1.1.5.jar + path: target/apim-service-broker-1.1.6.jar \ No newline at end of file diff --git a/param.json b/param.json index 2fedc42..94934ee 100644 --- a/param.json +++ b/param.json @@ -1,5 +1,5 @@ { "apiname": "pcftest", "type":"swagger", - "uri": "/v3/swagger.json" + "uri": "http://greeting-app-interested-fossa.apps.sanpablo.cf-app.com/api/v3/swagger.json" } \ No newline at end of file diff --git a/pom.xml b/pom.xml index 397ac63..bfa65c5 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.axway.apim apim-service-broker - 1.1.5 + 1.1.6 jar axway-apim-service-broker Axway APIM Service Broker diff --git a/src/main/java/com/axway/apim/servicebroker/service/AxwayAPIClient.java b/src/main/java/com/axway/apim/servicebroker/service/AxwayAPIClient.java index fbb3c86..0b65eb2 100644 --- a/src/main/java/com/axway/apim/servicebroker/service/AxwayAPIClient.java +++ b/src/main/java/com/axway/apim/servicebroker/service/AxwayAPIClient.java @@ -194,7 +194,7 @@ public String createFrontend(String backendAPIId, String orgId, String userId) { return frontEndAPIResponse; } - public void applySecurity(String frontEndAPIResponse, String bindingId, String userId) + public void applySecurity(String frontEndAPIResponse, String bindingId, String vhost, String userId) throws ServiceBrokerException { JsonNode jsonNode; try { @@ -208,7 +208,9 @@ public void applySecurity(String frontEndAPIResponse, String bindingId, String u ArrayNode devices = (ArrayNode) ((ArrayNode) jsonNode.findPath("securityProfiles")).get(0).get("devices"); String virtualAPIId = jsonNode.findPath("id").asText(); - ((ObjectNode) jsonNode).put("path", "/" + bindingId); + ((ObjectNode) jsonNode).put(CF_BINDING_ID, bindingId); + ((ObjectNode) jsonNode).put(VHOST, vhost); + //((ObjectNode) jsonNode).put("path", "/" + bindingId); // ((ObjectNode) jsonNode).put("createdBy" , userId); logger.debug("Security Device {}", devices.getClass().getName()); diff --git a/src/main/java/com/axway/apim/servicebroker/service/AxwayServiceBrokerImpl.java b/src/main/java/com/axway/apim/servicebroker/service/AxwayServiceBrokerImpl.java index 56a1927..2f92568 100644 --- a/src/main/java/com/axway/apim/servicebroker/service/AxwayServiceBrokerImpl.java +++ b/src/main/java/com/axway/apim/servicebroker/service/AxwayServiceBrokerImpl.java @@ -91,7 +91,7 @@ public void importAPI(Map parameters, String appRouteURL, String String response = axwayAPIClient.createBackend(apiName, orgId, type, apiURI); String backendAPIId = JsonPath.parse(response).read("$.id", String.class); response = axwayAPIClient.createFrontend(backendAPIId, orgId, userId); - axwayAPIClient.applySecurity(response, bindingId,userId); + axwayAPIClient.applySecurity(response, bindingId, appRouteURL, userId); } @@ -104,7 +104,7 @@ public boolean deleteAPI(String bindingId, String serviceInstanceId, String emai // Get the API based on the name and apply the filters like unpublished String responseBody = axwayAPIClient.listAPIs(); List> apis = JsonPath.parse(responseBody).read( - "$.*[?(@.organizationId =='" + orgId + "' && @.path =='/" + bindingId + "' && @.state =='published')]"); + "$.*[?(@.organizationId =='" + orgId + "' && @.cfBindingId =='" + bindingId + "' && @.state =='published')]"); logger.info("Published APIs {} :" ,apis); if (!apis.isEmpty()) { @@ -112,7 +112,7 @@ public boolean deleteAPI(String bindingId, String serviceInstanceId, String emai } else { apis = JsonPath.parse(responseBody).read( - "$.*[?(@.organizationId =='" + orgId + "' && @.path =='/" + bindingId + "' && @.state =='unpublished')]"); + "$.*[?(@.organizationId =='" + orgId + "' && @.cfBindingId =='" + bindingId + "' && @.state =='unpublished')]"); logger.info("unpublished APIs {} :" ,apis); if (!apis.isEmpty()) { Map apiDefinition = apis.get(0); diff --git a/src/main/java/com/axway/apim/servicebroker/service/Constants.java b/src/main/java/com/axway/apim/servicebroker/service/Constants.java index 2a24292..21e5849 100644 --- a/src/main/java/com/axway/apim/servicebroker/service/Constants.java +++ b/src/main/java/com/axway/apim/servicebroker/service/Constants.java @@ -4,12 +4,8 @@ public interface Constants { public String API_BASEPATH = "/api/portal/v1.3/"; public String DOT = "."; - public String PUBLISHED = "published"; - public String UNPUBLISHED = "unpublished"; - public String PENDING = "pending"; - - public String AUTHORIZATION_HEADER_NAME= "Authorization"; - + public String CF_BINDING_ID= "cfBindingId"; + public String VHOST = "vhost"; } diff --git a/src/main/resources/apiproject/CertStore-4b6f66e5-8843-4756-9d0f-21a1f2e481c9.md5 b/src/main/resources/apiproject/CertStore-4b6f66e5-8843-4756-9d0f-21a1f2e481c9.md5 index 0ec2745..cc43a71 100644 --- a/src/main/resources/apiproject/CertStore-4b6f66e5-8843-4756-9d0f-21a1f2e481c9.md5 +++ b/src/main/resources/apiproject/CertStore-4b6f66e5-8843-4756-9d0f-21a1f2e481c9.md5 @@ -1 +1 @@ -3d0da87c034e84aa58dddbab763a6734 \ No newline at end of file +b7815b83efe6110e48145f22c8f3a915 \ No newline at end of file diff --git a/src/main/resources/apiproject/CertStore-4b6f66e5-8843-4756-9d0f-21a1f2e481c9.xml b/src/main/resources/apiproject/CertStore-4b6f66e5-8843-4756-9d0f-21a1f2e481c9.xml index 4ee19b0..f032191 100644 --- a/src/main/resources/apiproject/CertStore-4b6f66e5-8843-4756-9d0f-21a1f2e481c9.xml +++ b/src/main/resources/apiproject/CertStore-4b6f66e5-8843-4756-9d0f-21a1f2e481c9.xml @@ -198,16 +198,6 @@ CN=DigiCert Global Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US LOCAL - - - MIIG3zCCBcegAwIBAgIQdBaMzNp7Kf8lQvNe0/NQDTANBgkqhkiG9w0BAQsFADBEMQswCQYDVQQG EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMUR2VvVHJ1c3QgU1NMIENBIC0g RzMwHhcNMTcwMjA3MDAwMDAwWhcNMTkwNTA5MjM1OTU5WjB0MQswCQYDVQQGEwJVUzEQMA4GA1UE CAwHQXJpem9uYTEQMA4GA1UEBwwHUGhvZW5peDETMBEGA1U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xOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDEgUHVibGljIFByaW1hcnkg Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC ggEBAN2E1Lm0+afY8wR4nN493GwTFtl63SRRZsDHJlkNrAYIwpTRMx/wgzUfbhvI3qpuFU5UJ+/E bRrsC+MO8ESlV8dAWB6jRx9x7GD2bZTIGDnt/kIYVt/kTEkQeE4BdjVjEjbdZrwBBDajVWjVojYJ rKshJlQGrT/KFOCsyq0GHZXi+J3x4GD/wn91K0zM2v6HmSHquv4+VNfSWXjbPG7PoBMAGrgnoeS+ Z5bKoMWznN3JdZ7rMJpfo83ZrngZPyPpXNspva1VyBtUjGP26KbqxzcSXKMpHgLZ2x87tNcPVkeB FQRKr4Mn0cVYiMHd9qqnoxjaaKptEVHhv2Vrn5Z20T0CAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA q2aN17O6x5q25lXQBfGfMY1aqtmqRiYPce2lrVNWYgFHKkTp/j90CxObufRNG7LRX7K20ohcs5/N y9Sn2WCVhDr4wTcdYcrnsMXlkdpUpqwxga6X3s0IrLjAl4B/bnKk52kTlWUfxJM8/XmPBNQ+T+r3 ns7NZ3xPZQL/kYVUc8f/NveGLezQXk//EZ9yBta4GvFMDSZl4kSAHsef493oCtrspSCAaWihT37h a88HQfqDjrw43bAuEbFrskLMmrz5SCJ5ShkPshw+IHTZasO+8ih4E1Z5T21Q6huwtVexN2ZYI/Pc D98Kh8TvhgXVOBRgmaNL3gaWcSzy27YfpO8/7g== CN=VeriSign Class 1 Public Primary Certification Authority - G3, OU="(c) 1999 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US @@ -333,6 +323,16 @@ CN=thawte Primary Root CA, OU="(c) 2006 thawte, Inc. - For authorized use only", OU=Certification Services Division, O="thawte, Inc.", C=US LOCAL + + + MIICuTCCAaECBgFq4Xx1VjANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQDExVwaHgtMjguZGVtby5h eHdheS5jb20wHhcNMTkwNTIyMjEzOTAwWhcNMjAwNTIyMjEzOTAwWjAgMR4wHAYDVQQDExVwaHgt MjguZGVtby5heHdheS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVJ0DzSCr PKAEXNv7YlwpVoVOLKNilyxPaasq9+tfy1jk5kYgIs5v2aQIOElgIe42vWb6AF489RAPoDRYX1Xd /jz76XDtXoc2Aoj/FPjhWzga2uuw3vhzCHaiHBJVgG15rZTOzhLcOjQMdosVoFzEJCR0T7jYHXxM CoZSgZGT73Gw9SonYCZ6cppoNbZQsg6YwJxxdBX1vR2wd7FGCg3g5zoa1gr4Wg86m4eapgA+9XxX +yDXLrb7UPyZVf+Zo0k9AX/wxNs/VGS7OuJ3xbdqba5+ox1vGkXYtrc2iPlvEcxAizG+tOuaxSlt /BHcNMLeZ+bqWF4GAo72E8BNDdK5AgMBAAEwDQYJKoZIhvcNAQELBQADggEBAHH3SZ+b7jUyemkZ 45LcOrDwV7RBZ7D9UMz2yBgqdWbX+iykNBu+YD+IpjTvGU1QwdPCq9smy+v+sJNYm+axhpw8a2iO mEeeoyEAXPNUffMXZojwumEwhy1PK3WjOl5Y08gL5DnXT6bEGFp9onuOTupT3NDjghAXTnp5PI9E NvjIJ50w2HUUNsnLYPOAy5EczEnPvpWV+pzuwgk6hHtntch9Byr2F/zTa+Za30x3tHGLXrU6cwgO h2uIwkDVnakXuXluY7ueXvmZ4A01kGQjein2tZMMQHKvt31iRwZ6UDTcUG8HlkJrJNOY76tKN6R5 FIXOR/N+Adp7pYausIidzYs= + CN=phx-28.demo.axway.com + + -1 + MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDJVJ0DzSCrPKAEXNv7YlwpVoVO LKNilyxPaasq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pa XCUDfGD67gmZPCcQcMgMCeazh88K4hiWNWLMv5sneYlfycQJ9M61Hd8qveXbhpxoJeUwfLaJFf5n 0a3hUKw8fGJLj7qE1xIVGx/KXQ/BUpQqEZnae88MNhPVNdwQGVnqlMEAv3WP2fr9dgTbYruQagPZ RjXZ+Hxb OU=Class 1 Public Primary Certification Authority, O="VeriSign, Inc.", C=US @@ -567,6 +567,16 @@ CN=America Online Root Certification Authority 1, O=America Online Inc., C=US LOCAL + + + MIIG9zCCBd+gAwIBAgIQCikw7rziTgkKORDRGM3z0DANBgkqhkiG9w0BAQsFADBeMQswCQYDVQQG EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMR0w GwYDVQQDExRHZW9UcnVzdCBSU0EgQ0EgMjAxODAeFw0xOTAyMTEwMDAwMDBaFw0yMTA1MTIxMjAw MDBaMHQxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRAwDgYDVQQHEwdQaG9lbml4MRMw EQYDVQQKEwpBeHdheSBJbmMuMREwDwYDVQQLEwhBeHdheSBJVDEZMBcGA1UEAwwQKi5kZW1vLmF4 d2F5LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK7zpA1xhXp8RsnIoeKD68Nu 7N1DyWfg4KxggUlJTlmsjWoyxTWDuxPyEv4loQXuX6zN638jS82O4eVy2Wu2ucfBIJeteUv+CW12 3bNJcGvbghEoJsPE30wTGC0uAsHEYq5LKbdZSGiO0mNNfoTVrnPkTqMb3mC+fk0CNHnKRg8xvFHW aqgZBXi7MKRXxSJrK5BCdWF9LMXd6KwojGgO5WnI+CsjJ2CG2cSAsChx6B0EVUCZmZe1SNJwYBTu ZRq3OJR8L/4zSNkGm3996vky4CZlnX5ajmAI4Wxf8ozjdyll3ZPYcQGF0Zk9ohFSfIRan364HABQ 0je9wslscn97x1MCAwEAAaOCA5kwggOVMB8GA1UdIwQYMBaAFJB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QSUreGtN67plutQCGwMHo l9PBgx2MIYejrfAxKVcwnuAUm8bu + + LOCAL + MIICjzCCAhWgAwIBAgIQXIuZxVqUxdJxVt7NiYDMJjAKBggqhkjOPQQDAzCBiDELMAkGA1UEBhMC VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv biBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMC VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQarFRaqfloI+d61SRvU8Za2EurxtW2 0eZzca7dnNYMYf3boIkDuAUU7FfO7l0/4iGzzvfUinngo4N+LZfQYcTxmdwlkWOrfzCjtHDix6Ez nPO/LlxTsV+zfTJ/ijTjeXmjQjBAMB0GA1UdDgQWBBQ64QmG1M8ZwpZ2dEl23OA1xmNjmjAOBgNV HQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjA2Z6EWCNzklwBB HU6+4WMBzzuqQhFkoJ2UOQIReVx7Hfpkue4WQrO/isIJxOzksU0CMQDpKmFHjFJKS04YcPbWRNZu 9YO6bVi9JNlWSOrvxKJGgYhqOkbRqZtNyWHa0V1Xahg= CN=USERTrust ECC Certification Authority, O=The USERTRUST Network, L=Jersey City, ST=New Jersey, C=US diff --git a/src/main/resources/apiproject/ExtConnsStore-5b0a69d8-605d-4702-b8d4-6a08e8d28e13.md5 b/src/main/resources/apiproject/ExtConnsStore-5b0a69d8-605d-4702-b8d4-6a08e8d28e13.md5 index 12ba159..b709fab 100644 --- a/src/main/resources/apiproject/ExtConnsStore-5b0a69d8-605d-4702-b8d4-6a08e8d28e13.md5 +++ b/src/main/resources/apiproject/ExtConnsStore-5b0a69d8-605d-4702-b8d4-6a08e8d28e13.md5 @@ -1 +1 @@ -c017d525fb3c023ebbfe134c55339d88 \ No newline at end of file +a6937eb0f1da456bd3362d4f79a329ee \ No newline at end of file diff --git a/src/main/resources/apiproject/ExtConnsStore-5b0a69d8-605d-4702-b8d4-6a08e8d28e13.xml b/src/main/resources/apiproject/ExtConnsStore-5b0a69d8-605d-4702-b8d4-6a08e8d28e13.xml index 209820c..ff8ce8b 100644 --- a/src/main/resources/apiproject/ExtConnsStore-5b0a69d8-605d-4702-b8d4-6a08e8d28e13.xml +++ b/src/main/resources/apiproject/ExtConnsStore-5b0a69d8-605d-4702-b8d4-6a08e8d28e13.xml @@ -1562,7 +1562,7 @@ 120 - 1 + 0 30 1 1000 @@ -1878,7 +1878,7 @@ ${oauth.saml.assertion} 60 - + 8400 AuthorizationHeader salesforce jwt app diff --git a/src/main/resources/apiproject/ListenersStore-40ff9cb3-ecfc-45b7-bac5-be811d2d18c1.md5 b/src/main/resources/apiproject/ListenersStore-40ff9cb3-ecfc-45b7-bac5-be811d2d18c1.md5 index 630a7cf..a522599 100644 --- a/src/main/resources/apiproject/ListenersStore-40ff9cb3-ecfc-45b7-bac5-be811d2d18c1.md5 +++ b/src/main/resources/apiproject/ListenersStore-40ff9cb3-ecfc-45b7-bac5-be811d2d18c1.md5 @@ -1 +1 @@ -a2b86db7f36de6252271f0ffd610e77c \ No newline at end of file +e542648829845176ae3a53db60aa67a4 \ No newline at end of file diff --git a/src/main/resources/apiproject/ListenersStore-40ff9cb3-ecfc-45b7-bac5-be811d2d18c1.xml b/src/main/resources/apiproject/ListenersStore-40ff9cb3-ecfc-45b7-bac5-be811d2d18c1.xml index 20ac439..c6fe7bf 100644 --- a/src/main/resources/apiproject/ListenersStore-40ff9cb3-ecfc-45b7-bac5-be811d2d18c1.xml +++ b/src/main/resources/apiproject/ListenersStore-40ff9cb3-ecfc-45b7-bac5-be811d2d18c1.xml @@ -1301,7 +1301,7 @@ 0 false - + 32 nosslv2 @@ -2702,7 +2702,7 @@ 0 false - + 32 notlsv1_1 @@ -2729,6 +2729,32 @@ -1 PCF + + 60000 + * + false + 64 + 1 + 1 + 60000 + .inherit + 27262976 + 8080 + SYSTEM + .inherit + 8080 + ipv4 + 1 + 1 + 1 + 1 + 1 + 1 + false + INHERIT + 0 + -1 + 60000 * @@ -2758,7 +2784,7 @@ 0 false - + 32 notlsv1_1 @@ -2770,6 +2796,44 @@ 0 -1 + + -1 + HTTP + 0 + 1 + 1 + + + * + 2 + LONGEST + 0 + /health + + + -1 + true + CUSTOM_POLICY_RSP + 3 + + + system.policy.response + 1 + GLOBAL_POLICY_RSP + 4 + + + -1 + true + CUSTOM_POLICY_REQ + 1 + + + system.policy.request + 1 + GLOBAL_POLICY_REQ + 0 + -1 HTTP @@ -4027,7 +4091,7 @@ 0 false - + 32 nosslv2 diff --git a/src/main/resources/apiproject/PrimaryStore-e80e7788-1aec-4d7b-a83c-d2975f1151e3.md5 b/src/main/resources/apiproject/PrimaryStore-e80e7788-1aec-4d7b-a83c-d2975f1151e3.md5 index ae57b0b..4b7097e 100644 --- a/src/main/resources/apiproject/PrimaryStore-e80e7788-1aec-4d7b-a83c-d2975f1151e3.md5 +++ b/src/main/resources/apiproject/PrimaryStore-e80e7788-1aec-4d7b-a83c-d2975f1151e3.md5 @@ -1 +1 @@ -b6b003892931c967dfdaee50cad944b1 \ No newline at end of file +034f4708296332260654ba2407d10019 \ No newline at end of file diff --git a/src/main/resources/apiproject/PrimaryStore-e80e7788-1aec-4d7b-a83c-d2975f1151e3.xml b/src/main/resources/apiproject/PrimaryStore-e80e7788-1aec-4d7b-a83c-d2975f1151e3.xml index a6cc2e4..a40bf24 100644 --- a/src/main/resources/apiproject/PrimaryStore-e80e7788-1aec-4d7b-a83c-d2975f1151e3.xml +++ b/src/main/resources/apiproject/PrimaryStore-e80e7788-1aec-4d7b-a83c-d2975f1151e3.xml @@ -11883,7 +11883,7 @@ ${http.request.url} 60 - + Filter failed Filter aborted due to exception 2 @@ -12525,7 +12525,7 @@ ${http.request.url} 60 - + Filter failed Filter aborted due to exception 2 @@ -13198,11 +13198,11 @@ 2445048531674422895 FIPS:!SSLv3:!aNULL - false + 0 -1 - 0 + 1 1 - false + 0 Failed to route request to endpoint. Error occurred while routing request to endpoint. Error: ${circuit.exception} 2 @@ -13238,7 +13238,7 @@ 0 0 - http://localhost:7070${http.request.path}${path} + http://localhost:7070${path} 1 @@ -13270,7 +13270,7 @@ Passed script filter Get Path from X-Cf-Forwarded-Url - import java.net.URI; def invoke(msg) { def url = msg.get("url"); def URI = new URI(url); def path = URI.getRawPath(); msg.put("path",path); return true; } + import java.net.URI; def invoke(msg) { def url = msg.get("url"); def URI = new URI(url); def path = URI.getRawPath(); msg.put("path",path); def httpHeaders = msg.get("http.headers"); def port = URI.getPort(); if ( port == -1) { httpHeaders.setHeader("Host", URI.getHost()); } else{ httpHeaders.setHeader("Host", URI.getHost() + ":" + port); } return true; } 2331372335669071159 diff --git a/src/test/resources/__files/list_frontend_response.json b/src/test/resources/__files/list_frontend_response.json index 8b4a628..eb51752 100644 --- a/src/test/resources/__files/list_frontend_response.json +++ b/src/test/resources/__files/list_frontend_response.json @@ -106,7 +106,8 @@ "Standard": [ "FHIR" ] - } + }, + "cfBindingId": "78a38296-bded-44a9-9329-f2cd0a92e962" }, { "id": "f9393827-7890-4b5c-8112-bd14d20e43d8",