1. **Install Dapr**
a. Update necessary Helm charts and permissions
b. Add Dapr details to **pkg/cli/helm/cluster.go**
c. Add a DaprClient in pkg/cli/helm package.
d. Dapr type should be added to the client.Client scheme (pkg/cli/kubernetes/kubernetes.go).
e. Dapr should be added to the Runtime Client constructor in pkg/kubeutil/client.go.
f. Add tests.
g. Update Docs:
i. troubleshooting-installation.md.
2. Workflow updates
The Problem
When you create a Radius Gateway resource with a route that uses WebSocket as its protocol, the connection to this route terminates after a certain period. You need to refresh the connection to establish another stable connection between the browser and the server.
The issue that made us aware of this limitation: radius-project/radius#7590.
What is a WebSocket?
WebSocket is a protocol that provides a way to exchange date between browser and server via a persistent connection. The data can be passed in both directions as “packets”, without breaking the connection and the need of additional HTTP-requests.
The future state of APIs by Ankit Sobti (CTO of Postman)
1. Brief introduction about Postman. They needed to build a UI on top of the API at Yahoo. Started as a side project and they gave the initial product to friends.
2. "How do I test my APIs?" is the question they wanted to answer.
3. Both Internal vs External APIs of your organization should be very well organized.
4. Tips and practices:
a. APIs are products so we should think about who the consumers are.
b. What is the first time user experience and what is the continuous user experience?
5. Every industry in the world is now becoming API-aware.
6. The ability for somebody who is technical to speak the business language is the most important in the way to build robust APIs.
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
"""create account table | |
Revision ID: 9b1d3dcf21f9 | |
Revises: | |
Create Date: 2020-02-04 14:46:12.628680 | |
""" | |
import sqlalchemy as sa | |
from alembic import op |
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
version: '3.6' | |
services: | |
api: | |
build: . | |
depends_on: | |
- db | |
environment: | |
STAGE: test | |
SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://test:test@db/test |