SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

cap-websockets

WebSocket push from a CAP service.

Facts

Last push

Where it sits

Lives in
Demonstrates
WebSocketCAPWebSocketcapabilityPushing to a browser that already has the page open, rather than making it ask again — the half of a UI that polling imitates badly.

Who is behind it

Gregor WolfGregor WolfPersonMaintains this
In the atlas: maintains 17, contributes to 59, wrote 2
@gregorwolf
maintainer

Before choosing this

Signals

LicenceNo licenseNeither the package manifest nor the repository tree declares a licence

Without a licence the default is all rights reserved. Ask the maintainer, or check for terms stated elsewhere, before depending on it.

What it declares

Every artifact

Type
Sample
Origin
Independently maintained

As a sample

Form
does not say

Connections1

cap-websockets connectionscap-websocketsPROVIDES→ demonstrates1demonstrates authoredWebSocket

ArchitectureBetaRead from the sample's deployment descriptor. Some of the connections it states are not drawn yet.

as mta.yaml states it at 8737541, read
SAP BTP, Cloud Foundry Runtimecap-websocketsmta.yaml, module cap-websockets-srv, requires cap-websockets-uaabinding, HTTP, outboundSAP Authorization and Trust Management service, xsuaa, applicationSAP Authorizationand TrustManagement servicecap-websockets-srv, nodejscap-websockets-srvcap-websockets-app-content, com.sap.application.contentcap-websockets-app-c…capwebsocketstest, html5capwebsocketstestcapwebsocketsshellplugin, html5capwebsocketsshellpl…cap-websockets-destination-content, com.sap.application.contentcap-websockets-desti…SAP HTML5 Application Repository service for SAP BTP, html5-apps-repo, app-hostSAP HTML5ApplicationRepository servicefor SAP BTPSAP Destination service, destination, liteSAP Destinationservice
SAPnot SAP's, or the project's ownauthenticationstated in the document

Bound, and not drawn

Documented, with no instance in the document

README

quoted from gregorwolf/cap-websockets, read
gregorwolf/cap-websockets/README.mdOn GitHub

CAP WebSockets Demo

It contains these folders and files, following the recommended project layout:

File or FolderPurpose
app/content for UI frontends goes here
db/your domain models and data go here
srv/your service models and code go here
package.jsonproject metadata and configuration
readme.mdthis getting started guide
excerpt, no licence read, read the rest, on GitHub

Details

Sources3
GitHub APIdiscovered here, gregorwolfchecked
github.com/gregorwolf/cap-websocketstree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaGitHub API · gregorwolf
first seen in the atlas
ecosystem and domaincap, protocols-and-apis
History in the atlas2
  1. A sample's domain recorded what kind of thing it is, which artifact_type already says, so it sat under Learning while the capability it demonstrates sat elsewhere — filtering a domain for a worked example returned nothing. Domain now follows the single capability the sample demonstrates; a sample with no single subject stays in Learning.
  2. First seen.
For your agent
Ref
artifact:gregorwolf-cap-websockets
JSON
/artifacts/gregorwolf-cap-websockets.json
MCP
Connecting an agent