Skip to content

Commit

Permalink
Secret server 1.9 (#836)
Browse files Browse the repository at this point in the history
* Change name to IBM Security Verify Privilege Vault
* Wording change in ping error.

Co-authored-by: Md Azam <mdazam@ca.ibm.com>
Co-authored-by: Danny Elliott <danny.elliott@ibm.com>
  • Loading branch information
3 people authored Mar 9, 2022
1 parent c5af193 commit 6e5eed2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"connection": {
"type": {
"displayName": "Secret Server"
"displayName": "IBM Security Verify Privilege Vault"
},
"host": {
"type": "text",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"label": "Need additional help?"
},
"selfSignedCert": {
"label": "Secret Server connection certificate",
"label": "IBM Security Verify Privilege Vault connection certificate",
"description": "Use self-signed Security Sockets Layer (SSL)"
},
"sni": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,9 @@ def get_search_results(self, search_id, index_from, fetch_size):
else:
self.startDate = date.today()
self.endDate = self.startDate - timedelta(days = 1)
resp = self.get_response()
page_size =100
resp=resp[(index_from * page_size):(fetch_size * page_size)]
return resp

response = self.get_response()
return response

def decode_searchId(self):
# These value (date, self.query) must be present.
try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ def ping_connection(self):
ErrorResponder.fill_error(return_obj, response_dict, ['message'], connector=self.connector)
return return_obj
except Exception as err:
self.logger.error('error when pinging datasource {}:'.format(err))
self.logger.error('Error when pinging datasource {}:'.format(err))
raise

0 comments on commit 6e5eed2

Please sign in to comment.