Skip to content

Commit

Permalink
Merge pull request #173 from adobe/epic/cloudflare-edge-logging
Browse files Browse the repository at this point in the history
Epic/cloudflare edge logging- 3.8.0
  • Loading branch information
dthampy authored Sep 24, 2024
2 parents 7ec8cc1 + d91adfd commit 8c3585c
Show file tree
Hide file tree
Showing 26 changed files with 1,608 additions and 288 deletions.
48 changes: 24 additions & 24 deletions .github/.metadata.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"templateVersion": "0.2",
"product": {
"name": "API Mesh",
"description": "Aio cli plugin api mesh. CLI plugins for api-mesh installed with aio."
},
"contacts": {
"team": {
"name": "Star-Griffins",
"DL": "Grp-Star-Griffins",
"slackChannel": "star-griffins"
}
},
"ticketTracker": {
"functionalJiraQueue": {
"projectKey": "CEXT",
"component": ""
},
"securityJiraQueue": {
"projectKey": "MAGREQ",
"component": "MAGREQ/Magento Extensibility"
}
},
"productionCodeBranches": ["main"]
}
"templateVersion": "0.2",
"product": {
"name": "API Mesh",
"description": "Aio cli plugin api mesh. CLI plugins for api-mesh installed with aio."
},
"contacts": {
"team": {
"name": "Star-Griffins",
"DL": "Grp-Star-Griffins",
"slackChannel": "star-griffins"
}
},
"ticketTracker": {
"functionalJiraQueue": {
"projectKey": "CEXT",
"component": ""
},
"securityJiraQueue": {
"projectKey": "MAGREQ",
"component": "MAGREQ/Magento Extensibility"
}
},
"productionCodeBranches": ["main"]
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Prerequisites

