Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from blackducksoftware/broker-rearch
Rearchitecture of the Cloud Foundry integration
- Loading branch information
Showing
148 changed files
with
6,160 additions
and
1,826 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/.project | ||
/.DS_Store | ||
.gradle | ||
.project | ||
.project | ||
.settings/org.eclipse.buildship.core.prefs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
...ftware/integration/cloudfoundry/servicebroker/app/api/BackendBindingProvisionRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
* Copyright (C) 2018 Black Duck Software Inc. | ||
* http://www.blackducksoftware.com/ | ||
* All rights reserved. | ||
* | ||
* This software is the confidential and proprietary information of | ||
* Black Duck Software ("Confidential Information"). You shall not | ||
* disclose such Confidential Information and shall use it only in | ||
* accordance with the terms of the license agreement you entered into | ||
* with Black Duck Software. | ||
*/ | ||
package com.blackducksoftware.integration.cloudfoundry.servicebroker.app.api; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* @author fisherj | ||
* | ||
*/ | ||
public final class BackendBindingProvisionRequest { | ||
private final String bindingId; | ||
|
||
private final String resourceId; | ||
|
||
private final BindResource bindResource; | ||
|
||
private final HubProjectParameters hubProjectParams; | ||
|
||
@JsonCreator | ||
public BackendBindingProvisionRequest(@JsonProperty("bindingId") String bindingId, | ||
@JsonProperty("resourceId") String resourceId, | ||
@JsonProperty("bindResource") BindResource bindResource, | ||
@JsonProperty("hubProjectParameters") HubProjectParameters hubProjectParams) { | ||
this.bindingId = bindingId; | ||
this.resourceId = resourceId; | ||
this.bindResource = bindResource; | ||
this.hubProjectParams = hubProjectParams; | ||
} | ||
|
||
@JsonProperty("bindingId") | ||
public final String getBindingId() { | ||
return bindingId; | ||
} | ||
|
||
@JsonProperty("resourceId") | ||
public final String getResourceId() { | ||
return resourceId; | ||
} | ||
|
||
@JsonProperty("bindResource") | ||
public final BindResource getBindResource() { | ||
return bindResource; | ||
} | ||
|
||
@JsonProperty("hubProjectParameters") | ||
public final HubProjectParameters getHubProjectParams() { | ||
return hubProjectParams; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ntegration/cloudfoundry/servicebroker/app/api/BackendServiceInstanceProvisionRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright (C) 2018 Black Duck Software Inc. | ||
* http://www.blackducksoftware.com/ | ||
* All rights reserved. | ||
* | ||
* This software is the confidential and proprietary information of | ||
* Black Duck Software ("Confidential Information"). You shall not | ||
* disclose such Confidential Information and shall use it only in | ||
* accordance with the terms of the license agreement you entered into | ||
* with Black Duck Software. | ||
*/ | ||
package com.blackducksoftware.integration.cloudfoundry.servicebroker.app.api; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* @author fisherj | ||
* | ||
*/ | ||
public final class BackendServiceInstanceProvisionRequest { | ||
private final String serviceInstanceId; | ||
|
||
@JsonCreator | ||
public BackendServiceInstanceProvisionRequest(@JsonProperty("serviceInstanceId") String serviceInstanceId) { | ||
this.serviceInstanceId = serviceInstanceId; | ||
} | ||
|
||
@JsonProperty("serviceInstanceId") | ||
public final String getServiceInstanceId() { | ||
return serviceInstanceId; | ||
} | ||
} |
Oops, something went wrong.