Skip to content

Instantly share code, notes, and snippets.

View haigopi's full-sized avatar
💭
Who loves to code!

Gopi haigopi

💭
Who loves to code!
View GitHub Profile
@haigopi
haigopi / SampleUploadService.ts
Last active November 7, 2020 01:11
SampleUploadService
import axios from 'axios';
import Vue from 'vue';
import Component from 'vue-class-component';
import ChefDetails from '../model/ModelDetails';
@Component
class SampleUploadService extends Vue {
constructor() {
super();
}
workflows:
version: 2
commit:
jobs:
- build
nightly:
triggers:
- schedule:
cron: "0 0 * * *"
@haigopi
haigopi / keycloak.yml
Created July 27, 2020 04:14
keycloak.yml
version: '2'
services:
keycloak:
image: jboss/keycloak:10.0.0
command:
[
'-b',
'0.0.0.0',
'-Dkeycloak.migration.action=import',
@haigopi
haigopi / jhipster-registry.yml
Created July 27, 2020 04:13
jhipster-registry.yml
version: '2'
services:
jhipster-registry:
image: jhipster/jhipster-registry:v6.3.0
volumes:
- ./central-server-config:/central-config
# By default the JHipster Registry runs with the "dev" and "native"
# Spring profiles.
# "native" profile means the filesystem is used to store data, see
# http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html
@haigopi
haigopi / jhipster-console.yml
Created July 27, 2020 04:12
jhipster-console.yml
version: '2'
services:
jhipster-elasticsearch:
image: jhipster/jhipster-elasticsearch:v4.1.0
# Uncomment this as well as the volume section down below
# to have elasticsearch data persisted to a volume
# you will need to create a named volume with `docker volume create log-data`
#volumes:
# - log-data:/usr/share/elasticsearch/data
jhipster-logstash:
@haigopi
haigopi / docker-compose.yml
Created July 27, 2020 04:11
docker-compose.yml
version: '2'
volumes:
postgres_data:
driver: local
services:
consumer:
image: consumer
environment:
package com.generic.functional.automation.ui.tests.login;
import com.generic.framework.ui.functional.ExtentManager;
import com.generic.framework.ui.functional.Login;
import com.generic.functional.automation.ui.tests.common.TestConfig;
import com.generic.framework.ui.functional.AppConstants;
import org.openqa.selenium.*;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
package com.generic.functional.automation.ui.tests.common;
import com.aventstack.extentreports.ExtentReports;
import com.aventstack.extentreports.ExtentTest;
import com.aventstack.extentreports.Status;
import com.aventstack.extentreports.markuputils.ExtentColor;
import com.aventstack.extentreports.markuputils.MarkupHelper;
import com.generic.framework.ui.functional.AppConstants;
import com.generic.framework.ui.functional.ExtentManager;
import com.generic.framework.ui.functional.Login;
import com.aventstack.extentreports.ExtentReports;
import com.aventstack.extentreports.reporter.ExtentHtmlReporter;
import com.aventstack.extentreports.reporter.configuration.Theme;
public class ExtentManager {
private static ExtentReports extentReports = null;
private static ExtentHtmlReporter htmlReporter;
private ExtentManager() {
}
@haigopi
haigopi / elepack.json
Last active April 26, 2020 23:15
package.json
{
"name": "allibilli",
"version": "1.0.0",
"description": "All News papares at single place",
"main": "./main.js",
"scripts": {
"start": "electron . built",
"plain": "electron . plain",
"package": "electron-packager ./ starterapp --all --out ./dist --overwrite",
"test": "echo \"Error: no test specified\" && exit 1"