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
user threatconnect; | |
worker_processes auto; | |
events { | |
worker_connections 1024; | |
} | |
stream { | |
upstream https { | |
server 127.0.0.1:8443; | |
} | |
upstream smtp { |
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
#!/usr/bin/python | |
# TODO: wrap boto3.client.create_db_instance in try for various errors | |
# TODO: implement wait_for_resource | |
# TODO: determine output result | |
# WARN: This module is very untested and will likely fail miserably | |
EXAMPLES = ''' | |
''' |
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
[root@devops-1 mturner]# tree --dirsfirst test/v2/ | |
test/v2/ | |
├── batch | |
│ ├── errors | |
│ │ ├── _auto.md | |
│ │ ├── _data.md | |
│ │ ├── _examples.md | |
│ │ ├── _main.md | |
│ │ └── _title.md | |
│ ├── _auto.md |
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
/** | |
* Created by mturner on 3/18/16. | |
*/ | |
package com.cyber2.tc.api.v2.service; | |
import org.codehaus.jackson.annotate.JsonAutoDetect; | |
import org.codehaus.jackson.annotate.JsonMethod; | |
import org.codehaus.jackson.map.ObjectMapper; | |
import org.jboss.resteasy.core.Dispatcher; | |
import org.jboss.resteasy.core.ResourceInvoker; | |
import org.jboss.resteasy.core.ResourceMethod; |