Skip to content

Commit

Permalink
docs: update looping section of lang reference (#8661)
Browse files Browse the repository at this point in the history
* chore: sync SG script wrt Gluu CE #8657

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>

* docs: misc fixes in looping section #8657

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>

---------

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>
  • Loading branch information
jgomer2001 committed Jun 6, 2024
1 parent 61ea9ac commit 0ecff96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/agama/language-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ Repeat 3 times max
```

</td>
<td>A loop that runs 3 iterations at most.<br/>A page is shown at every iteration.<br/>If the value entered by the user matches that of `month` variable, the loop is aborted earlier</td>
<td>A loop that runs 3 iterations at most.<br/>A page is shown at every iteration.<br/>If the value entered by the user matches that of <code>month</code> variable, the loop is aborted earlier</td>
</tr>
<tr>
<td>
Expand Down Expand Up @@ -572,7 +572,7 @@ Iterate over human using attribute
```

</td>
<td>Iterates over the keys of the map printing both the key and its associated value. To learn about the <code>.$</code> notation see [Maps and dot notation](#maps-and-dot-notation)</td>
<td>Iterates over the keys of the map printing both the key and its associated value. To learn about the <code>.$</code> notation see <a href="#maps-and-dot-notation">Maps and dot notation</a></td>
</tr>
<tr>
<td>
Expand Down
10 changes: 3 additions & 7 deletions jans-casa/extras/casa-external_super_gluu.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,10 @@ def init(self, customScript, configurationAttributes):
return False
self.AS_SSA = configurationAttributes.get("AS_SSA").getValue2()

# Upon client creation, this value is populated, after that this call will not go through in subsequent script restart
# Client registration should not happen here but in the standalone super gluu script
if StringHelper.isEmptyString(self.AS_CLIENT_ID):
clientRegistrationResponse = self.registerScanClient(self.AS_ENDPOINT, self.AS_ENDPOINT, self.AS_SSA, customScript)
if clientRegistrationResponse == None:
print "Super-Gluu. Failed to register Scan client!!!"
else:
self.AS_CLIENT_ID = clientRegistrationResponse['client_id']
self.AS_CLIENT_SECRET = clientRegistrationResponse['client_secret']
print "Super-Gluu. Scan client credentials missing"
return False

if StringHelper.isNotEmptyString(self.AS_CLIENT_ID) and StringHelper.isNotEmptyString(self.AS_CLIENT_SECRET):
self.enabledPushNotifications = self.initPushNotificationService(configurationAttributes)
Expand Down

0 comments on commit 0ecff96

Please sign in to comment.