Skip to content

Commit 12530a4

Browse files
author
Lee Cavazos
committed
Final dev push before Rotation
1 parent 4d80149 commit 12530a4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Zephyr.Directory.Ldap/LdapServer.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,7 @@ public LdapResponse Search(LdapRequest request, string searchBase, string search
329329
int currentRecords = 0;
330330
if (TokenType == "Server"){
331331
// Searching process for Server Based Token
332-
// Pick_up_Here is used to determine where the previous search finished, if Pick_up_Here is > 1 that means that the search finished in a
333-
// Multiple Searches Entry
332+
// Pick_up_Here is used to determine where the previous search finished, if Pick_up_Here is > 1 that means that the search finished in a Multiple Searches Entry
334333
if(Pick_up_Here > 1){
335334
results.Add(conn.Search(MultipleSearches[Pick_up_Here-2].SearchBase, scope, MultipleSearches[Pick_up_Here-2].SearchValue, attributes, false, options));
336335
}

Zephyr.Directory.Test/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ static void Main(string[] args)
8989
if(test_config.batch == true && test_config.retrieval == false){
9090
DynamoDBTools dynamo = new DynamoDBTools();
9191
LdapBatchResponse new_response = new LdapBatchResponse();
92+
// Invoke Lambda Function to Proceed with the Batch Request
9293
new_response = dynamo.invokeLambda(request);
9394
output_data = new_response;
9495
}
@@ -129,6 +130,7 @@ static void Main(string[] args)
129130
try{
130131
if(request.Config.batch == true && request.Config.retrieval == true){
131132
DynamoDBTools db = new DynamoDBTools();
133+
// Add entry to DynamoDB Table Note: Only goes into this conditional statement if Lambda was Invoked
132134
db.add_entry(request);
133135
}
134136
}

0 commit comments

Comments
 (0)