-
Notifications
You must be signed in to change notification settings - Fork 932
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backwards compatibility for getCurrentOrg and getCurrentSpace
getCurrentOrg returns Organization getOrg returns OrganizationDetails getOrgs returns OrganizationSummary getCurrentSpace returns Space getSpace returns SpaceDetails getSpaces returns SpaceSummary [#97159474] Signed-off-by: Andrew Edgar <aedgar@ca.ibm.com>
- Loading branch information
1 parent
9f62637
commit 271069d
Showing
14 changed files
with
90 additions
and
60 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package plugin_models | ||
|
||
type Organization struct { | ||
type OrganizationFields struct { | ||
Guid string | ||
Name string | ||
QuotaDefinition QuotaFields | ||
Spaces []SpaceFields | ||
Domains []DomainFields | ||
SpaceQuotas []SpaceQuotaFields | ||
} | ||
|
||
type Organization struct { | ||
OrganizationFields | ||
} |
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,10 @@ | ||
package plugin_models | ||
|
||
type OrganizationDetails struct { | ||
Guid string | ||
Name string | ||
QuotaDefinition QuotaFields | ||
Spaces []SpaceFields | ||
Domains []DomainFields | ||
SpaceQuotas []SpaceQuotaFields | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package plugin_models | ||
|
||
type SpaceDetails struct { | ||
SpaceFields | ||
Organization OrganizationSummary | ||
Applications []ApplicationSummary | ||
//ServiceInstances []ServiceInstances | ||
Domains []DomainFields | ||
SecurityGroups []SecurityGroupFields | ||
SpaceQuotaGuid string | ||
} |
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
Oops, something went wrong.