This file contains 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 { PingMicroserviceConfig } from "@app/ping"; | |
import * as k8s from "@pulumi/kubernetes"; | |
import * as kx from "@pulumi/kubernetesx"; | |
import { Output } from "@pulumi/pulumi"; | |
const appLables = { | |
namespace: PingMicroserviceConfig.name + "-ing" | |
} | |
const deployment = new k8s.networking.v1.Ingress(appLables.namespace, { | |
metadata: { | |
labels: {app: 'nginx'}, |
This file contains 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
export const FormContext = createContext({}); | |
let inputsLL = null; | |
let lastInput = null; | |
const FormContextProvider = ({ children }) => { | |
useEffect(() => { | |
inputsLL = null; | |
lastInput = null; |
This file contains 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
/** | |
* ARCA API BaseController. | |
*/ | |
import rp from 'request-promise'; | |
import qs from 'qs'; | |
export default class BaseController { | |
/** |
This file contains 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
"use strict"; | |
import express, { Router } from 'express'; | |
import _ from 'lodash'; | |
class Restful extens Router { | |
constructor($conf) { | |
this.table = $conf.table; | |
this.sql = $conf.sql; | |
this.AC = $conf.AC; | |
this.customs.call(this); |