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
service: front-service | |
frameworkVersion: '2' | |
variablesResolutionMode: 20210326 | |
provider: | |
stage: ${opt:stage} | |
name: aws | |
region: us-west-2 |
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
FROM ubuntu:latest | |
LABEL maintainer="Diego Mengarda <[email protected]>" | |
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 | |
ARG ssh_pub_key="" | |
ARG ssh_prv_key="" | |
RUN apt-get update && \ |
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
image: diegomengarda/sshpass | |
pipelines: | |
branches: | |
master: | |
- step: | |
script: | |
- export SSHPASS=$PRODUCTION_PASS | |
- sshpass -e ssh -o StrictHostKeyChecking=no $PRODUCTION_USER@$PRODUCTION_HOST "cd /var/www && ./deploy.sh $BITBUCKET_BRANCH" |
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
import Api from '../common/api/Api' | |
export default class Auth extends Api { | |
constructor () { | |
super() | |
this.setDomain('auth') | |
} | |
} |
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
<template> | |
<div> | |
<select v-model="select" @change="changeSelect"> | |
<option value="1">Um</option> | |
<option value="2">Dois</option> | |
</select> | |
<div>Selected: {{select}}</div> | |
</div> | |
</template> |
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
// componente botão que exibe um data table com os detalhes do bulk send. | |
<template> | |
<v-dialog v-model="bulkSendDialog" max-width="650px"> | |
<v-btn | |
small | |
class="mr-2" | |
slot="activator" | |
@click="requestBulkSendInformation(bulkSendId)" | |
> | |
{{ t('more_info') }} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | |
<title></title> | |
<script src="https://code.highcharts.com/maps/highmaps.js"></script> | |
<script src="https://code.highcharts.com/maps/modules/exporting.js"></script> | |
<script src="https://code.highcharts.com/mapdata/countries/br/br-all.js"></script> | |
<style> |
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
import axios from 'axios' | |
import interceptors from './interceptors' | |
import baseConfig from '../config' | |
/** | |
* Cria instância do axios para as requisições ajax | |
*/ | |
export const http = axios.create({ | |
baseURL: baseConfig.fullAPIPath, | |
headers: {'content-type': 'application/json'} |
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
import * as HTTP from '../http' | |
const defaultPage = 1 | |
const defaultPerPage = 20 | |
/** | |
* Função que processa a url para utilizar o padrão da API | |
* @param domain - Rota do Domain da API para realizar a requisição Ex.: clients | |
* @param route - Complemento de rota Ex.: clients/all | |
* @param id - Id do registro |
NewerOlder