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
| protected Response updateAccount(final String identifier, final MultivaluedMap<String, String> data, | |
| final MediaType responseType) { | |
| /****/ | |
| Account modifiedAccount; | |
| modifiedAccount = prepareAccountForUpdate(account, data); | |
| // we are modifying status | |
| if (modifiedAccount.getStatus() != null && | |
| account.getStatus() != modifiedAccount.getStatus()) { | |
| switchAccountStatusTree(modifiedAccount); |
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/bash | |
| export JAVA_HOME=/opt/java/jdk1.8.0_162 | |
| export PATH=$JAVA_HOME/bin:$PATH | |
| export RC_HOME=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd) | |
| export RC_RELEASE=$RC_HOME/release/target-as7 | |
| export RC_CONFIGURATION=$RC_HOME/configurations | |
| export RC_DEPENDENCIES=$RC_HOME/dependencies | |
| export MAVEN_OPTS="-Xms1024m -Xmx2048m -XX:MaxPermSize=1024m" |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| <!-- | |
| @author brainslog@gmail.com (Alexandre Mendonca) | |
| --> | |
| <mapper namespace="org.mobicents.servlet.sip.restcomm.dao.UsageDao"> | |
| <select id="getDailyCalls" parameterType="map" resultType="hashmap"> | |
| SELECT | |
| #{category} AS "category", |