This file contains hidden or 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
| #!/bin/sh | |
| USER=xxxxxxx | |
| PASS=xxxxxxx | |
| HIPCHAT_OAUTH_ID=xxxxxxx | |
| for REPO in `curl --silent --user $USER:$PASS https://bitbucket.org/api/1.0/users/fluidretail | json repositories | json -a name` | |
| do | |
| echo Adding HipChat hook to $REPO... | |
| curl --silent --user $USER:$PASS \ |
This file contains hidden or 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
| String DRIVER = "com.ora.jdbc.Driver"; | |
| String DataURL = "jdbc:db://localhost:5112/users"; | |
| String LOGIN = "admin"; | |
| String PASSWORD = "admin123"; | |
| Class.forName(DRIVER); |
This file contains hidden or 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
| public function saveRecipe($conciseRecipe, $verboseXML = NULL, $imageURLs = NULL, $tagParameters = NULL) { | |
| // Connection error handling is covered in DatabaseManager.php | |
| $db = DatabaseManager::getInstance()->getConnection(); | |
| $logger = LogManager::getInstance()->getLogger(); | |
| // Code for these functions is in recipeFunctions.php | |
| $licenseeKey = getLicenseeKey(); | |
| $licenseeId = useLicenseeKeyToFindLicenseeId($licenseeKey); | |
| $logger->debug("conciseRecipe: $conciseRecipe"); |