Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add delete and retrieveAll endpoints for client metadata
[#109263482] https://www.pivotaltracker.com/story/show/109263482 Signed-off-by: Jonathan Lo <jlo@us.ibm.com> Signed-off-by: Madhura Bhave <mbhave@pivotal.io>
- Loading branch information
1 parent
fa19840
commit e54f06c
Showing
12 changed files
with
278 additions
and
120 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
25 changes: 0 additions & 25 deletions
25
...r/src/main/java/org/cloudfoundry/identity/uaa/client/ClientMetadataNotFoundException.java
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
server/src/main/java/org/cloudfoundry/identity/uaa/client/ClientNotFoundException.java
This file was deleted.
Oops, something went wrong.
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
4 changes: 2 additions & 2 deletions
4
...org/cloudfoundry/identity/uaa/db/hsqldb/V3_0_2__New_Table_For_Storing_Client_Metadata.sql
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,11 @@ | |||
CREATE TABLE oauth_client_metadata ( | CREATE TABLE oauth_client_metadata ( | ||
id VARCHAR(255) NOT NULL, | id VARCHAR(255) NOT NULL, | ||
client_id VARCHAR(255) NOT NULL, | client_id VARCHAR(255) NOT NULL UNIQUE, | ||
identity_zone_id VARCHAR(36) NOT NULL, | identity_zone_id VARCHAR(36) NOT NULL, | ||
show_on_home_page BOOLEAN DEFAULT TRUE NOT NULL, | show_on_home_page BOOLEAN DEFAULT TRUE NOT NULL, | ||
app_launch_url VARCHAR(1024), | app_launch_url VARCHAR(1024), | ||
app_icon BLOB, | app_icon BLOB, | ||
version INT DEFAULT 0 NOT NULL, | version INT DEFAULT 0 NOT NULL, | ||
PRIMARY KEY (id), | PRIMARY KEY (id), | ||
CONSTRAINT FK_client_details FOREIGN KEY (client_id,identity_zone_id) REFERENCES oauth_client_details(client_id,identity_zone_id) | CONSTRAINT FK_client_details FOREIGN KEY (client_id,identity_zone_id) REFERENCES oauth_client_details(client_id,identity_zone_id) | ||
); | ); |
4 changes: 2 additions & 2 deletions
4
.../org/cloudfoundry/identity/uaa/db/mysql/V3_0_2__New_Table_For_Storing_Client_Metadata.sql
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,11 @@ | |||
CREATE TABLE oauth_client_metadata ( | CREATE TABLE oauth_client_metadata ( | ||
id VARCHAR(255) NOT NULL, | id VARCHAR(255) NOT NULL, | ||
client_id VARCHAR(255) NOT NULL, | client_id VARCHAR(255) NOT NULL UNIQUE, | ||
identity_zone_id VARCHAR(36) NOT NULL, | identity_zone_id VARCHAR(36) NOT NULL, | ||
show_on_home_page BOOLEAN DEFAULT TRUE NOT NULL, | show_on_home_page BOOLEAN DEFAULT TRUE NOT NULL, | ||
app_launch_url VARCHAR(1024), | app_launch_url VARCHAR(1024), | ||
app_icon MEDIUMBLOB, | app_icon MEDIUMBLOB, | ||
version INT DEFAULT 0 NOT NULL, | version INT DEFAULT 0 NOT NULL, | ||
PRIMARY KEY (id), | PRIMARY KEY (id), | ||
CONSTRAINT FK_client_details FOREIGN KEY (client_id,identity_zone_id) REFERENCES oauth_client_details(client_id,identity_zone_id) | CONSTRAINT FK_client_details FOREIGN KEY (client_id,identity_zone_id) REFERENCES oauth_client_details(client_id,identity_zone_id) | ||
); | ); |
4 changes: 2 additions & 2 deletions
4
...cloudfoundry/identity/uaa/db/postgresql/V3_0_2__New_Table_For_Storing_Client_Metadata.sql
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,11 @@ | |||
CREATE TABLE oauth_client_metadata ( | CREATE TABLE oauth_client_metadata ( | ||
id VARCHAR(256) NOT NULL, | id VARCHAR(256) NOT NULL, | ||
client_id VARCHAR(256) NOT NULL, | client_id VARCHAR(256) NOT NULL UNIQUE, | ||
identity_zone_id VARCHAR(36) NOT NULL, | identity_zone_id VARCHAR(36) NOT NULL, | ||
show_on_home_page BOOLEAN DEFAULT TRUE NOT NULL, | show_on_home_page BOOLEAN DEFAULT TRUE NOT NULL, | ||
app_launch_url VARCHAR(1024), | app_launch_url VARCHAR(1024), | ||
app_icon BYTEA, | app_icon BYTEA, | ||
version INT DEFAULT 0 NOT NULL, | version INT DEFAULT 0 NOT NULL, | ||
PRIMARY KEY (id), | PRIMARY KEY (id), | ||
CONSTRAINT FK_client_details FOREIGN KEY (client_id,identity_zone_id) REFERENCES oauth_client_details(client_id,identity_zone_id) | CONSTRAINT FK_client_details FOREIGN KEY (client_id,identity_zone_id) REFERENCES oauth_client_details(client_id,identity_zone_id) | ||
); | ); |
Oops, something went wrong.