├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── api ├── compositionResource.schema.json ├── css │ ├── print.css │ ├── reset.css │ ├── screen.css │ ├── style.css │ ├── swagger-ui-themes │ │ ├── README.md │ │ └── theme-feeling-blue.css │ └── typography.css ├── fonts │ ├── DroidSans-Bold.ttf │ └── DroidSans.ttf ├── images │ ├── collapse.gif │ ├── expand.gif │ ├── explorer_icons.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── favicon.ico │ ├── logo_small.png │ ├── pet_store_api.png │ ├── throbber.gif │ └── wordnik_api.png ├── img │ ├── AnswerKeyLayout.png │ ├── ResourceRelationships.png │ ├── answerKeyAuthorAttester.png │ ├── answerKeyCompositionResource.png │ ├── answerKeyIntroSection.png │ ├── answerKeyLinkedRecords.png │ └── answerKeySearchExpression.png ├── index.html ├── lang │ ├── en.js │ ├── es.js │ ├── fr.js │ ├── it.js │ ├── ja.js │ ├── pl.js │ ├── pt.js │ ├── ru.js │ ├── tr.js │ ├── translator.js │ └── zh-cn.js ├── lib │ ├── backbone-min.js │ ├── handlebars-2.0.0.js │ ├── highlight.7.3.pack.js │ ├── jquery-1.8.0.min.js │ ├── jquery.ba-bbq.min.js │ ├── jquery.slideto.min.js │ ├── jquery.wiggle.min.js │ ├── jsoneditor.min.js │ ├── marked.js │ ├── swagger-oauth.js │ ├── underscore-min.js │ └── underscore-min.map ├── o2c.html ├── swagger-ui.js ├── swagger-ui.min.js └── swagger.yaml ├── cmd └── uploader │ └── main.go ├── controllers ├── record_match_run.go ├── record_match_run_test.go └── resource_controller.go ├── fixtures ├── record-match-ack-01.json ├── record-match-context-01.json ├── record-match-run-01.json ├── record-match-run-02.json ├── record-match-run-post-01.json ├── record-match-run-responses.json ├── record-match-sys-if-01.json ├── record-match-sys-if-02.json ├── record-set-01.json └── record-set-02.json ├── glide.lock ├── glide.yaml ├── http └── client.go ├── logger └── logger.go ├── main.go ├── middleware ├── calc_metrics.go └── record_match_response.go ├── models ├── bson_util.go ├── meta.go ├── record_match_context.go ├── record_match_request.go ├── record_match_response.go ├── record_match_run.go ├── record_match_run_test.go ├── record_match_system_interface.go ├── record_set.go ├── resource_helpers.go └── resource_helpers_test.go └── server ├── record_match_response_test.go ├── server_setup.go └── server_test.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/README.md -------------------------------------------------------------------------------- /api/compositionResource.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/compositionResource.schema.json -------------------------------------------------------------------------------- /api/css/print.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/css/print.css -------------------------------------------------------------------------------- /api/css/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/css/reset.css -------------------------------------------------------------------------------- /api/css/screen.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/css/screen.css -------------------------------------------------------------------------------- /api/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/css/style.css -------------------------------------------------------------------------------- /api/css/swagger-ui-themes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/css/swagger-ui-themes/README.md -------------------------------------------------------------------------------- /api/css/swagger-ui-themes/theme-feeling-blue.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/css/swagger-ui-themes/theme-feeling-blue.css -------------------------------------------------------------------------------- /api/css/typography.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/css/typography.css -------------------------------------------------------------------------------- /api/fonts/DroidSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/fonts/DroidSans-Bold.ttf -------------------------------------------------------------------------------- /api/fonts/DroidSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/fonts/DroidSans.ttf -------------------------------------------------------------------------------- /api/images/collapse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/collapse.gif -------------------------------------------------------------------------------- /api/images/expand.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/expand.gif -------------------------------------------------------------------------------- /api/images/explorer_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/explorer_icons.png -------------------------------------------------------------------------------- /api/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/favicon-16x16.png -------------------------------------------------------------------------------- /api/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/favicon-32x32.png -------------------------------------------------------------------------------- /api/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/favicon.ico -------------------------------------------------------------------------------- /api/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/logo_small.png -------------------------------------------------------------------------------- /api/images/pet_store_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/pet_store_api.png -------------------------------------------------------------------------------- /api/images/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/throbber.gif -------------------------------------------------------------------------------- /api/images/wordnik_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/images/wordnik_api.png -------------------------------------------------------------------------------- /api/img/AnswerKeyLayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/img/AnswerKeyLayout.png -------------------------------------------------------------------------------- /api/img/ResourceRelationships.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/img/ResourceRelationships.png -------------------------------------------------------------------------------- /api/img/answerKeyAuthorAttester.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/img/answerKeyAuthorAttester.png -------------------------------------------------------------------------------- /api/img/answerKeyCompositionResource.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/img/answerKeyCompositionResource.png -------------------------------------------------------------------------------- /api/img/answerKeyIntroSection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/img/answerKeyIntroSection.png -------------------------------------------------------------------------------- /api/img/answerKeyLinkedRecords.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/img/answerKeyLinkedRecords.png -------------------------------------------------------------------------------- /api/img/answerKeySearchExpression.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/img/answerKeySearchExpression.png -------------------------------------------------------------------------------- /api/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/index.html -------------------------------------------------------------------------------- /api/lang/en.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/en.js -------------------------------------------------------------------------------- /api/lang/es.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/es.js -------------------------------------------------------------------------------- /api/lang/fr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/fr.js -------------------------------------------------------------------------------- /api/lang/it.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/it.js -------------------------------------------------------------------------------- /api/lang/ja.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/ja.js -------------------------------------------------------------------------------- /api/lang/pl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/pl.js -------------------------------------------------------------------------------- /api/lang/pt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/pt.js -------------------------------------------------------------------------------- /api/lang/ru.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/ru.js -------------------------------------------------------------------------------- /api/lang/tr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/tr.js -------------------------------------------------------------------------------- /api/lang/translator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/translator.js -------------------------------------------------------------------------------- /api/lang/zh-cn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lang/zh-cn.js -------------------------------------------------------------------------------- /api/lib/backbone-min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/backbone-min.js -------------------------------------------------------------------------------- /api/lib/handlebars-2.0.0.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/handlebars-2.0.0.js -------------------------------------------------------------------------------- /api/lib/highlight.7.3.pack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/highlight.7.3.pack.js -------------------------------------------------------------------------------- /api/lib/jquery-1.8.0.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/jquery-1.8.0.min.js -------------------------------------------------------------------------------- /api/lib/jquery.ba-bbq.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/jquery.ba-bbq.min.js -------------------------------------------------------------------------------- /api/lib/jquery.slideto.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/jquery.slideto.min.js -------------------------------------------------------------------------------- /api/lib/jquery.wiggle.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/jquery.wiggle.min.js -------------------------------------------------------------------------------- /api/lib/jsoneditor.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/jsoneditor.min.js -------------------------------------------------------------------------------- /api/lib/marked.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/marked.js -------------------------------------------------------------------------------- /api/lib/swagger-oauth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/swagger-oauth.js -------------------------------------------------------------------------------- /api/lib/underscore-min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/underscore-min.js -------------------------------------------------------------------------------- /api/lib/underscore-min.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/lib/underscore-min.map -------------------------------------------------------------------------------- /api/o2c.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/o2c.html -------------------------------------------------------------------------------- /api/swagger-ui.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/swagger-ui.js -------------------------------------------------------------------------------- /api/swagger-ui.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/swagger-ui.min.js -------------------------------------------------------------------------------- /api/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/api/swagger.yaml -------------------------------------------------------------------------------- /cmd/uploader/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/cmd/uploader/main.go -------------------------------------------------------------------------------- /controllers/record_match_run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/controllers/record_match_run.go -------------------------------------------------------------------------------- /controllers/record_match_run_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/controllers/record_match_run_test.go -------------------------------------------------------------------------------- /controllers/resource_controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/controllers/resource_controller.go -------------------------------------------------------------------------------- /fixtures/record-match-ack-01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-match-ack-01.json -------------------------------------------------------------------------------- /fixtures/record-match-context-01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-match-context-01.json -------------------------------------------------------------------------------- /fixtures/record-match-run-01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-match-run-01.json -------------------------------------------------------------------------------- /fixtures/record-match-run-02.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-match-run-02.json -------------------------------------------------------------------------------- /fixtures/record-match-run-post-01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-match-run-post-01.json -------------------------------------------------------------------------------- /fixtures/record-match-run-responses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-match-run-responses.json -------------------------------------------------------------------------------- /fixtures/record-match-sys-if-01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-match-sys-if-01.json -------------------------------------------------------------------------------- /fixtures/record-match-sys-if-02.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-match-sys-if-02.json -------------------------------------------------------------------------------- /fixtures/record-set-01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-set-01.json -------------------------------------------------------------------------------- /fixtures/record-set-02.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/fixtures/record-set-02.json -------------------------------------------------------------------------------- /glide.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/glide.lock -------------------------------------------------------------------------------- /glide.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/glide.yaml -------------------------------------------------------------------------------- /http/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/http/client.go -------------------------------------------------------------------------------- /logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/logger/logger.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/main.go -------------------------------------------------------------------------------- /middleware/calc_metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/middleware/calc_metrics.go -------------------------------------------------------------------------------- /middleware/record_match_response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/middleware/record_match_response.go -------------------------------------------------------------------------------- /models/bson_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/bson_util.go -------------------------------------------------------------------------------- /models/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/meta.go -------------------------------------------------------------------------------- /models/record_match_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/record_match_context.go -------------------------------------------------------------------------------- /models/record_match_request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/record_match_request.go -------------------------------------------------------------------------------- /models/record_match_response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/record_match_response.go -------------------------------------------------------------------------------- /models/record_match_run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/record_match_run.go -------------------------------------------------------------------------------- /models/record_match_run_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/record_match_run_test.go -------------------------------------------------------------------------------- /models/record_match_system_interface.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/record_match_system_interface.go -------------------------------------------------------------------------------- /models/record_set.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/record_set.go -------------------------------------------------------------------------------- /models/resource_helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/resource_helpers.go -------------------------------------------------------------------------------- /models/resource_helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/models/resource_helpers_test.go -------------------------------------------------------------------------------- /server/record_match_response_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/server/record_match_response_test.go -------------------------------------------------------------------------------- /server/server_setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/server/server_setup.go -------------------------------------------------------------------------------- /server/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitre/ptmatch/HEAD/server/server_test.go --------------------------------------------------------------------------------