Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Commit 714dbc4

Browse files
authored
Merge pull request #6 from Axway-API-Management-Plus/develop
Develop
2 parents 6ee4f30 + 8d07bb6 commit 714dbc4

27 files changed

+833
-619
lines changed

manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ applications:
33
- name: axway-apim-service-broker
44
memory: 1G
55
random-route: true
6-
path: target/apim-service-broker-1.1.7.jar
6+
path: target/apim-service-broker-1.1.8.jar
77

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.axway.apim</groupId>
77
<artifactId>apim-service-broker</artifactId>
8-
<version>1.1.7</version>
8+
<version>1.1.8</version>
99
<packaging>jar</packaging>
1010
<name>axway-apim-service-broker</name>
1111
<description>Axway APIM Service Broker</description>
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
package com.axway.apim.servicebroker;
22

3+
import com.axway.apim.servicebroker.service.Constants;
4+
import org.slf4j.Logger;
5+
import org.slf4j.LoggerFactory;
36
import org.springframework.boot.SpringApplication;
47
import org.springframework.boot.autoconfigure.SpringBootApplication;
58

69
@SpringBootApplication
710
public class AxwayServiceBrokerApplication {
11+
private static final Logger logger = LoggerFactory.getLogger(AxwayServiceBrokerApplication.class);
812

9-
public static void main(String[] args) {
10-
SpringApplication.run(AxwayServiceBrokerApplication.class, args);
11-
}
13+
public static void main(String[] args) {
14+
logger.info("Version : {}", Constants.VERSION);
15+
SpringApplication.run(AxwayServiceBrokerApplication.class, args);
16+
}
1217
}

src/main/java/com/axway/apim/servicebroker/model/APIOrganization.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ public class APIOrganization {
1313
private String phone;
1414
private boolean enabled = true;
1515
private boolean development = true;
16-
1716
//custom attribute
1817
private String service_instance_id;
19-
20-
21-
18+
2219
public String getId() {
2320
return id;
2421
}
@@ -73,6 +70,4 @@ public String getService_instance_id() {
7370
public void setService_instance_id(String service_instance_id) {
7471
this.service_instance_id = service_instance_id;
7572
}
76-
77-
7873
}

src/main/java/com/axway/apim/servicebroker/model/APIOrganizationAccess.java

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@
55
@JsonIgnoreProperties(ignoreUnknown = true)
66
public class APIOrganizationAccess {
77

8-
private String id;
9-
private String apiId;
10-
public String getId() {
11-
return id;
12-
}
13-
public void setId(String id) {
14-
this.id = id;
15-
}
16-
public String getApiId() {
17-
return apiId;
18-
}
19-
public void setApiId(String apiId) {
20-
this.apiId = apiId;
21-
}
22-
23-
8+
private String id;
9+
private String apiId;
2410

11+
public String getId() {
12+
return id;
13+
}
14+
15+
public void setId(String id) {
16+
this.id = id;
17+
}
18+
19+
public String getApiId() {
20+
return apiId;
21+
}
22+
23+
public void setApiId(String apiId) {
24+
this.apiId = apiId;
25+
}
2526
}

src/main/java/com/axway/apim/servicebroker/model/APISecurity.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ public class APISecurity {
77
private String name = "Pass Through";
88
private String type = "passThrough";
99
private int order = 1;
10-
11-
10+
1211
private Properties properties;
1312

1413
public APISecurity(){
@@ -17,8 +16,7 @@ public APISecurity(){
1716
properties.setProperty("removeCredentialsOnSuccess", "true");
1817

1918
}
20-
21-
19+
2220
public String getName() {
2321
return name;
2422
}
@@ -50,6 +48,4 @@ public Properties getProperties() {
5048
public void setProperties(Properties properties) {
5149
this.properties = properties;
5250
}
53-
54-
5551
}

src/main/java/com/axway/apim/servicebroker/model/APIUser.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ public class APIUser {
1818
private long createdOn; //(integer, optional): Epoch/Unix time stamp when the organization was created ,
1919
private String state = "approved"; //(string, optional): The current state of the account, one of: approved, pending ,
2020
private String type = "internal"; //(string, optional): Indicates the type of user. Possible values: internal, external ,
21-
22-
23-
21+
2422
public String getId() {
2523
return id;
2624
}
@@ -75,7 +73,6 @@ public String getRole() {
7573
public void setRole(String role) {
7674
this.role = role;
7775
}
78-
7976
public boolean isEnabled() {
8077
return enabled;
8178
}
@@ -100,6 +97,4 @@ public String getType() {
10097
public void setType(String type) {
10198
this.type = type;
10299
}
103-
104-
105100
}

src/main/java/com/axway/apim/servicebroker/model/FrondendAPI.java renamed to src/main/java/com/axway/apim/servicebroker/model/FrontendAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
44

55
@JsonIgnoreProperties(ignoreUnknown = true)
6-
public class FrondendAPI {
6+
public class FrontendAPI {
77

88
private String id;
99
private String apiId;

src/main/java/com/axway/apim/servicebroker/model/Type.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22

33
public enum Type {
44
SWAGGER, WSDL
5-
65
}

0 commit comments

Comments
 (0)