forked from vmware-archive/admiral
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rafactor pks adapter, add create endpoint service
- Refactoring existing code - Added create endpoint service dealing with accepting the certificates - Add logic allowing validating connection by making get plans call - Allow connect to PKS anonymously - without providing credentials - Moving some classes to more appropriate modules, still work is left - When importing certificate store the host uri in a field named origin - Added list plans operation to the adapter and remote client Change-Id: I73badac77856896e2ed07653609dfd0676d965cc Reviewed-on: https://bellevue-ci.eng.vmware.com:8080/36288 Reviewed-by: Miroslav Shipkovenski <[email protected]> Bellevue-Verified: e_vcoauto_glob_1 <[email protected]> Closures-Verified: e_vcoauto_glob_1 <[email protected]> CS-Verified: e_vcoauto_glob_1 <[email protected]> Upgrade-Verified: e_vcoauto_glob_1 <[email protected]>
- Loading branch information
Showing
21 changed files
with
704 additions
and
73 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
adapter/common/src/main/java/com/vmware/admiral/adapter/pks/PKSConstants.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,23 @@ | ||
/* | ||
* Copyright (c) 2018 VMware, Inc. All Rights Reserved. | ||
* | ||
* This product is licensed to you under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this product except in compliance with the License. | ||
* | ||
* This product may include a number of subcomponents with separate copyright notices | ||
* and license terms. Your use of these subcomponents is subject to the terms and | ||
* conditions of the subcomponent's license, as noted in the LICENSE file. | ||
*/ | ||
|
||
package com.vmware.admiral.adapter.pks; | ||
|
||
/** | ||
* Set of constants related with PKS | ||
*/ | ||
public interface PKSConstants { | ||
|
||
String CLUSTER_NAME_PROP_NAME = "__clusterName"; | ||
String VALIDATE_CONNECTION = "validate_connection"; | ||
String CREDENTIALS_LINK = "credentials"; | ||
|
||
} |
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
File renamed without changes.
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
Oops, something went wrong.