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
extends: | |
- "spectral:oas" | |
rules: | |
operation-tag-defined: true | |
operation-success-response: true | |
oas3-server-trailing-slash: true | |
#Path must not end with Slash. | |
path-keys-no-trailing-slash: | |
message: "Path must not end with slash." |
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
# Template maven-build | |
image: atlassian/default-image:2 | |
pipelines: | |
default: | |
- step: | |
name: Git Security Scan | |
caches: | |
- maven |
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
... | |
<plugin> | |
<groupId>org.mule.tools.maven</groupId> | |
<artifactId>mule-maven-plugin</artifactId> | |
<version>${mule.maven.plugin.version}</version> | |
<extensions>true</extensions> | |
<configuration> | |
<cloudHubDeployment> | |
<uri>https://anypoint.mulesoft.com</uri> | |
<muleVersion>${app.runtime}</muleVersion> |
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
. | |
├── bitbucket-pipelines.yml | |
├── mule-artifact.json | |
├── pom.xml | |
└── src | |
├── main | |
│ ├── java | |
│ ├── mule | |
│ │ └── cloud-hub-deploy.xml | |
│ └── resources |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<MessageLogging async="false" continueOnError="false" enabled="true" name="setMessageLogging"> | |
<DisplayName>setMessageLogging</DisplayName> | |
<Syslog> | |
<Message variablePrefix="%" variableSuffix="#">[customerToken@41058 tag="%organization.name#.%apiproxy.name#.%environment.name#"] { | |
"apiproxy": { | |
"name": "%apiproxy.name#", | |
"revision": "%apiproxy.revision#" | |
}, | |
"application": { |
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
input { | |
tcp { | |
port => 5044 | |
type => syslog | |
} | |
} | |
filter { | |
mutate { | |
gsub => [ | |
"message", "[\u0000]", "" |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<MessageLogging async="false" continueOnError="false" enabled="true" name="setMessageLogging"> | |
<DisplayName>setMessageLogging</DisplayName> | |
<Syslog> | |
<!-- add logstash IP or host withhout HTTP scheme--> | |
<Host>{LOGSTASH_IP_OR_HOST}</Host> | |
<!-- make sure the JSON message is whitespaced free, workaround to parse JSON properly at logstash side--> | |
<Message variablePrefix="%" variableSuffix="#">{"systemTimeStamp":"%system.time.year#-%system.time.month#-%system.time.day#T%system.time.hour#:%system.time.minute#:%system.time.second#.%system.time.millisecond#Z","messageId":"%messageid#","statusCode":"%message.status.code#","contentType":"%request.header.Content-Type#","contentLength":"%client.received.content.length#","uri":"%request.uri#","path":"%request.path#","verb":"%request.verb#","meta":{"organization":"%organization.name#","product":"%apigee.apiproduct.name#","application":"%apigee.developer.app.name#","env ":"%enviro |