* [aio-cli](https://github.com/adobe/aio-cli).
* [node.js](https://nodejs.org/en/)
* [yarn](https://classic.yarnpkg.com/lang/en/docs/install).
- [aio-cli](https://github.com/adobe/aio-cli).
- [node.js](https://nodejs.org/en/)
- [yarn](https://classic.yarnpkg.com/lang/en/docs/install).

To install a revision from this repository:

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/aio-cli-plugin-api-mesh",
"version": "3.7.0",
"version": "3.8.0",
"description": "Adobe I/O CLI plugin to develop and manage API mesh sources",
"keywords": [
"oclif-plugin"
Expand Down Expand Up @@ -86,6 +86,7 @@
"jsmin": "1.0.1",
"json-interpolate": "^1.0.3",
"lru-cache": "^7.14.1",
"newrelic": "^11.0.0",
"node-clipboardy": "^1.0.3",
"node-fetch": "2.6.1",
"pino": "^7.9.2",
Expand All @@ -94,8 +95,7 @@
"source-registry-storage-adapter": "github:devx-services/source-registry-storage-adapter#main",
"util": "^0.12.5",
"uuid": "^8.3.2",
"yaml": "^2.4.2",
"newrelic": "^11.0.0"
"yaml": "^2.4.2"
},
"devDependencies": {
"@babel/eslint-parser": "^7.15.8",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/__fixtures__/files/requestParams.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"type": "updatedContent"
}
"type": "updatedContent"
}
6 changes: 3 additions & 3 deletions src/commands/__fixtures__/openapi-schema.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"id": "2"
}
"$schema": "http://json-schema.org/draft-04/schema",
"id": "2"
}
4 changes: 2 additions & 2 deletions src/commands/__fixtures__/requestParams.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"type": "updatedContent"
}
"type": "updatedContent"
}
56 changes: 28 additions & 28 deletions src/commands/__fixtures__/sample_fully_qualified_mesh.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"meshConfig": {
"sources": [
{
"name": "<json_source_name>",
"handler": {
"JsonSchema": {
"baseUrl": "<json_source__baseurl>",
"operations": [
{
"type": "Query",
"field": "<query>",
"path": "<query_path>",
"method": "POST",
"requestSchema": "./schemaBody.json"
}
]
}
}
}
],
"files": [
{
"path": "./schemaBody.json",
"content": "{\"type\":\"dummyContent\"}"
}
]
}
}
"meshConfig": {
"sources": [
{
"name": "<json_source_name>",
"handler": {
"JsonSchema": {
"baseUrl": "<json_source__baseurl>",
"operations": [
{
"type": "Query",
"field": "<query>",
"path": "<query_path>",
"method": "POST",
"requestSchema": "./schemaBody.json"
}
]
}
}
}
],
"files": [
{
"path": "./schemaBody.json",
"content": "{\"type\":\"dummyContent\"}"
}
]
}
}
44 changes: 22 additions & 22 deletions src/commands/__fixtures__/sample_mesh_files.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"meshConfig": {
"sources": [
{
"name": "<json_source_name>",
"handler": {
"JsonSchema": {
"baseUrl": "<json_source__baseurl>",
"operations": [
{
"type": "Query",
"field": "<query>",
"path": "<query_path>",
"method": "POST",
"requestSchema": "./requestParams.json"
}
]
}
}
}
]
}
}
"meshConfig": {
"sources": [
{
"name": "<json_source_name>",
"handler": {
"JsonSchema": {
"baseUrl": "<json_source__baseurl>",
"operations": [
{
"type": "Query",
"field": "<query>",
"path": "<query_path>",
"method": "POST",
"requestSchema": "./requestParams.json"
}
]
}
}
}
]
}
}
26 changes: 13 additions & 13 deletions src/commands/__fixtures__/sample_mesh_invalid_file_content.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"meshConfig":{
"sources":[
{
"name":"CurrencyAPI",
"handler":{
"openapi":{
"source":"./openapi-schema.json"
}
}
}
]
}
}
"meshConfig": {
"sources": [
{
"name": "CurrencyAPI",
"handler": {
"openapi": {
"source": "./openapi-schema.json"
}
}
}
]
}
}
50 changes: 24 additions & 26 deletions src/commands/__fixtures__/sample_mesh_invalid_file_name.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
{
"meshConfig":{
"sources":[
{
"name":"<json_source_name>",
"handler":{
"JsonSchema":{
"baseUrl":"<json_source__baseurl>",
"operations":[
{
"type":"Query",
"field":"<query>",
"path":"<query_path>",
"method":"POST",
"requestSchema":"./requestJSONParameters.json"
}
]
}
}
}
],
"additionalTypeDefs":"<additional_Type_definitions>",
"additionalResolvers":[
"./additional-resolvers.js"
]
}
}
"meshConfig": {
"sources": [
{
"name": "<json_source_name>",
"handler": {
"JsonSchema": {
"baseUrl": "<json_source__baseurl>",
"operations": [
{
"type": "Query",
"field": "<query>",
"path": "<query_path>",
"method": "POST",
"requestSchema": "./requestJSONParameters.json"
}
]
}
}
}
],
"additionalTypeDefs": "<additional_Type_definitions>",
"additionalResolvers": ["./additional-resolvers.js"]
}
}
44 changes: 22 additions & 22 deletions src/commands/__fixtures__/sample_mesh_invalid_paths.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"meshConfig": {
"sources": [
{
"name": "<json_source_name>",
"handler": {
"JsonSchema": {
"baseUrl": "<json_source__baseurl>",
"operations": [
{
"type": "Query",
"field": "<query>",
"path": "<query_path>",
"method": "POST",
"requestSchema": "./schemaBody.json"
}
]
}
}
}
]
}
}
"meshConfig": {
"sources": [
{
"name": "<json_source_name>",
"handler": {
"JsonSchema": {
"baseUrl": "<json_source__baseurl>",
"operations": [
{
"type": "Query",
"field": "<query>",
"path": "<query_path>",
"method": "POST",
"requestSchema": "./schemaBody.json"
}
]
}
}
}
]
}
}
Loading

0 comments on commit 8c3585c

Please sign in to comment.