Tag:testing environment

  • Application and practice of link tracking technology

    Time:2021-10-20

    Wen Danqing Senior architect of Netease smart enterprise Link tracking background As shown in the figure, in the microservice architecture, a request often needs multiple services to cooperate. Everything has its advantages and disadvantages. This model not only brings us better scalability, but also brings some new problems. For example, the difficulty of Troubleshooting: the […]

  • Typescript quick start

    Time:2021-9-16

    catalogue What is typescript Why learn typescript Quickly build a development environment 1. Install node.js 2. Install the typescript compiler using NPM that comes with node 3. Configure vscode editing environment 4. Test environment What is typescript Why learn typescript Microsoft support promotion Open Source Include JS, not just JS, and strengthen many weaknesses of […]

  • Docker learning notes – Installation

    Time:2021-9-5

    Environmental preparation Prepare a virtual machine, and the test environment is vmvare centos7 virtual machine; Operation steps Configure the yum image source and use the alicloud image source (if it is configured, skip this step) yum clean all wget -O /etc/yum.repos.d/CentOS-Base.repo [http://mirrors.aliyun.com/repo/Centos-7.repo](http://mirrors.aliyun.com/repo/Centos-7.repo) yum makecache When setting the yum cache, I encountered an error and couldn’t […]

  • Create react app. Env environment variable settings

    Time:2021-8-27

    Used to build scaffoldscross-envSet the environment variable. “scripts”: { “start”: “cross-env REACT_APP_ENV=development node scripts/start.js”, “build-dev”: “cross-env REACT_APP_ENV=test PUBLIC_URL=/webapps/ai-crm-web node scripts/build.js”, “build-uat”: “cross-env REACT_APP_ENV=uat PUBLIC_URL=/webapps/ai-crm-web node scripts/build.js”, “build”: “cross-env REACT_APP_ENV=production PUBLIC_URL=/webapps/ai-crm-web node scripts/build.js”, “test”: “node scripts/test.js –env=jsdom” }, It feels very lengthy to write relevant environment variables into scripts every time. env.js function env() { if […]

  • Simulating meituan takeout rider push request with Python

    Time:2021-8-17

    The meituan takeout distribution interface is connected to the project. When riders receive orders, pick up goods and other operations, they will push these operations to the third-party system. In the test environment, no real riders will receive orders. We need to simulate the information pushed by the formal environment. At this time, we can […]

  • How can idle fish ensure the quality of transaction links

    Time:2021-7-30

    Introduction: quality automation of idle fish trading background As a vertical trading community app, Xianyu has complex and diverse business scenarios: complex and changeable transaction modes involving C2C, recycling consignment, rental, meeting transaction, inspection guarantee, etc. For example, the inspection process: Involving 39 state machine nodes Across 10 + applications Cooperation involving 6 business units […]

  • Use nuxt + iView admin + koa2 to develop the project

    Time:2021-7-26

    A recent project of the company is still developed with the familiar Vue. Because of its large amount of data, the data platform adopts the Traditional spa mode, which takes a long time to load the home page. However, SSR is obvious for the optimization of the loading time of the first screen, and it […]

  • Clear the log file being written (qbit)

    Time:2021-5-9

    Test environment of this paper Ubuntu 20.04 MongoDB 4.4 command >Mongod.log # recommendation true >mongod.log echo >mongod.log echo “”>mongod.log truncate -s 0 mongod.log cat /dev/null > mongod.log cp /dev/null mongod.log dd if=/dev/null of=mongod.log These methods can also be used for emptyingtomcatOfcatalina.out This article comes fromqbit snap

  • Springboot blog project day 1 – Environment construction

    Time:2021-4-21

    Create Maven project (skip skeleton) Import dependency Jia package <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.7.RELEASE</version> <relativePath/> <!– lookup parent from repository –> </parent> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version> <thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <scope>runtime</scope> </dependency> […]

  • How to prefix topic in batch in spring Kafka

    Time:2021-4-17

    preface Recently, the business development department has put forward a requirement to our department, because their development environment and test environment share a set of Kafka. They hope our department can help them automatically add environment prefix to the topic of Kafka. For example, the topic of development environment is dev_ Topic, test environment, then […]

  • Online modification of oplog size by mongodb

    Time:2021-4-14

    From mongodb 3.6, you can use the command replsetresizeoplog to modify the oplog size of replica set members,Start with the secondary node, and then go to the primary node.The test environment of this paper is mongodb 4.2. You can view the size of oplog through the command handong1:PRIMARY> use local switched to db local handong1:PRIMARY> […]