Skip to content

Trivial XMPP endpoint to be used by services requiring an XMPP connection

Notifications You must be signed in to change notification settings

jsantiagoh/xmppmock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XMPP Mock

js-standard-style Build Status Code Climate bitHound Overall Score

The purpose of this project is to provide an XMPP endpoint for integration tests of services that require a XEP-0114 connection.

Requirements

Development Requirements

Usage

I recommend using this alongside Docker compose to test some service connecting to XMPP Mock.

For example, below is a sample docker-compose.yml that builds and starts a service named myservice connecting to an instance of xmppmock.

version: "2"
services:
  myservice:
    build: .
    links:
      - xmppmock:xmppmock.local
    ports:
      - 80:80

  xmppmock:
    image: jsantiagoh/xmppmock
    environment:
      - COMPONENT_PORT=11221
      - COMPONENT_PASS=pass11221
    ports:
      - 3000:3000

About

Trivial XMPP endpoint to be used by services requiring an XMPP connection

Resources

Stars

Watchers

Forks

Packages

No packages published