diff --git a/.travis.yml b/.travis.yml index 9d0a2a5..92845d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ services: - mysql env: - - OPENTAXII_CONFIG=$TRAVIS_BUILD_DIR/config/config.yaml URL="http://ec2-52-42-201-6.us-west-2.compute.amazonaws.com" APIKEY=Vjy0ra7wO6w6si7hbjxX52nARfVpaAO6Tm6lxeSm + - OPENTAXII_CONFIG=$TRAVIS_BUILD_DIR/config/config.travis.yaml URL="http://ec2-52-42-201-6.us-west-2.compute.amazonaws.com" APIKEY=Vjy0ra7wO6w6si7hbjxX52nARfVpaAO6Tm6lxeSm before_install: - sudo apt-get install mysql-server-5.6 mysql-client-core-5.6 mysql-client-5.6 diff --git a/config/config.travis.yaml b/config/config.travis.yaml new file mode 100644 index 0000000..17df4a8 --- /dev/null +++ b/config/config.travis.yaml @@ -0,0 +1,35 @@ +--- +domain: "localhost:9000" +support_basic_auth: yes + +persistence_api: + class: opentaxii.persistence.sqldb.SQLDatabaseAPI + parameters: + db_connection: mysql://taxii:some_password@localhost/taxiipersist + create_tables: yes + +auth_api: + class: opentaxii.auth.sqldb.SQLDatabaseAPI + parameters: + db_connection: mysql://taxii:some_password@localhost/taxiiauth + create_tables: yes + secret: ILoveTheSecretStringIsIsGreatButNeedsToBeChangedFrienderino + +logging: + opentaxii: info + root: info + +hooks: misp_taxii_hooks.hooks +# Sample configuration for misp_taxii_server + +zmq: + host: localhost + port: 50000 + +taxii: + auth: + username: root + password: root +misp: + url: "http://ec2-52-42-201-6.us-west-2.compute.amazonaws.com" + api: Vjy0ra7wO6w6si7hbjxX52nARfVpaAO6Tm6lxeSm