# Event log (test fixture)

addons.desc.integration.eventlog This is a **test fixture** used by the integration tests; it is not offered in the marketplace.

| Field | Value |
|---|---|
| Addon id | `integration-eventlog` |
| Kind | `integration` |
| Provides | `eventlog` |
| Engine | `wasm` |
| ABI | `0.2.0` |
| Version | 0.1.0 |
| Author | MythicalSystems |
| Source | `extensions/addons/fixture-events` |
| Permissions (shown at install) | none |

## Capabilities

| Capability | Value |
|---|---|
| [`events`](capabilities.md) | `invoice.*`, `fixture.ping` |
| [`hooks`](capabilities.md) | `[{"event":"invoice.before_create","priority":200}]` |
| [`http`](capabilities.md) | none |
| [`kv`](capabilities.md) | true |
| [`secrets`](capabilities.md) | none |

## Events and hooks

| What | Value |
|---|---|
| Listens to (`events`) | `invoice.*`, `fixture.ping` |
| Hooks | `invoice.before_create` |
| Emits | none |
| Mixins | none |
| Scheduled jobs | none |

## Settings and secrets

| Setting | Type | Required |
|---|---|---|
| `token` | `secret` | no |

Secrets (stored encrypted, never returned by the API): none.

Outbound HTTP allowed to: none. `$server` is the hostname of the server configured for the product, `$setting:<key>` the host of that setting.

## addon.json

_extensions/addons/fixture-events/addon.json_

```json
{
  "abi": "0.2.0",
  "author": "MythicalSystems",
  "capabilities": {
    "events": [
      "invoice.*",
      "fixture.ping"
    ],
    "hooks": [
      {
        "event": "invoice.before_create",
        "priority": 200
      }
    ],
    "http": [],
    "kv": true,
    "secrets": []
  },
  "description": "addons.desc.integration.eventlog",
  "engine": "wasm",
  "id": "integration-eventlog",
  "kind": "integration",
  "name": "Event log (test fixture)",
  "permissions": [],
  "provides": "eventlog",
  "settings": [
    {
      "key": "token",
      "kind": "secret",
      "label": "Token"
    }
  ],
  "version": "0.1.0",
  "wasm": "addon.wasm"
}
```

