As part of the C5 effort we need to evaluate how we are to persist API
Endpoint and API Environment information. Here  is a brief introduction of
what each of these are.

*API Endpoint*
The actual backend endpoint that a API created in APIM fronts. In C4 these
were defined as Production and Sandbox endpoints. So at DB table level we
could represent this as follows,

CREATE TABLE `AM_API_ENDPOINTS` (
  `API_ID` INTEGER,
  `ENVIRONMENT_CATEGORY` VARCHAR(30),
  `ENDPOINT_TYPE` VARCHAR(30),
  `IS_ENDPOINT_SECURED` BOOLEAN,
  `TPS` INTEGER,
  `AUTH_DIGEST` VARCHAR(30),
  `USERNAME` VARCHAR(255),
  `PASSWORD` VARCHAR(255)
);

This naturally maps to our current concepts that already exist in C4.

*API Environment*
This represents different gateway environments across which a given API can
be deployed on such as Dev, QA, Production. So at DB table level we could
represent this as follows,

CREATE TABLE `AM_API_ENVIRONMENTS` (
  `API_ID` INTEGER,
  `ENV_NAME` VARCHAR(255),
  `HTTP_URL` VARCHAR(255),
  `HTTPS_URL` VARCHAR(255),
  `APPEND_CONTEXT` BOOLEAN
);


Is there an overlap between these two concepts in the way we are
representing them here?

Please give your feedback.

-- 
Regards,
Uvindra

Mobile: 777733962
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to