├── rest-api ├── core-rest │ ├── dependencies │ │ └── swagger │ │ │ ├── css │ │ │ ├── typography.css │ │ │ └── reset.css │ │ │ ├── fonts │ │ │ ├── DroidSans.ttf │ │ │ └── DroidSans-Bold.ttf │ │ │ ├── images │ │ │ └── throbber.gif │ │ │ ├── lib │ │ │ ├── highlight.9.1.0.pack_extended.js │ │ │ ├── object-assign-pollyfill.js │ │ │ ├── jquery.slideto.min.js │ │ │ └── jquery.wiggle.min.js │ │ │ └── o2c.html │ └── src │ │ ├── main │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── context.xml │ │ │ ├── css │ │ │ │ ├── custom.css │ │ │ │ └── gaffer.css │ │ │ ├── images │ │ │ │ ├── logo.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── favicon-16x16.png │ │ │ │ ├── favicon-32x32.png │ │ │ │ ├── apple-touch-icon.png │ │ │ │ ├── android-chrome-192x192.png │ │ │ │ ├── android-chrome-512x512.png │ │ │ │ ├── browserconfig.xml │ │ │ │ └── manifest.json │ │ │ └── WEB-INF │ │ │ │ └── jboss-web.xml │ │ ├── resources │ │ │ ├── disableOperations.json │ │ │ └── version.properties │ │ └── java │ │ │ └── uk │ │ │ └── gov │ │ │ └── gchq │ │ │ └── gaffer │ │ │ └── rest │ │ │ ├── package-info.java │ │ │ ├── filter │ │ │ └── package-info.java │ │ │ ├── serialisation │ │ │ └── package-info.java │ │ │ ├── service │ │ │ ├── v1 │ │ │ │ ├── package-info.java │ │ │ │ └── example │ │ │ │ │ └── package-info.java │ │ │ ├── v2 │ │ │ │ ├── package-info.java │ │ │ │ └── example │ │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ │ ├── application │ │ │ └── package-info.java │ │ │ └── example │ │ │ └── package-info.java │ │ └── test │ │ ├── resources │ │ ├── graphConfig.json │ │ └── store.properties │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── rest │ │ └── factory │ │ ├── GraphFactoryForTest.java │ │ └── UserFactoryForTest.java ├── hbase-rest │ └── src │ │ ├── main │ │ └── resources │ │ │ └── disableOperations.json │ │ └── test │ │ └── resources │ │ └── store.properties └── accumulo-rest │ └── src │ ├── main │ └── resources │ │ └── disableOperations.json │ └── test │ └── resources │ └── store.properties ├── logos ├── Thumbs.db ├── icon.png ├── logo.png ├── iconCircle.png ├── logoWithText.png └── asciiLogo.txt ├── example ├── federated-demo │ ├── road-use │ │ ├── json │ │ │ ├── 1c_getSchema.json │ │ │ ├── 0_getAllGraphIds.json │ │ │ ├── 3a_getElementsFromAllGraphs.json │ │ │ ├── 4c_getAllElementsFromIndex.json │ │ │ ├── 3b_getElementsFromRoadJunctions.json │ │ │ ├── 6_removeGraphs.json │ │ │ ├── 4b_createIndex.json │ │ │ └── 3c_hopBetweenGraphs.json │ │ └── scripts │ │ │ └── createIndex.sh │ ├── src │ │ └── main │ │ │ └── resources │ │ │ ├── graphConfig.json │ │ │ └── federatedStore.properties │ ├── basic │ │ └── scripts │ │ │ ├── getAllGraphIds.sh │ │ │ └── addElements.sh │ └── scripts │ │ └── start.sh ├── road-traffic │ ├── road-traffic-rest │ │ └── src │ │ │ ├── test │ │ │ └── resources │ │ │ │ └── graphConfig.json │ │ │ └── main │ │ │ ├── webapp │ │ │ └── META-INF │ │ │ │ └── context.xml │ │ │ └── resources │ │ │ └── ExportToOtherAuthorisedGraphOperationDeclarations.json │ ├── road-traffic-demo │ │ └── src │ │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── context.xml │ │ │ └── WEB-INF │ │ │ │ └── web.xml │ │ │ └── java │ │ │ └── uk │ │ │ └── gov │ │ │ └── gchq │ │ │ └── gaffer │ │ │ └── traffic │ │ │ └── DemoData.java │ ├── scripts │ │ └── start.sh │ └── pom.xml └── basic │ ├── basic-rest │ └── src │ │ └── main │ │ ├── webapp │ │ └── META-INF │ │ │ └── context.xml │ │ └── resources │ │ └── accumulo │ │ └── ResultCacheExportOperations.json │ ├── scripts │ └── start.sh │ └── basic-model │ └── src │ ├── main │ └── resources │ │ └── schema │ │ ├── elements.json │ │ └── types.json │ └── test │ └── resources │ └── mockaccumulo.properties ├── cd ├── codesigning.asc.enc ├── after_success.sh ├── install.sh ├── verify.sh ├── before_install.sh └── updateKorypheVersion.sh ├── library ├── spark │ ├── spark-accumulo-library │ │ └── src │ │ │ ├── test │ │ │ └── resources │ │ │ │ ├── view.json │ │ │ │ ├── schema │ │ │ │ ├── serialisation.json │ │ │ │ ├── elementsForValidationChecking.json │ │ │ │ ├── elementsForAggregationChecking.json │ │ │ │ └── typesForValidationChecking.json │ │ │ │ ├── schema-DataFrame │ │ │ │ ├── serialisation.json │ │ │ │ ├── elementsNonstandardTypes.json │ │ │ │ └── elementsUserDefinedConversion.json │ │ │ │ └── schema-GraphFrame │ │ │ │ ├── serialisation.json │ │ │ │ ├── elementsNonstandardTypes.json │ │ │ │ ├── elementsUserDefinedConversion.json │ │ │ │ ├── elements.json │ │ │ │ └── elementsWithVertexProperty.json │ │ │ └── main │ │ │ └── java │ │ │ └── uk │ │ │ └── gov │ │ │ └── gchq │ │ │ └── gaffer │ │ │ └── sparkaccumulo │ │ │ └── operation │ │ │ ├── handler │ │ │ └── package-info.java │ │ │ ├── javardd │ │ │ └── package-info.java │ │ │ └── scalardd │ │ │ └── package-info.java │ └── spark-library │ │ └── src │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── spark │ │ ├── package-info.java │ │ ├── operation │ │ ├── package-info.java │ │ ├── javardd │ │ │ └── package-info.java │ │ ├── scalardd │ │ │ └── package-info.java │ │ ├── dataframe │ │ │ ├── converter │ │ │ │ └── property │ │ │ │ │ └── impl │ │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ └── graphframe │ │ │ └── package-info.java │ │ ├── data │ │ └── generator │ │ │ └── package-info.java │ │ ├── utils │ │ ├── package-info.java │ │ └── scala │ │ │ └── package-info.java │ │ └── function │ │ └── package-info.java ├── flink-library │ └── src │ │ ├── test │ │ └── resources │ │ │ ├── schema │ │ │ ├── elements.json │ │ │ └── types.json │ │ │ └── store.properties │ │ └── main │ │ └── resources │ │ └── FlinkOperationDeclarations.json ├── cache-library │ ├── hazelcast-cache-service │ │ └── src │ │ │ ├── test │ │ │ └── resources │ │ │ │ └── hazelcast.xml │ │ │ └── main │ │ │ └── java │ │ │ └── uk │ │ │ └── gov │ │ │ └── gchq │ │ │ └── gaffer │ │ │ └── cache │ │ │ └── impl │ │ │ └── package-info.java │ └── jcs-cache-service │ │ └── src │ │ ├── test │ │ └── resources │ │ │ └── distributed.ccf │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── cache │ │ └── impl │ │ └── package-info.java ├── time-library │ └── src │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── time │ │ ├── package-info.java │ │ ├── binaryoperator │ │ └── package-info.java │ │ └── serialisation │ │ └── package-info.java ├── bitmap-library │ └── src │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── bitmap │ │ ├── serialisation │ │ ├── package-info.java │ │ ├── utils │ │ │ └── package-info.java │ │ └── json │ │ │ └── package-info.java │ │ └── function │ │ └── aggregate │ │ └── package-info.java ├── hdfs-library │ └── src │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── hdfs │ │ └── operation │ │ ├── mapper │ │ ├── package-info.java │ │ └── generator │ │ │ └── package-info.java │ │ ├── package-info.java │ │ └── handler │ │ └── job │ │ ├── tool │ │ └── package-info.java │ │ ├── factory │ │ └── package-info.java │ │ └── initialiser │ │ └── package-info.java └── sketches-library │ └── src │ └── main │ └── java │ └── uk │ └── gov │ └── gchq │ └── gaffer │ └── sketches │ └── serialisation │ └── json │ └── package-info.java ├── store-implementation ├── accumulo-store │ └── src │ │ └── test │ │ └── resources │ │ ├── view.json │ │ ├── schema2 │ │ ├── types.json │ │ └── elements.json │ │ ├── store2.properties │ │ └── mockAccumuloStore.properties ├── hbase-store │ ├── src │ │ └── test │ │ │ └── resources │ │ │ ├── schema │ │ │ └── serialisation.json │ │ │ ├── schema2 │ │ │ ├── types.json │ │ │ └── elements.json │ │ │ └── store2.properties │ └── sample-files │ │ └── add-test-visibility-labels.sh ├── parquet-store │ └── src │ │ ├── test │ │ └── resources │ │ │ ├── schema-GraphFrame │ │ │ ├── serialisation.json │ │ │ ├── elementsNonstandardTypes.json │ │ │ ├── elementsUserDefinedConversion.json │ │ │ ├── elements.json │ │ │ └── elementsWithVertexProperty.json │ │ │ ├── schemaUsingLongVertexType │ │ │ └── storeSchema.json │ │ │ ├── schemaUsingStringVertexType │ │ │ └── storeSchema.json │ │ │ ├── schemaUsingTypeValueVertexType │ │ │ └── storeSchema.json │ │ │ ├── multiUseStore.properties │ │ │ └── store.properties │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── parquetstore │ │ ├── package-info.java │ │ ├── io │ │ ├── package-info.java │ │ ├── reader │ │ │ ├── converter │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ └── writer │ │ │ └── package-info.java │ │ ├── utils │ │ └── package-info.java │ │ ├── index │ │ └── package-info.java │ │ ├── operation │ │ └── package-info.java │ │ └── serialisation │ │ ├── package-info.java │ │ └── impl │ │ └── package-info.java ├── map-store │ └── src │ │ ├── test │ │ └── resources │ │ │ ├── example-schema │ │ │ ├── elements.json │ │ │ └── types.json │ │ │ ├── schema │ │ │ └── types.json │ │ │ ├── schema-no-aggregation │ │ │ └── types.json │ │ │ └── store.properties │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── mapstore │ │ ├── package-info.java │ │ ├── multimap │ │ └── package-info.java │ │ ├── operation │ │ └── package-info.java │ │ ├── utils │ │ └── package-info.java │ │ ├── factory │ │ └── package-info.java │ │ └── impl │ │ └── package-info.java ├── federated-store │ └── src │ │ └── test │ │ └── resources │ │ ├── schema │ │ └── basicEntitySchema.json │ │ └── predefinedFederatedStore.properties └── proxy-store │ └── src │ ├── test │ └── resources │ │ ├── proxy-store.properties │ │ └── mock-proxy-store.properties │ └── main │ └── java │ └── uk │ └── gov │ └── gchq │ └── gaffer │ └── proxystore │ ├── package-info.java │ └── operation │ └── handler │ └── package-info.java ├── core ├── store │ └── src │ │ ├── test │ │ └── resources │ │ │ ├── schema │ │ │ └── serialisation.json │ │ │ ├── customOpChainLimiter.json │ │ │ ├── opChainLimiterHandler.json │ │ │ ├── operationDeclarations3.json │ │ │ ├── operationDeclarations2.json │ │ │ ├── operationDeclarations1.json │ │ │ ├── schema-groupby │ │ │ └── types.json │ │ │ ├── store.properties │ │ │ ├── store2.properties │ │ │ └── authScores.properties │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── store │ │ ├── util │ │ └── package-info.java │ │ ├── schema │ │ └── package-info.java │ │ ├── optimiser │ │ └── package-info.java │ │ ├── serialiser │ │ └── package-info.java │ │ ├── operation │ │ ├── declaration │ │ │ └── package-info.java │ │ └── handler │ │ │ ├── job │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── named │ │ │ ├── package-info.java │ │ │ └── cache │ │ │ │ └── package-info.java │ │ │ ├── export │ │ │ ├── package-info.java │ │ │ └── set │ │ │ │ └── package-info.java │ │ │ ├── output │ │ │ └── package-info.java │ │ │ ├── compare │ │ │ └── package-info.java │ │ │ └── generate │ │ │ └── package-info.java │ │ └── library │ │ └── package-info.java ├── common-util │ └── src │ │ ├── test │ │ └── resources │ │ │ └── URLSchema.json │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── commonutil │ │ ├── exception │ │ └── package-info.java │ │ ├── pair │ │ └── package-info.java │ │ └── stream │ │ └── package-info.java ├── graph │ └── src │ │ ├── main │ │ ├── resources │ │ │ ├── ExportToOtherGraphOperationDeclarations.json │ │ │ └── gafferResultCache │ │ │ │ └── schema │ │ │ │ ├── elements.json │ │ │ │ └── types.json │ │ └── java │ │ │ └── uk │ │ │ └── gov │ │ │ └── gchq │ │ │ └── gaffer │ │ │ ├── operation │ │ │ └── export │ │ │ │ ├── package-info.java │ │ │ │ ├── graph │ │ │ │ ├── handler │ │ │ │ │ └── package-info.java │ │ │ │ └── package-info.java │ │ │ │ └── resultcache │ │ │ │ ├── package-info.java │ │ │ │ └── handler │ │ │ │ ├── package-info.java │ │ │ │ └── util │ │ │ │ └── package-info.java │ │ │ └── graph │ │ │ ├── package-info.java │ │ │ └── hook │ │ │ └── package-info.java │ │ └── test │ │ └── resources │ │ ├── opChainHandler.json │ │ ├── opChainLimiter.json │ │ ├── ExportToOtherAuthorisedGraphOperationDeclarations.json │ │ ├── schema │ │ └── elements.json │ │ ├── opAuthoriser.json │ │ └── store.properties ├── serialisation │ └── src │ │ ├── test │ │ └── resources │ │ │ └── multiSerialiser.json │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ ├── serialisation │ │ ├── package-info.java │ │ ├── implementation │ │ │ ├── package-info.java │ │ │ ├── raw │ │ │ │ └── package-info.java │ │ │ ├── ordered │ │ │ │ └── package-info.java │ │ │ └── tostring │ │ │ │ └── package-info.java │ │ └── util │ │ │ └── package-info.java │ │ ├── exception │ │ └── package-info.java │ │ └── jsonserialisation │ │ └── package-info.java ├── cache │ └── src │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── cache │ │ ├── package-info.java │ │ ├── util │ │ └── package-info.java │ │ ├── impl │ │ └── package-info.java │ │ └── exception │ │ └── package-info.java ├── type │ └── src │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ ├── types │ │ ├── package-info.java │ │ └── function │ │ │ └── package-info.java │ │ └── serialisation │ │ └── package-info.java ├── data │ └── src │ │ ├── main │ │ └── java │ │ │ └── uk │ │ │ └── gov │ │ │ └── gchq │ │ │ └── gaffer │ │ │ └── data │ │ │ ├── package-info.java │ │ │ ├── element │ │ │ ├── comparison │ │ │ │ └── package-info.java │ │ │ ├── id │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── function │ │ │ │ └── package-info.java │ │ │ ├── elementdefinition │ │ │ ├── package-info.java │ │ │ ├── exception │ │ │ │ └── package-info.java │ │ │ └── view │ │ │ │ └── package-info.java │ │ │ ├── graph │ │ │ ├── package-info.java │ │ │ ├── entity │ │ │ │ └── package-info.java │ │ │ └── adjacency │ │ │ │ └── package-info.java │ │ │ └── generator │ │ │ └── package-info.java │ │ └── test │ │ ├── resources │ │ └── view.json │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ └── data │ │ └── graph │ │ └── adjacency │ │ └── SimpleAdjacencyMapsTest.java ├── operation │ └── src │ │ └── main │ │ └── java │ │ └── uk │ │ └── gov │ │ └── gchq │ │ └── gaffer │ │ ├── operation │ │ ├── impl │ │ │ ├── package-info.java │ │ │ ├── add │ │ │ │ └── package-info.java │ │ │ ├── compare │ │ │ │ └── package-info.java │ │ │ ├── export │ │ │ │ ├── package-info.java │ │ │ │ ├── set │ │ │ │ │ └── package-info.java │ │ │ │ └── resultcache │ │ │ │ │ └── package-info.java │ │ │ ├── get │ │ │ │ └── package-info.java │ │ │ ├── job │ │ │ │ └── package-info.java │ │ │ ├── output │ │ │ │ └── package-info.java │ │ │ └── generate │ │ │ │ └── package-info.java │ │ ├── package-info.java │ │ ├── data │ │ │ ├── package-info.java │ │ │ └── generator │ │ │ │ └── package-info.java │ │ ├── graph │ │ │ └── package-info.java │ │ ├── io │ │ │ └── package-info.java │ │ ├── serialisation │ │ │ └── package-info.java │ │ ├── export │ │ │ └── package-info.java │ │ └── function │ │ │ └── package-info.java │ │ ├── named │ │ └── operation │ │ │ ├── package-info.java │ │ │ ├── serialisation │ │ │ └── package-info.java │ │ │ └── cache │ │ │ └── exception │ │ │ └── package-info.java │ │ ├── jobtracker │ │ └── package-info.java │ │ └── user │ │ └── package-info.java └── exception │ └── src │ └── main │ └── java │ └── uk │ └── gov │ └── gchq │ └── gaffer │ └── core │ └── exception │ ├── package-info.java │ └── serialisation │ └── package-info.java ├── integration-test └── src │ └── test │ └── resources │ └── getWalksWithPruningDeclaration.json ├── code-style └── licenseHeader.txt ├── findbugs-exclude.xml └── .gitignore /rest-api/core-rest/dependencies/swagger/css/typography.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logos/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/logos/Thumbs.db -------------------------------------------------------------------------------- /logos/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/logos/icon.png -------------------------------------------------------------------------------- /logos/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/logos/logo.png -------------------------------------------------------------------------------- /example/federated-demo/road-use/json/1c_getSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "class": "GetSchema" 3 | } -------------------------------------------------------------------------------- /logos/iconCircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/logos/iconCircle.png -------------------------------------------------------------------------------- /cd/codesigning.asc.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/cd/codesigning.asc.enc -------------------------------------------------------------------------------- /example/federated-demo/road-use/json/0_getAllGraphIds.json: -------------------------------------------------------------------------------- 1 | { 2 | "class": "GetAllGraphIds" 3 | } -------------------------------------------------------------------------------- /logos/logoWithText.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/logos/logoWithText.png -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /example/road-traffic/road-traffic-rest/src/test/resources/graphConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "graphId": "road_traffic" 3 | } 4 | -------------------------------------------------------------------------------- /example/basic/basic-rest/src/main/webapp/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /example/road-traffic/road-traffic-demo/src/main/webapp/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /example/road-traffic/road-traffic-rest/src/main/webapp/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/css/custom.css: -------------------------------------------------------------------------------- 1 | /* Empty by default. To include your own custom CSS you can override this file. */ -------------------------------------------------------------------------------- /example/federated-demo/road-use/json/3a_getElementsFromAllGraphs.json: -------------------------------------------------------------------------------- 1 | { 2 | "class": "GetElements", 3 | "input": [ 4 | "M32:1" 5 | ] 6 | } -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/src/main/webapp/images/logo.png -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/src/main/webapp/images/favicon.ico -------------------------------------------------------------------------------- /rest-api/core-rest/dependencies/swagger/fonts/DroidSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/dependencies/swagger/fonts/DroidSans.ttf -------------------------------------------------------------------------------- /rest-api/core-rest/dependencies/swagger/images/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/dependencies/swagger/images/throbber.gif -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/src/main/webapp/images/favicon-16x16.png -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/src/main/webapp/images/favicon-32x32.png -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/view.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": {} 4 | }, 5 | "edges": { 6 | "BasicEdge": {} 7 | } 8 | } -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/WEB-INF/jboss-web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | rest 4 | 5 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/src/main/webapp/images/apple-touch-icon.png -------------------------------------------------------------------------------- /store-implementation/accumulo-store/src/test/resources/view.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": {} 4 | }, 5 | "edges": { 6 | "BasicEdge": {} 7 | } 8 | } -------------------------------------------------------------------------------- /core/store/src/test/resources/schema/serialisation.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiser": { 3 | "class": "uk.gov.gchq.gaffer.serialisation.implementation.JavaSerialiser" 4 | } 5 | } -------------------------------------------------------------------------------- /rest-api/core-rest/dependencies/swagger/fonts/DroidSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/dependencies/swagger/fonts/DroidSans-Bold.ttf -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/src/main/webapp/images/android-chrome-192x192.png -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NNBBXX/Gaffer/master/rest-api/core-rest/src/main/webapp/images/android-chrome-512x512.png -------------------------------------------------------------------------------- /cd/after_success.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | if [ "$RELEASE" != 'true' ] && [ "$TRAVIS_PULL_REQUEST" != 'false' ]; then 6 | bash <(curl -s https://codecov.io/bash) 7 | fi 8 | -------------------------------------------------------------------------------- /example/federated-demo/src/main/resources/graphConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "graphId": "federatedGraph", 3 | "library": { 4 | "class": "uk.gov.gchq.gaffer.store.library.HashMapGraphLibrary" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema/serialisation.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiser": { 3 | "class": "uk.gov.gchq.gaffer.serialisation.implementation.StringSerialiser" 4 | } 5 | } -------------------------------------------------------------------------------- /store-implementation/hbase-store/src/test/resources/schema/serialisation.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiser": { 3 | "class": "uk.gov.gchq.gaffer.serialisation.implementation.StringSerialiser" 4 | } 5 | } -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema-DataFrame/serialisation.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiser": { 3 | "class": "uk.gov.gchq.gaffer.serialisation.implementation.StringSerialiser" 4 | } 5 | } -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/resources/disableOperations.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.SplitStore", 5 | "handler": null 6 | } 7 | ] 8 | } -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/schema-GraphFrame/serialisation.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiser": { 3 | "class": "uk.gov.gchq.gaffer.serialisation.implementation.StringSerialiser" 4 | } 5 | } -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/schemaUsingLongVertexType/storeSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiserClass": "uk.gov.gchq.gaffer.parquetstore.serialisation.impl.LongParquetSerialiser" 3 | } 4 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/schemaUsingStringVertexType/storeSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiserClass": "uk.gov.gchq.gaffer.parquetstore.serialisation.impl.StringParquetSerialiser" 3 | } 4 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema-GraphFrame/serialisation.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiser": { 3 | "class": "uk.gov.gchq.gaffer.serialisation.implementation.StringSerialiser" 4 | } 5 | } -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/schemaUsingTypeValueVertexType/storeSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertexSerialiserClass": "uk.gov.gchq.gaffer.parquetstore.serialisation.impl.TypeValueParquetSerialiser" 3 | } 4 | -------------------------------------------------------------------------------- /example/federated-demo/road-use/json/4c_getAllElementsFromIndex.json: -------------------------------------------------------------------------------- 1 | { 2 | "class": "uk.gov.gchq.gaffer.operation.impl.get.GetAllElements", 3 | "options": { 4 | "gaffer.federatedstore.operation.graphIds": "propertyIndex" 5 | } 6 | } -------------------------------------------------------------------------------- /example/federated-demo/road-use/json/3b_getElementsFromRoadJunctions.json: -------------------------------------------------------------------------------- 1 | { 2 | "class": "GetElements", 3 | "input": [ 4 | "M32:1" 5 | ], 6 | "options": { 7 | "gaffer.federatedstore.operation.graphIds": "roadJunctions" 8 | } 9 | } -------------------------------------------------------------------------------- /core/common-util/src/test/resources/URLSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "edges": { 3 | "data": { 4 | "source": "vertex.string", 5 | "destination": "vertex.string", 6 | "directed": "false", 7 | "properties": { 8 | "count": "count.int" 9 | } 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /example/federated-demo/basic/scripts/getAllGraphIds.sh: -------------------------------------------------------------------------------- 1 | curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ 2 | "class": "uk.gov.gchq.gaffer.federatedstore.operation.GetAllGraphIds" 3 | }' 'http://localhost:8080/rest/v2/graph/operations/execute' 4 | -------------------------------------------------------------------------------- /library/flink-library/src/test/resources/schema/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "edges": { 3 | "edge": { 4 | "source": "string", 5 | "destination": "string", 6 | "directed": "true", 7 | "properties": { 8 | "count": "int" 9 | } 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /example/basic/scripts/start.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Run this script from the top level directory of this repository. 4 | # Usage: ./example/basic/scripts/start.sh [any extra mvn command arguments, e.g -am to build all dependencies] 5 | mvn clean install -pl :basic-rest -Pbasic-demo,quick $@ 6 | -------------------------------------------------------------------------------- /core/store/src/test/resources/customOpChainLimiter.json: -------------------------------------------------------------------------------- 1 | { 2 | "opScores": { 3 | "uk.gov.gchq.gaffer.operation.Operation": 2, 4 | "uk.gov.gchq.gaffer.operation.impl.generate.GenerateObjects": 0 5 | }, 6 | "authScores": { 7 | "TEST_USER": 4, 8 | "TEST_USER_ENHANCED": 10 9 | } 10 | } -------------------------------------------------------------------------------- /core/store/src/test/resources/opChainLimiterHandler.json: -------------------------------------------------------------------------------- 1 | { 2 | "opScores": { 3 | "uk.gov.gchq.gaffer.operation.Operation": 1, 4 | "uk.gov.gchq.gaffer.operation.impl.generate.GenerateObjects": 0 5 | }, 6 | "authScores": { 7 | "TEST_USER": 4, 8 | "TEST_USER_ENHANCED": 10 9 | } 10 | } -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema/elementsForValidationChecking.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "vertex.string", 5 | "properties": { 6 | "timestamp": "timestamp" 7 | }, 8 | "aggregate": "false" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /example/federated-demo/scripts/start.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Run this script from the top level directory of this repository. 4 | # Usage: ./example/federated-demo/scripts/start.sh [any extra mvn command arguments, e.g -am to build all dependencies] 5 | mvn clean install -pl :federated-demo -Pfederated-demo,quick $@ 6 | -------------------------------------------------------------------------------- /example/road-traffic/scripts/start.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Run this script from the top level directory of this repository. 4 | # Usage: ./example/road-traffic/scripts/start.sh [any extra mvn command arguments, e.g -am to build all dependencies] 5 | mvn clean install -pl :road-traffic-demo -Proad-traffic-demo,quick $@ 6 | -------------------------------------------------------------------------------- /core/store/src/test/resources/operationDeclarations3.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.GetWalks", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.store.operation.handler.GetWalksHandler", 7 | "prune": true 8 | } 9 | } 10 | ] 11 | } -------------------------------------------------------------------------------- /core/store/src/test/resources/operationDeclarations2.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.generate.GenerateObjects", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.store.operation.handler.generate.GenerateObjectsHandler" 7 | } 8 | } 9 | ] 10 | } -------------------------------------------------------------------------------- /core/store/src/test/resources/operationDeclarations1.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.generate.GenerateElements", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.store.operation.handler.generate.GenerateElementsHandler" 7 | } 8 | } 9 | ] 10 | } -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | #2d89ef 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /core/graph/src/main/resources/ExportToOtherGraphOperationDeclarations.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.export.graph.ExportToOtherGraph", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.operation.export.graph.handler.ExportToOtherGraphHandler" 7 | } 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/test/resources/graphConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "graphId": "graphId1", 3 | "hooks": [ 4 | { 5 | "class": "uk.gov.gchq.gaffer.graph.hook.OperationAuthoriser", 6 | "auths": { 7 | "uk.gov.gchq.gaffer.operation.impl.get.GetAllElements": [ 8 | "EnhancedUser" 9 | ] 10 | } 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /example/federated-demo/road-use/json/6_removeGraphs.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "class": "RemoveGraph", 5 | "graphId": "roadUse" 6 | }, 7 | { 8 | "class": "RemoveGraph", 9 | "graphId": "roadJunctions" 10 | }, 11 | { 12 | "class": "RemoveGraph", 13 | "graphId": "propertyIndex" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /integration-test/src/test/resources/getWalksWithPruningDeclaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.GetWalks", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.store.operation.handler.GetWalksHandler", 7 | "prune": true, 8 | "maxHops": 10 9 | } 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /rest-api/core-rest/dependencies/swagger/lib/highlight.9.1.0.pack_extended.js: -------------------------------------------------------------------------------- 1 | "use strict";!function(){var h,l;h=hljs.configure,hljs.configure=function(l){var i=l.highlightSizeThreshold;hljs.highlightSizeThreshold=i===+i?i:null,h.call(this,l)},l=hljs.highlightBlock,hljs.highlightBlock=function(h){var i=h.innerHTML,g=hljs.highlightSizeThreshold;(null==g||g>i.length)&&l.call(hljs,h)}}(); 2 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema/elementsForAggregationChecking.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "vertex.string", 5 | "properties": { 6 | "columnQualifier": "colQualProperty", 7 | "count": "simpleProperty" 8 | }, 9 | "groupBy": [ 10 | "columnQualifier" 11 | ] 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /library/cache-library/hazelcast-cache-service/src/test/resources/hazelcast.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | test 5 | password 6 | 7 | 8 | 34562 9 | 10 | 11 | -------------------------------------------------------------------------------- /core/graph/src/test/resources/opChainHandler.json: -------------------------------------------------------------------------------- 1 | { 2 | "opScores": { 3 | "uk.gov.gchq.gaffer.operation.Operation": 1, 4 | "uk.gov.gchq.gaffer.operation.impl.add.AddElements": 2, 5 | "uk.gov.gchq.gaffer.operation.impl.get.GetAllElements": 5, 6 | "uk.gov.gchq.gaffer.operation.impl.generate.GenerateObjects": 0 7 | }, 8 | "authScores": { 9 | "User": 2, 10 | "SuperUser": 5 11 | } 12 | } -------------------------------------------------------------------------------- /library/flink-library/src/test/resources/schema/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "int": { 4 | "class": "java.lang.Integer", 5 | "aggregateFunction": { 6 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 7 | } 8 | }, 9 | "string": { 10 | "class": "java.lang.String" 11 | }, 12 | "true": { 13 | "class": "java.lang.Boolean" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /rest-api/core-rest/dependencies/swagger/lib/object-assign-pollyfill.js: -------------------------------------------------------------------------------- 1 | "function"!=typeof Object.assign&&!function(){Object.assign=function(n){"use strict";if(void 0===n||null===n)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(n),o=1;o 2 | 6 | 7 | Road Use Example 8 | 9 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema/typesForValidationChecking.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "vertex.string": { 4 | "class": "java.lang.String" 5 | }, 6 | "timestamp": { 7 | "class": "java.lang.Long", 8 | "validateFunctions": [ 9 | { 10 | "class": "uk.gov.gchq.koryphe.impl.predicate.AgeOff", 11 | "ageOffTime": 1000 12 | } 13 | ] 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /store-implementation/hbase-store/src/test/resources/schema2/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "vertex.string": { 4 | "class": "java.lang.String" 5 | }, 6 | "directed.either": { 7 | "class": "java.lang.Boolean" 8 | }, 9 | "simpleProperty": { 10 | "class": "java.lang.Integer", 11 | "aggregateFunction": { 12 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /store-implementation/accumulo-store/src/test/resources/schema2/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "vertex.string": { 4 | "class": "java.lang.String" 5 | }, 6 | "directed.either": { 7 | "class": "java.lang.Boolean" 8 | }, 9 | "simpleProperty": { 10 | "class": "java.lang.Integer", 11 | "aggregateFunction": { 12 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /example/basic/basic-model/src/main/resources/schema/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "edges": { 3 | "BasicEdge": { 4 | "source": "vertex", 5 | "destination": "vertex", 6 | "directed": "true", 7 | "properties": { 8 | "count": "count" 9 | } 10 | } 11 | }, 12 | "entities": { 13 | "BasicEntity": { 14 | "vertex": "vertex", 15 | "properties": { 16 | "count": "count" 17 | } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /store-implementation/map-store/src/test/resources/example-schema/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "entity": { 4 | "vertex": "string", 5 | "properties": { 6 | "count": "int" 7 | } 8 | } 9 | }, 10 | "edges": { 11 | "edge": { 12 | "source": "string", 13 | "destination": "string", 14 | "directed": "true", 15 | "properties": { 16 | "count": "int" 17 | } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /rest-api/hbase-rest/src/main/resources/disableOperations.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.SplitStore", 5 | "handler": null 6 | }, 7 | { 8 | "operation": "uk.gov.gchq.gaffer.hdfs.operation.AddElementsFromHdfs", 9 | "handler": null 10 | }, 11 | { 12 | "operation": "uk.gov.gchq.gaffer.hdfs.operation.SampleDataForSplitPoints", 13 | "handler": null 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /core/graph/src/test/resources/opChainLimiter.json: -------------------------------------------------------------------------------- 1 | { 2 | "class": "uk.gov.gchq.gaffer.graph.hook.OperationChainLimiter", 3 | "opScores": { 4 | "uk.gov.gchq.gaffer.operation.Operation": 1, 5 | "uk.gov.gchq.gaffer.operation.impl.add.AddElements": 2, 6 | "uk.gov.gchq.gaffer.operation.impl.get.GetAllElements": 5, 7 | "uk.gov.gchq.gaffer.operation.impl.generate.GenerateObjects": 0 8 | }, 9 | "authScores": { 10 | "User": 2, 11 | "SuperUser": 5 12 | } 13 | } -------------------------------------------------------------------------------- /example/federated-demo/road-use/scripts/createIndex.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d @example/federated-demo/road-use/json/4a_createIndexGraph.json 'http://localhost:8080/rest/v2/graph/operations/execute' 3 | curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d @example/federated-demo/road-use/json/4b_createIndex.json 'http://localhost:8080/rest/v2/graph/operations/execute' 4 | 5 | -------------------------------------------------------------------------------- /store-implementation/hbase-store/src/test/resources/schema2/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity2": { 4 | "vertex": "vertex.string", 5 | "properties": { 6 | "count": "simpleProperty" 7 | } 8 | } 9 | }, 10 | "edges": { 11 | "BasicEdge2": { 12 | "source": "vertex.string", 13 | "destination": "vertex.string", 14 | "directed": "directed.either", 15 | "properties": { 16 | "count": "simpleProperty" 17 | } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /core/graph/src/main/resources/gafferResultCache/schema/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "edges": { 3 | "result": { 4 | "source": "jobId", 5 | "destination": "exportKey", 6 | "directed": "true", 7 | "properties": { 8 | "visibility": "visibility", 9 | "timestamp": "timestamp", 10 | "opAuths": "stringSet", 11 | "resultClass": "string", 12 | "result": "json" 13 | }, 14 | "aggregate": false 15 | } 16 | }, 17 | "visibilityProperty": "visibility" 18 | } -------------------------------------------------------------------------------- /store-implementation/accumulo-store/src/test/resources/schema2/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity2": { 4 | "vertex": "vertex.string", 5 | "properties": { 6 | "count": "simpleProperty" 7 | } 8 | } 9 | }, 10 | "edges": { 11 | "BasicEdge2": { 12 | "source": "vertex.string", 13 | "destination": "vertex.string", 14 | "directed": "directed.either", 15 | "properties": { 16 | "count": "simpleProperty" 17 | } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/images/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "", 3 | "icons": [ 4 | { 5 | "src": "/android-chrome-192x192.png", 6 | "sizes": "192x192", 7 | "type": "image/png" 8 | }, 9 | { 10 | "src": "/android-chrome-512x512.png", 11 | "sizes": "512x512", 12 | "type": "image/png" 13 | } 14 | ], 15 | "theme_color": "#ffffff", 16 | "background_color": "#ffffff", 17 | "display": "standalone" 18 | } -------------------------------------------------------------------------------- /example/federated-demo/road-use/json/4b_createIndex.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "class": "GetAllElements", 5 | "view": { 6 | "globalElements": [ 7 | { 8 | "groupBy": [] 9 | } 10 | ] 11 | }, 12 | "options": { 13 | "gaffer.federatedstore.operation.graphIds": "roadUse" 14 | } 15 | }, 16 | { 17 | "class": "GenerateElements", 18 | "elementGenerator": { 19 | "class": "IndexGenerator" 20 | } 21 | } 22 | ] 23 | } -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/webapp/css/gaffer.css: -------------------------------------------------------------------------------- 1 | .swagger-section .swagger-ui-wrap{ 2 | max-width: 95%; 3 | } 4 | 5 | #operations_executeChunked .submit { 6 | display: none !important; 7 | } 8 | 9 | #operations_executeChunked_1 .submit { 10 | display: none !important; 11 | } 12 | 13 | .banner { 14 | background-color: red; 15 | color: #FFF; 16 | text-align: center; 17 | text-overflow: ellipsis; 18 | overflow: hidden; 19 | white-space: nowrap; 20 | word-wrap: break-word; 21 | padding: 3px 10px; 22 | font-weight: 700; 23 | } -------------------------------------------------------------------------------- /store-implementation/map-store/src/test/resources/example-schema/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "int": { 4 | "class": "java.lang.Integer", 5 | "aggregateFunction": { 6 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 7 | } 8 | }, 9 | "string": { 10 | "class": "java.lang.String" 11 | }, 12 | "true": { 13 | "class": "java.lang.Boolean", 14 | "validateFunctions": [ 15 | { 16 | "class": "uk.gov.gchq.koryphe.impl.predicate.IsTrue" 17 | } 18 | ] 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /cd/install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | if [ "$RELEASE" != 'true' ] && [ "$TRAVIS_PULL_REQUEST" != 'false' ]; then 6 | if [ "$MODULES" == '' ] || [[ $MODULES == *'!'* ]]; then 7 | echo "Running install script: mvn -q install -P quick,travis,build-extras -B -V" 8 | mvn -q install -P quick,travis,build-extras -B -V 9 | else 10 | echo "Running install script: mvn -q install -P quick,travis,build-extras -B -V -pl $MODULES -am" 11 | mvn -q install -P quick,travis,build-extras -B -V -pl $MODULES -am 12 | fi 13 | fi 14 | -------------------------------------------------------------------------------- /core/graph/src/test/resources/ExportToOtherAuthorisedGraphOperationDeclarations.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.export.graph.ExportToOtherAuthorisedGraph", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.operation.export.graph.handler.ExportToOtherAuthorisedGraphHandler", 7 | "idAuths": { 8 | "roadTraffic": [ 9 | "auth1" 10 | ], 11 | "roadTraffic1": [ 12 | "auth1" 13 | ] 14 | } 15 | } 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /example/federated-demo/road-use/json/3c_hopBetweenGraphs.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "class": "GetAdjacentIds", 5 | "input": [ 6 | "M32" 7 | ], 8 | "includeIncomingOutGoing": "OUTGOING", 9 | "options": { 10 | "gaffer.federatedstore.operation.graphIds": "roadJunctions" 11 | } 12 | }, 13 | { 14 | "class": "GetElements", 15 | "includeIncomingOutGoing": "OUTGOING", 16 | "options": { 17 | "gaffer.federatedstore.operation.graphIds": "roadUse" 18 | } 19 | } 20 | ] 21 | } -------------------------------------------------------------------------------- /core/graph/src/test/resources/schema/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "id.string", 5 | "properties": { 6 | "stringProperty": "prop.string" 7 | }, 8 | "aggregate": false 9 | } 10 | }, 11 | "edges": { 12 | "BasicEdge": { 13 | "source": "id.string", 14 | "destination": "id.string", 15 | "directed": "directed.either", 16 | "properties": { 17 | "intProperty": "prop.integer", 18 | "count": "prop.count" 19 | }, 20 | "aggregate": false 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /rest-api/core-rest/dependencies/swagger/lib/jquery.wiggle.min.js: -------------------------------------------------------------------------------- 1 | jQuery.fn.wiggle=function(e){var a={speed:50,wiggles:3,travel:5,callback:null},e=jQuery.extend(a,e);return this.each(function(){var a=this,l=(jQuery(this).wrap('
').css("position","relative"),0);for(i=1;i<=e.wiggles;i++)jQuery(this).animate({left:"-="+e.travel},e.speed).animate({left:"+="+2*e.travel},2*e.speed).animate({left:"-="+e.travel},e.speed,function(){l++,jQuery(a).parent().hasClass("wiggle-wrap")&&jQuery(a).parent().replaceWith(a),l==e.wiggles&&jQuery.isFunction(e.callback)&&e.callback()})})}; 2 | -------------------------------------------------------------------------------- /example/road-traffic/road-traffic-rest/src/main/resources/ExportToOtherAuthorisedGraphOperationDeclarations.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.export.graph.ExportToOtherAuthorisedGraph", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.operation.export.graph.handler.ExportToOtherAuthorisedGraphHandler", 7 | "idAuths": { 8 | "roadTraffic": [ 9 | "auth1" 10 | ], 11 | "roadTraffic1": [ 12 | "auth1" 13 | ] 14 | } 15 | } 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /rest-api/core-rest/dependencies/swagger/o2c.html: -------------------------------------------------------------------------------- 1 | 21 | -------------------------------------------------------------------------------- /core/store/src/test/resources/schema-groupby/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "id.string": { 4 | "class": "java.lang.String" 5 | }, 6 | "directed.true": { 7 | "class": "java.lang.Boolean" 8 | }, 9 | "count.long": { 10 | "class": "java.lang.Long", 11 | "aggregateFunction": { 12 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 13 | } 14 | }, 15 | "prop.string": { 16 | "class": "java.lang.String", 17 | "aggregateFunction": { 18 | "class": "uk.gov.gchq.gaffer.function.ExampleAggregateFunction" 19 | } 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /core/graph/src/test/resources/opAuthoriser.json: -------------------------------------------------------------------------------- 1 | { 2 | "class": "uk.gov.gchq.gaffer.graph.hook.OperationAuthoriser", 3 | "auths": { 4 | "uk.gov.gchq.gaffer.operation.Operation": [ 5 | "User" 6 | ], 7 | "uk.gov.gchq.gaffer.operation.io.Output": [ 8 | "ReadUser" 9 | ], 10 | "uk.gov.gchq.gaffer.operation.impl.add.AddElements": [ 11 | "WriteUser" 12 | ], 13 | "uk.gov.gchq.gaffer.operation.impl.get.GetAdjacentIds": [ 14 | "SuperUser" 15 | ], 16 | "uk.gov.gchq.gaffer.operation.impl.get.GetAllElements": [ 17 | "AdminUser", 18 | "SuperUser" 19 | ] 20 | } 21 | } -------------------------------------------------------------------------------- /example/basic/basic-model/src/main/resources/schema/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "vertex": { 4 | "class": "java.lang.String" 5 | }, 6 | "count": { 7 | "class": "java.lang.Integer", 8 | "aggregateFunction": { 9 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 10 | } 11 | }, 12 | "true": { 13 | "description": "A simple boolean that must always be true.", 14 | "class": "java.lang.Boolean", 15 | "validateFunctions": [ 16 | { 17 | "class": "uk.gov.gchq.koryphe.impl.predicate.IsTrue" 18 | } 19 | ] 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /store-implementation/map-store/src/test/resources/schema/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "vertex.string": { 4 | "class": "java.lang.String" 5 | }, 6 | "directed.either": { 7 | "class": "java.lang.Boolean" 8 | }, 9 | "string": { 10 | "class": "java.lang.String", 11 | "aggregateFunction": { 12 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.StringConcat" 13 | } 14 | }, 15 | "int": { 16 | "class": "java.lang.Integer", 17 | "aggregateFunction": { 18 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 19 | } 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /rest-api/accumulo-rest/src/main/resources/disableOperations.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.SplitStore", 5 | "handler": null 6 | }, 7 | { 8 | "operation": "uk.gov.gchq.gaffer.hdfs.operation.AddElementsFromHdfs", 9 | "handler": null 10 | }, 11 | { 12 | "operation": "uk.gov.gchq.gaffer.hdfs.operation.SampleDataForSplitPoints", 13 | "handler": null 14 | }, 15 | { 16 | "operation": "uk.gov.gchq.gaffer.accumulostore.operation.hdfs.operation.ImportAccumuloKeyValueFiles", 17 | "handler": null 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /store-implementation/map-store/src/test/resources/schema-no-aggregation/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "vertex.string": { 4 | "class": "java.lang.String" 5 | }, 6 | "directed.either": { 7 | "class": "java.lang.Boolean" 8 | }, 9 | "string": { 10 | "class": "java.lang.String", 11 | "aggregateFunction": { 12 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.StringConcat" 13 | } 14 | }, 15 | "int": { 16 | "class": "java.lang.Integer", 17 | "aggregateFunction": { 18 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 19 | } 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/schema-GraphFrame/elementsNonstandardTypes.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "freqMap": "freqMapProperty", 7 | "hllpp": "hyperLogLogPlus" 8 | }, 9 | "aggregate": false 10 | } 11 | }, 12 | "edges": { 13 | "BasicEdge": { 14 | "source": "string", 15 | "destination": "string", 16 | "directed": "directed.either", 17 | "properties": { 18 | "freqMap": "freqMapProperty", 19 | "hllpp": "hyperLogLogPlus" 20 | }, 21 | "aggregate": false 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema-DataFrame/elementsNonstandardTypes.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "freqMap": "freqMapProperty", 7 | "hllpp": "hyperLogLogPlus" 8 | }, 9 | "aggregate": false 10 | } 11 | }, 12 | "edges": { 13 | "BasicEdge": { 14 | "source": "string", 15 | "destination": "string", 16 | "directed": "directed.either", 17 | "properties": { 18 | "freqMap": "freqMapProperty", 19 | "hllpp": "hyperLogLogPlus" 20 | }, 21 | "aggregate": false 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema-GraphFrame/elementsNonstandardTypes.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "freqMap": "freqMapProperty", 7 | "hllpp": "hyperLogLogPlus" 8 | }, 9 | "aggregate": false 10 | } 11 | }, 12 | "edges": { 13 | "BasicEdge": { 14 | "source": "string", 15 | "destination": "string", 16 | "directed": "directed.either", 17 | "properties": { 18 | "freqMap": "freqMapProperty", 19 | "hllpp": "hyperLogLogPlus" 20 | }, 21 | "aggregate": false 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /store-implementation/federated-store/src/test/resources/schema/basicEntitySchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "vertex.string", 5 | "properties": { 6 | "property1": "simpleProperty" 7 | } 8 | } 9 | }, 10 | "types": { 11 | "vertex.string": { 12 | "class": "java.lang.String" 13 | }, 14 | "simpleProperty": { 15 | "class": "java.lang.Integer", 16 | "aggregateFunction": { 17 | "class": "uk.gov.gchq.koryphe.impl.binaryoperator.Sum" 18 | }, 19 | "serialiser": { 20 | "class": "uk.gov.gchq.gaffer.serialisation.implementation.raw.CompactRawIntegerSerialiser" 21 | } 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /core/store/src/test/resources/store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | key1=value1 18 | testKey=value1 19 | -------------------------------------------------------------------------------- /core/store/src/test/resources/store2.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | key2=value2 18 | testKey=value2 19 | -------------------------------------------------------------------------------- /core/serialisation/src/test/resources/multiSerialiser.json: -------------------------------------------------------------------------------- 1 | { 2 | "serialisers" : [ { 3 | "key" : 0, 4 | "serialiser" : { 5 | "class" : "uk.gov.gchq.gaffer.serialisation.implementation.StringSerialiser", 6 | "charset" : "UTF-8" 7 | }, 8 | "valueClass" : "java.lang.String" 9 | }, { 10 | "key" : 1, 11 | "serialiser" : { 12 | "class" : "uk.gov.gchq.gaffer.serialisation.implementation.raw.CompactRawLongSerialiser" 13 | }, 14 | "valueClass" : "java.lang.Long" 15 | }, { 16 | "key" : 2, 17 | "serialiser" : { 18 | "class" : "uk.gov.gchq.gaffer.serialisation.implementation.raw.CompactRawIntegerSerialiser" 19 | }, 20 | "valueClass" : "java.lang.Integer" 21 | } ] 22 | } -------------------------------------------------------------------------------- /core/store/src/test/resources/authScores.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | TEST_USER=4 17 | TEST_USER_ENHANCED=10 18 | -------------------------------------------------------------------------------- /cd/verify.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | if [ "$RELEASE" != 'true' ] && [ "$TRAVIS_PULL_REQUEST" != 'false' ]; then 6 | if [ "$MODULES" == '' ]; then 7 | echo "Running verify script: mvn -q verify -P travis,analyze -B" 8 | mvn -q verify -P travis,analyze -B 9 | echo "Running verify script: mvn -q verify -P travis,test -B" 10 | mvn -q verify -P travis,test -B 11 | else 12 | echo "Running verify script: mvn -q verify -P travis,analyze -B -pl $MODULES" 13 | mvn -q verify -P travis,analyze -B -pl $MODULES 14 | echo "Running verify script: mvn -q verify -P travis,test -B -pl $MODULES" 15 | mvn -q verify -P travis,test -B -pl $MODULES 16 | fi 17 | fi 18 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/resources/version.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2018 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.version=1.5.0 17 | koryphe.version=1.4.0 18 | -------------------------------------------------------------------------------- /library/cache-library/jcs-cache-service/src/test/resources/distributed.ccf: -------------------------------------------------------------------------------- 1 | jcs.default=LTCP 2 | jcs.default.cacheattributes=org.apache.commons.jcs.engine.CompositeCacheAttributes 3 | jcs.default.cacheattributes.MaxObjects=100 4 | jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache 5 | 6 | jcs.auxiliary.LTCP=org.apache.commons.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory 7 | jcs.auxiliary.LTCP.attributes=org.apache.commons.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes 8 | jcs.auxiliary.LTCP.attributes.TcpServers= 9 | jcs.auxiliary.LTCP.attributes.TcpListenerPort=1110 10 | jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=false 11 | jcs.auxiliary.LTCP.attributes.AllowGet=false 12 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema-DataFrame/elementsUserDefinedConversion.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "freqMap": "freqMapProperty", 7 | "hllpp": "hyperLogLogPlus", 8 | "myProperty": "myProperty" 9 | }, 10 | "aggregate": false 11 | } 12 | }, 13 | "edges": { 14 | "BasicEdge": { 15 | "source": "string", 16 | "destination": "string", 17 | "directed": "directed.either", 18 | "properties": { 19 | "freqMap": "freqMapProperty", 20 | "hllpp": "hyperLogLogPlus", 21 | "myProperty": "myProperty" 22 | }, 23 | "aggregate": false 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema-GraphFrame/elementsUserDefinedConversion.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "freqMap": "freqMapProperty", 7 | "hllpp": "hyperLogLogPlus", 8 | "myProperty": "myProperty" 9 | }, 10 | "aggregate": false 11 | } 12 | }, 13 | "edges": { 14 | "BasicEdge": { 15 | "source": "string", 16 | "destination": "string", 17 | "directed": "directed.either", 18 | "properties": { 19 | "freqMap": "freqMapProperty", 20 | "hllpp": "hyperLogLogPlus", 21 | "myProperty": "myProperty" 22 | }, 23 | "aggregate": false 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/schema-GraphFrame/elementsUserDefinedConversion.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "freqMap": "freqMapProperty", 7 | "hllpp": "hyperLogLogPlus", 8 | "myProperty": "myProperty" 9 | }, 10 | "aggregate": false 11 | } 12 | }, 13 | "edges": { 14 | "BasicEdge": { 15 | "source": "string", 16 | "destination": "string", 17 | "directed": "directed.either", 18 | "properties": { 19 | "freqMap": "freqMapProperty", 20 | "hllpp": "hyperLogLogPlus", 21 | "myProperty": "myProperty" 22 | }, 23 | "aggregate": false 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema-GraphFrame/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "fullname" : "string" 7 | } 8 | }, 9 | "BasicEntity2": { 10 | "vertex": "string", 11 | "properties": { 12 | } 13 | } 14 | }, 15 | "edges": { 16 | "BasicEdge": { 17 | "source": "string", 18 | "destination": "string", 19 | "directed": "directed.either", 20 | "properties": { 21 | "type": "string" 22 | } 23 | }, 24 | "BasicEdge2": { 25 | "source": "string", 26 | "destination": "string", 27 | "directed": "directed.either", 28 | "properties": { 29 | } 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /logos/asciiLogo.txt: -------------------------------------------------------------------------------- 1 | 2 | _<^```\ 3 | __>'- ~--^^~ . 4 | _> / ' \ o 5 | _> ,/ . @_^`^) O 6 | - |. /_,__ ) o 7 | _> | / ' (. ________ _____ __O__ 8 | >_(/ _ (_ \ / _____/_____ _/ ____\/ ____\___________ 9 | /.' ( `.\ / \ ___\__ \\ __\\ __\/ __ \_ ___\ 10 | ( ( \ \_\ \/ __ \| | | | \ ___/| | 11 | ( ( \________/(____/|__| |__| \_____|__| 12 | `( `l./^^> __ 13 | `l. / / \ 14 | l | \__/ _ 15 | l( (_) 16 | 17 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/schema-GraphFrame/elements.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "fullname" : "string" 7 | } 8 | }, 9 | "BasicEntity2": { 10 | "vertex": "string", 11 | "properties": { 12 | } 13 | } 14 | }, 15 | "edges": { 16 | "BasicEdge": { 17 | "source": "string", 18 | "destination": "string", 19 | "directed": "directed.either", 20 | "properties": { 21 | "type": "string" 22 | } 23 | }, 24 | "BasicEdge2": { 25 | "source": "string", 26 | "destination": "string", 27 | "directed": "directed.either", 28 | "properties": { 29 | } 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /core/graph/src/main/resources/gafferResultCache/schema/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": { 3 | "jobId": { 4 | "class": "java.lang.String" 5 | }, 6 | "exportKey": { 7 | "class": "java.lang.String" 8 | }, 9 | "true": { 10 | "class": "java.lang.Boolean", 11 | "validateFunctions": [ 12 | { 13 | "class": "uk.gov.gchq.koryphe.impl.predicate.IsTrue" 14 | } 15 | ] 16 | }, 17 | "timestamp": { 18 | "class": "java.lang.Long" 19 | }, 20 | "json": { 21 | "class": "[B" 22 | }, 23 | "string": { 24 | "class": "java.lang.String" 25 | }, 26 | "stringSet": { 27 | "class": "java.util.TreeSet" 28 | }, 29 | "visibility": { 30 | "class": "java.lang.String" 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /code-style/licenseHeader.txt: -------------------------------------------------------------------------------- 1 | ^(/\*|#)$ 2 | ^(\s\*|#) Copyright (20\d\d)(-20\d\d)? 3 | ^(\s\*|#)$ 4 | ^(\s\*|#) Licensed under the Apache License, Version 2.0 \(the "License"\);$ 5 | ^(\s\*|#) you may not use this file except in compliance with the License.$ 6 | ^(\s\*|#) You may obtain a copy of the License at$ 7 | ^(\s\*|#)$ 8 | ^(\s\*|#) http://www.apache.org/licenses/LICENSE-2.0$ 9 | ^(\s\*|#)$ 10 | ^(\s\*|#) Unless required by applicable law or agreed to in writing, software$ 11 | ^(\s\*|#) distributed under the License is distributed on an "AS IS" BASIS,$ 12 | ^(\s\*|#) WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.$ 13 | ^(\s\*|#) See the License for the specific language governing permissions and$ 14 | ^(\s\*|#) limitations under the License.$ 15 | ^(\s\*/|#)$ 16 | -------------------------------------------------------------------------------- /rest-api/core-rest/dependencies/swagger/css/reset.css: -------------------------------------------------------------------------------- 1 | a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0} -------------------------------------------------------------------------------- /library/flink-library/src/main/resources/FlinkOperationDeclarations.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.add.AddElementsFromSocket", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.flink.operation.handler.AddElementsFromSocketHandler" 7 | } 8 | }, 9 | { 10 | "operation": "uk.gov.gchq.gaffer.operation.impl.add.AddElementsFromKafka", 11 | "handler": { 12 | "class": "uk.gov.gchq.gaffer.flink.operation.handler.AddElementsFromKafkaHandler" 13 | } 14 | }, 15 | { 16 | "operation": "uk.gov.gchq.gaffer.operation.impl.add.AddElementsFromFile", 17 | "handler": { 18 | "class": "uk.gov.gchq.gaffer.flink.operation.handler.AddElementsFromFileHandler" 19 | } 20 | } 21 | ] 22 | } -------------------------------------------------------------------------------- /example/road-traffic/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | uk.gov.gchq.gaffer 5 | example 6 | 1.5.0 7 | 8 | 4.0.0 9 | 10 | road-traffic 11 | pom 12 | 13 | 14 | road-traffic-generators 15 | road-traffic-model 16 | road-traffic-rest 17 | road-traffic-demo 18 | 19 | 20 | -------------------------------------------------------------------------------- /core/graph/src/test/resources/store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.integration.store.TestStore 17 | gaffer.store.properties.class=uk.gov.gchq.gaffer.store.StoreProperties 18 | -------------------------------------------------------------------------------- /core/cache/src/main/java/uk/gov/gchq/gaffer/cache/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for the Gaffer cache service. 19 | */ 20 | package uk.gov.gchq.gaffer.cache; 21 | -------------------------------------------------------------------------------- /store-implementation/hbase-store/sample-files/add-test-visibility-labels.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016-2018 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | add_labels ['public', 'private', 'vis1', 'vis2'] 17 | set_auths '',['public', 'private', 'vis1', 'vis2'] 18 | -------------------------------------------------------------------------------- /cd/before_install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | # Need to list all the modules. This needs to be done without using maven 6 | # as we don't want to download dependencies and compile the code first. 7 | # This method isn't very nice but we needed a simple approach that didn't 8 | # require external dependencies that weren't available on travis. 9 | allModules="" 10 | pomPaths=`find . -name "pom.xml"` 11 | 12 | for pomPath in $pomPaths 13 | do 14 | currentModule=`cat $pomPath | grep '^ *' | sort -r | head -1 | cut -d '>' -f 2 | cut -d '<' -f 1` 15 | allModules="$allModules $currentModule" 16 | done 17 | 18 | for module in $allModules 19 | do 20 | if ! grep -q :$module .travis.yml 21 | then 22 | echo ".travis.yml is missing module $module"; 23 | exit 1; 24 | fi 25 | done 26 | -------------------------------------------------------------------------------- /core/type/src/main/java/uk/gov/gchq/gaffer/types/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Additional data types for use within Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.types; 21 | -------------------------------------------------------------------------------- /core/cache/src/main/java/uk/gov/gchq/gaffer/cache/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Utilities for the core cache library. 19 | */ 20 | package uk.gov.gchq.gaffer.cache.util; 21 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Core classes for describing the Gaffer data model. 19 | */ 20 | package uk.gov.gchq.gaffer.data; 21 | -------------------------------------------------------------------------------- /core/serialisation/src/main/java/uk/gov/gchq/gaffer/serialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Serialisation classes. 19 | */ 20 | package uk.gov.gchq.gaffer.serialisation; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Utility classes for the store classes. 19 | */ 20 | package uk.gov.gchq.gaffer.store.util; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes which provide the Gaffer REST API. 19 | */ 20 | package uk.gov.gchq.gaffer.rest; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/test/resources/store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.mapstore.SingleUseMapStore 17 | gaffer.store.properties.class=uk.gov.gchq.gaffer.mapstore.MapStoreProperties 18 | -------------------------------------------------------------------------------- /core/common-util/src/main/java/uk/gov/gchq/gaffer/commonutil/exception/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Common exceptions. 19 | */ 20 | package uk.gov.gchq.gaffer.commonutil.exception; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Core operation implementations. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/schema/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes describing the Gaffer schema. 19 | */ 20 | package uk.gov.gchq.gaffer.store.schema; 21 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/element/comparison/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Element comparators. 19 | */ 20 | package uk.gov.gchq.gaffer.data.element.comparison; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/optimiser/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation chain optimisation classes. 19 | */ 20 | package uk.gov.gchq.gaffer.store.optimiser; 21 | -------------------------------------------------------------------------------- /example/federated-demo/src/main/resources/federatedStore.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2017 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.federatedstore.FederatedStore 17 | gaffer.cache.service.class=uk.gov.gchq.gaffer.cache.impl.JcsCacheService 18 | -------------------------------------------------------------------------------- /store-implementation/proxy-store/src/test/resources/proxy-store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.proxystore.ProxyStore 17 | gaffer.host=localhost 18 | gaffer.port=8080 19 | gaffer.context-root=/rest 20 | -------------------------------------------------------------------------------- /core/cache/src/main/java/uk/gov/gchq/gaffer/cache/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Simple implementations of the Gaffer cache service. 19 | */ 20 | package uk.gov.gchq.gaffer.cache.impl; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Core classes for describing operations in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.operation; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/serialiser/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Serialiser implementations for stores. 19 | */ 20 | package uk.gov.gchq.gaffer.store.serialiser; 21 | -------------------------------------------------------------------------------- /findbugs-exclude.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/filter/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Servlet filters for the Gaffer REST API. 19 | */ 20 | package uk.gov.gchq.gaffer.rest.filter; 21 | -------------------------------------------------------------------------------- /rest-api/hbase-rest/src/test/resources/store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.hbasestore.SingleUseMiniHBaseStore 17 | hbase.zookeepers=localhost:2181 18 | hbase.mini.visibilities=public,private,vis1,vis2 19 | -------------------------------------------------------------------------------- /store-implementation/map-store/src/main/java/uk/gov/gchq/gaffer/mapstore/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * The Gaffer MapStore implementation. 19 | */ 20 | package uk.gov.gchq.gaffer.mapstore; 21 | -------------------------------------------------------------------------------- /core/cache/src/main/java/uk/gov/gchq/gaffer/cache/exception/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Exception classes for the core cache library. 19 | */ 20 | package uk.gov.gchq.gaffer.cache.exception; 21 | -------------------------------------------------------------------------------- /core/type/src/main/java/uk/gov/gchq/gaffer/serialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Serialisation classes for the additional Gaffer types. 19 | */ 20 | package uk.gov.gchq.gaffer.serialisation; 21 | -------------------------------------------------------------------------------- /example/federated-demo/basic/scripts/addElements.sh: -------------------------------------------------------------------------------- 1 | curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ 2 | "class" : "uk.gov.gchq.gaffer.operation.impl.add.AddElements", 3 | "input" : [ { 4 | "group" : "BasicEntity", 5 | "vertex" : "1", 6 | "properties" : { 7 | "count" : 1 8 | }, 9 | "class" : "uk.gov.gchq.gaffer.data.element.Entity" 10 | }, { 11 | "group" : "BasicEdge", 12 | "source" : "1", 13 | "destination" : "2", 14 | "directed" : true, 15 | "properties" : { 16 | "count" : 1 17 | }, 18 | "class" : "uk.gov.gchq.gaffer.data.element.Edge" 19 | } ], 20 | "options": { 21 | "gaffer.federatedstore.operation.graphIds": "accEntities,mapEdges" 22 | } 23 | }' 'http://localhost:8080/rest/v2/graph/operations/execute' 24 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for integrating Apache Spark with Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.spark; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/schema-GraphFrame/elementsWithVertexProperty.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "vertex": "string", 7 | "fullname": "string" 8 | } 9 | }, 10 | "BasicEntity2": { 11 | "vertex": "string", 12 | "properties": { 13 | } 14 | } 15 | }, 16 | "edges": { 17 | "BasicEdge": { 18 | "source": "string", 19 | "destination": "string", 20 | "directed": "directed.either", 21 | "properties": { 22 | "vertex": "string", 23 | "type": "string" 24 | } 25 | }, 26 | "BasicEdge2": { 27 | "source": "string", 28 | "destination": "string", 29 | "directed": "directed.either", 30 | "properties": { 31 | } 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /store-implementation/proxy-store/src/main/java/uk/gov/gchq/gaffer/proxystore/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * The Gaffer ProxyStore implementation. 19 | */ 20 | package uk.gov.gchq.gaffer.proxystore; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/named/operation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for handling NamedOperations in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.named.operation; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/data/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Core data objects for the Gaffer operation library. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.data; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/add/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for adding elements to a graph. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl.add; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/declaration/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation declaration classes. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.declaration; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/job/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for job operations. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler.job; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation handler implementations. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler; 21 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/test/resources/schema-GraphFrame/elementsWithVertexProperty.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "BasicEntity": { 4 | "vertex": "string", 5 | "properties": { 6 | "vertex": "string", 7 | "fullname": "string" 8 | } 9 | }, 10 | "BasicEntity2": { 11 | "vertex": "string", 12 | "properties": { 13 | } 14 | } 15 | }, 16 | "edges": { 17 | "BasicEdge": { 18 | "source": "string", 19 | "destination": "string", 20 | "directed": "directed.either", 21 | "properties": { 22 | "vertex": "string", 23 | "type": "string" 24 | } 25 | }, 26 | "BasicEdge2": { 27 | "source": "string", 28 | "destination": "string", 29 | "directed": "directed.either", 30 | "properties": { 31 | } 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /library/time-library/src/main/java/uk/gov/gchq/gaffer/time/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for handling timestamps in Gaffer store implementations. 19 | */ 20 | package uk.gov.gchq.gaffer.time; 21 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/element/id/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes related to the identification of Gaffer elements. 19 | */ 20 | package uk.gov.gchq.gaffer.data.element.id; 21 | -------------------------------------------------------------------------------- /core/data/src/test/resources/view.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": { 3 | "entityGroup": {} 4 | }, 5 | "edges": { 6 | "BasicEdge": { 7 | "transientProperties": { 8 | "concatProperty": "String" 9 | }, 10 | "transformFunctions": [ 11 | { 12 | "selection": [ 13 | "property1", 14 | "SOURCE" 15 | ], 16 | "projection": [ 17 | "transientProperty1" 18 | ], 19 | "function": { 20 | "class": "ExampleTransformFunction" 21 | } 22 | } 23 | ], 24 | "postTransformFilterFunctions": [ 25 | { 26 | "selection": [ 27 | "transientProperty1" 28 | ], 29 | "predicate": { 30 | "class": "ExampleFilterFunction" 31 | } 32 | } 33 | ] 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/jobtracker/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Data types describing Jobs in Gaffer (long running operations). 19 | */ 20 | package uk.gov.gchq.gaffer.jobtracker; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/user/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes defining a user in the context of executing requests against a graph. 19 | */ 20 | package uk.gov.gchq.gaffer.user; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/named/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for named operations. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler.named; 21 | -------------------------------------------------------------------------------- /store-implementation/map-store/src/main/java/uk/gov/gchq/gaffer/mapstore/multimap/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Gaffer MultiMap implementation. 19 | */ 20 | package uk.gov.gchq.gaffer.mapstore.multimap; 21 | -------------------------------------------------------------------------------- /store-implementation/map-store/src/main/java/uk/gov/gchq/gaffer/mapstore/operation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for the Map store. 19 | */ 20 | package uk.gov.gchq.gaffer.mapstore.operation; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * The Gaffer ParquetStore implementation. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore; 21 | -------------------------------------------------------------------------------- /store-implementation/proxy-store/src/test/resources/mock-proxy-store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.proxystore.SingleUseMapProxyStore 17 | gaffer.host=localhost 18 | gaffer.port=8080 19 | gaffer.context-root=/rest 20 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/elementdefinition/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes which describe the definition of elements. 19 | */ 20 | package uk.gov.gchq.gaffer.data.elementdefinition; 21 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/graph/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Data objects used by Gaffer which are related to graph analysis concepts. 19 | */ 20 | package uk.gov.gchq.gaffer.data.graph; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/compare/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for comparing objects in a graph. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl.compare; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/export/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for exporting data out of a graph. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl.export; 21 | -------------------------------------------------------------------------------- /core/serialisation/src/main/java/uk/gov/gchq/gaffer/exception/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Exceptions relating to serialisation and deserialisation in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.exception; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/export/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for export operations. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler.export; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/output/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for output operations. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler.output; 21 | -------------------------------------------------------------------------------- /core/type/src/main/java/uk/gov/gchq/gaffer/types/function/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Function classes for interacting with the Gaffer types classes. 19 | */ 20 | package uk.gov.gchq.gaffer.types.function; 21 | -------------------------------------------------------------------------------- /example/basic/basic-rest/src/main/resources/accumulo/ResultCacheExportOperations.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": [ 3 | { 4 | "operation": "uk.gov.gchq.gaffer.operation.impl.export.resultcache.ExportToGafferResultCache", 5 | "handler": { 6 | "class": "uk.gov.gchq.gaffer.operation.export.resultcache.handler.ExportToGafferResultCacheHandler", 7 | "timeToLive": 86400000, 8 | "storePropertiesPath": "accumulo/cache-store.properties" 9 | } 10 | }, 11 | { 12 | "operation": "uk.gov.gchq.gaffer.operation.impl.export.resultcache.GetGafferResultCacheExport", 13 | "handler": { 14 | "class": "uk.gov.gchq.gaffer.operation.export.resultcache.handler.GetGafferResultCacheExportHandler", 15 | "timeToLive": 86400000, 16 | "storePropertiesPath": "accumulo/cache-store.properties" 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /library/bitmap-library/src/main/java/uk/gov/gchq/gaffer/bitmap/serialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Serialisation classes for bitmap objects. 19 | */ 20 | package uk.gov.gchq.gaffer.bitmap.serialisation; 21 | -------------------------------------------------------------------------------- /library/bitmap-library/src/main/java/uk/gov/gchq/gaffer/bitmap/serialisation/utils/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Utilities for bitmap classes. 19 | */ 20 | package uk.gov.gchq.gaffer.bitmap.serialisation.utils; 21 | -------------------------------------------------------------------------------- /library/cache-library/jcs-cache-service/src/main/java/uk/gov/gchq/gaffer/cache/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * The JCS Gaffer cache service implementation. 19 | */ 20 | package uk.gov.gchq.gaffer.cache.impl; 21 | -------------------------------------------------------------------------------- /library/hdfs-library/src/main/java/uk/gov/gchq/gaffer/hdfs/operation/mapper/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Gaffer-specific Hadoop Mapper classes. 19 | */ 20 | package uk.gov.gchq.gaffer.hdfs.operation.mapper; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/serialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Serialisation utilities for the Gaffer REST API. 19 | */ 20 | package uk.gov.gchq.gaffer.rest.serialisation; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/service/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Service implementations for v1 of the Gaffer REST API. 19 | */ 20 | package uk.gov.gchq.gaffer.rest.service.v1; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/service/v2/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Service implementations for v2 of the Gaffer REST API. 19 | */ 20 | package uk.gov.gchq.gaffer.rest.service.v2; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/test/java/uk/gov/gchq/gaffer/rest/factory/GraphFactoryForTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package uk.gov.gchq.gaffer.rest.factory; 18 | 19 | public class GraphFactoryForTest extends DefaultGraphFactory { 20 | } 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/test/java/uk/gov/gchq/gaffer/rest/factory/UserFactoryForTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package uk.gov.gchq.gaffer.rest.factory; 18 | 19 | public class UserFactoryForTest extends UnknownUserFactory { 20 | } 21 | -------------------------------------------------------------------------------- /store-implementation/hbase-store/src/test/resources/store2.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016-2017 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.hbasestore.SingleUseMiniHBaseStore 17 | hbase.zookeepers=localhost:2182 18 | hbase.mini.visibilities=public,private,vis1,vis2 19 | -------------------------------------------------------------------------------- /store-implementation/map-store/src/main/java/uk/gov/gchq/gaffer/mapstore/utils/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Additional utility classes for the Map store. 19 | */ 20 | package uk.gov.gchq.gaffer.mapstore.utils; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/multiUseStore.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2017. Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.parquetstore.ParquetStore 17 | parquet.add_elements.output_files_per_group=2 18 | parquet.add_elements.threadsAvailable=1 19 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/element/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Core Java data types relating to Gaffer graph elements (entities and edges). 19 | */ 20 | package uk.gov.gchq.gaffer.data.element; 21 | -------------------------------------------------------------------------------- /core/data/src/test/java/uk/gov/gchq/gaffer/data/graph/adjacency/SimpleAdjacencyMapsTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package uk.gov.gchq.gaffer.data.graph.adjacency; 18 | 19 | public class SimpleAdjacencyMapsTest { 20 | // Empty 21 | } 22 | -------------------------------------------------------------------------------- /core/graph/src/main/java/uk/gov/gchq/gaffer/operation/export/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Implementations of operations for exporting results from Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.export; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/get/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for retrieving elements from a Gaffer graph. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl.get; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/compare/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for comparison operations. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler.compare; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/generate/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for generate operations. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler.generate; 21 | -------------------------------------------------------------------------------- /store-implementation/map-store/src/test/resources/store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2017 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.mapstore.SingleUseMapStore 17 | # Use a small buffer size to test adding in batches 18 | gaffer.store.mapstore.map.ingest.buffer.size=5 19 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/graph/entity/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Data objects used by Gaffer which are related to graph entity caching. 19 | */ 20 | package uk.gov.gchq.gaffer.data.graph.entity; 21 | -------------------------------------------------------------------------------- /core/exception/src/main/java/uk/gov/gchq/gaffer/core/exception/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Gaffer-specific exceptions classes and classes for error generation. 19 | */ 20 | package uk.gov.gchq.gaffer.core.exception; 21 | -------------------------------------------------------------------------------- /core/serialisation/src/main/java/uk/gov/gchq/gaffer/jsonserialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for handling JSON serialisation and deserialisation. 19 | */ 20 | package uk.gov.gchq.gaffer.jsonserialisation; 21 | -------------------------------------------------------------------------------- /library/bitmap-library/src/main/java/uk/gov/gchq/gaffer/bitmap/function/aggregate/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Aggregation functions for bitmap objects. 19 | */ 20 | package uk.gov.gchq.gaffer.bitmap.function.aggregate; 21 | -------------------------------------------------------------------------------- /library/time-library/src/main/java/uk/gov/gchq/gaffer/time/binaryoperator/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Aggregation classes for the Gaffer timestamp objects. 19 | */ 20 | package uk.gov.gchq.gaffer.time.binaryoperator; 21 | -------------------------------------------------------------------------------- /library/time-library/src/main/java/uk/gov/gchq/gaffer/time/serialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Serialisation classes for the Gaffer timestamp classes. 19 | */ 20 | package uk.gov.gchq.gaffer.time.serialisation; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/io/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for handling IO to/from Parquet files. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.io; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/utils/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Utility classes used by the parquet store. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.utils; 21 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/elementdefinition/exception/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Exceptions relating to element definitions. 19 | */ 20 | package uk.gov.gchq.gaffer.data.elementdefinition.exception; 21 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/generator/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Generator classes for transforming between Gaffer elements and domain objects. 19 | */ 20 | package uk.gov.gchq.gaffer.data.generator; 21 | -------------------------------------------------------------------------------- /core/graph/src/main/java/uk/gov/gchq/gaffer/operation/export/graph/handler/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for the Gaffer graph export operations. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.export.graph.handler; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/data/generator/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Generator implementations for the operation data objects. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.data.generator; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/graph/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Extension interfaces for performing filtering on results from operations. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.graph; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/io/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Extension interfaces for describing operations which define inputs and outputs. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.io; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/export/set/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for "export to set" operations. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler.export.set; 21 | -------------------------------------------------------------------------------- /library/cache-library/hazelcast-cache-service/src/main/java/uk/gov/gchq/gaffer/cache/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * The Hazelcast Gaffer cache service implementation. 19 | */ 20 | package uk.gov.gchq.gaffer.cache.impl; 21 | -------------------------------------------------------------------------------- /library/hdfs-library/src/main/java/uk/gov/gchq/gaffer/hdfs/operation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes relating to operations for interacting with data held in HDFS. 19 | */ 20 | package uk.gov.gchq.gaffer.hdfs.operation; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/operation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation classes for integrating Apache Spark with Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.operation; 21 | -------------------------------------------------------------------------------- /store-implementation/federated-store/src/test/resources/predefinedFederatedStore.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2017 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.federatedstore.PredefinedFederatedStore 17 | gaffer.cache.service.class=uk.gov.gchq.gaffer.cache.impl.HashMapCacheService 18 | -------------------------------------------------------------------------------- /store-implementation/map-store/src/main/java/uk/gov/gchq/gaffer/mapstore/factory/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Factory classes for creating Map and MultiMap instances. 19 | */ 20 | package uk.gov.gchq.gaffer.mapstore.factory; 21 | -------------------------------------------------------------------------------- /store-implementation/map-store/src/main/java/uk/gov/gchq/gaffer/mapstore/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Implementation details for the MapImpl map-based data store. 19 | */ 20 | package uk.gov.gchq.gaffer.mapstore.impl; 21 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/element/function/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Functional operation objects for Gaffer, based on the Koryphe library. 19 | */ 20 | package uk.gov.gchq.gaffer.data.element.function; 21 | -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/graph/adjacency/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Data objects used by Gaffer which are related to graph adjacency concepts. 19 | */ 20 | package uk.gov.gchq.gaffer.data.graph.adjacency; 21 | -------------------------------------------------------------------------------- /core/graph/src/main/java/uk/gov/gchq/gaffer/graph/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Package containing classes relating to the Graph - the core abstraction in the 19 | * Gaffer framework. 20 | */ 21 | package uk.gov.gchq.gaffer.graph; 22 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/named/operation/serialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes to aid the serialisation of NamedOperations. 19 | */ 20 | package uk.gov.gchq.gaffer.named.operation.serialisation; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/export/set/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for exporting and retrieving objects from a Set. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl.export.set; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/service/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Service implementations for Gaffer, containing the implemented RESTful endpoints. 19 | */ 20 | package uk.gov.gchq.gaffer.rest.service; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/index/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for creating and manipulating indices in HDFS. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.index; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/io/reader/converter/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Parquet object converters. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.io.reader.converter; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/io/writer/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for writing elements to Parquet files. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.io.writer; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/operation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations and handlers for the Parquet store. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.operation; 21 | -------------------------------------------------------------------------------- /core/graph/src/main/java/uk/gov/gchq/gaffer/operation/export/resultcache/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes relating to exporting results to a GafferResultsCache. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.export.resultcache; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/named/operation/cache/exception/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Exceptions relating to the cache for NamedOperations. 19 | */ 20 | package uk.gov.gchq.gaffer.named.operation.cache.exception; 21 | -------------------------------------------------------------------------------- /core/serialisation/src/main/java/uk/gov/gchq/gaffer/serialisation/implementation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Implementations of serialisers for various data types. 19 | */ 20 | package uk.gov.gchq.gaffer.serialisation.implementation; 21 | -------------------------------------------------------------------------------- /library/hdfs-library/src/main/java/uk/gov/gchq/gaffer/hdfs/operation/handler/job/tool/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Implementations of the Hadoop Tool interface. 19 | */ 20 | package uk.gov.gchq.gaffer.hdfs.operation.handler.job.tool; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/data/generator/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Gaffer generators for creating Elements from Spark datatypes. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.data.generator; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/utils/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Utilities to assist with reading/writing data from/to the Gaffer using spark. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.utils; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/io/reader/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for reading elements from Parquet files. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.io.reader; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/serialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Parquet-specific serialisation classes. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.serialisation; 21 | -------------------------------------------------------------------------------- /store-implementation/proxy-store/src/main/java/uk/gov/gchq/gaffer/proxystore/operation/handler/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation handlers for the ProxyStore. 19 | */ 20 | package uk.gov.gchq.gaffer.proxystore.operation.handler; 21 | -------------------------------------------------------------------------------- /core/common-util/src/main/java/uk/gov/gchq/gaffer/commonutil/pair/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Package containing a simple {@code Pair} class for handling tuples of 19 | * objects. 20 | */ 21 | package uk.gov.gchq.gaffer.commonutil.pair; 22 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/job/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for interacting with the Job tracker to get Job details and Job results. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl.job; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/serialisation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes to aid with the serialisation and deserialisation of operations. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.serialisation; 21 | -------------------------------------------------------------------------------- /core/serialisation/src/main/java/uk/gov/gchq/gaffer/serialisation/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Utilities to aid the serialisation and deserialisation of objects in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.serialisation.util; 21 | -------------------------------------------------------------------------------- /library/flink-library/src/test/resources/store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2017 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.mapstore.MapStore 17 | gaffer.store.mapstore.static=true 18 | gaffer.store.operation.declarations=FlinkOperationDeclarations.json 19 | gaffer.store.job.executor.threads=1 20 | -------------------------------------------------------------------------------- /library/sketches-library/src/main/java/uk/gov/gchq/gaffer/sketches/serialisation/json/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * JSON serialisation modules for the sketches library. 19 | */ 20 | package uk.gov.gchq.gaffer.sketches.serialisation.json; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/utils/scala/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Scala utilities to assist with reading/writing data from/to in spark. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.utils.scala; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/service/v1/example/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * The examples service implementation for v1 of the Gaffer REST API. 19 | */ 20 | package uk.gov.gchq.gaffer.rest.service.v1.example; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/service/v2/example/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * The examples service implementation for v2 of the Gaffer REST API. 19 | */ 20 | package uk.gov.gchq.gaffer.rest.service.v2.example; 21 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/main/java/uk/gov/gchq/gaffer/parquetstore/serialisation/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Parquet serialiser implementations. 19 | */ 20 | package uk.gov.gchq.gaffer.parquetstore.serialisation.impl; 21 | -------------------------------------------------------------------------------- /core/graph/src/main/java/uk/gov/gchq/gaffer/graph/hook/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Contains GraphHooks - pseudo-operations which are executed either before or 19 | * after an operation chain. 20 | */ 21 | package uk.gov.gchq.gaffer.graph.hook; 22 | -------------------------------------------------------------------------------- /example/basic/basic-model/src/test/resources/mockaccumulo.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2017 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.accumulostore.MockAccumuloStore 17 | accumulo.instance=someInstanceName 18 | accumulo.zookeepers=aZookeeper 19 | accumulo.user=user01 20 | accumulo.password=password 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/function/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Functions for converting Spark related data objects into different representations. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.function; 21 | -------------------------------------------------------------------------------- /rest-api/accumulo-rest/src/test/resources/store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore 17 | accumulo.instance=someInstanceName 18 | accumulo.zookeepers=aZookeeper 19 | accumulo.user=user01 20 | accumulo.password=password 21 | -------------------------------------------------------------------------------- /core/common-util/src/main/java/uk/gov/gchq/gaffer/commonutil/stream/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Gaffer-specific classes which extend the functionality of the Java 8 Functions 19 | * API. 20 | */ 21 | package uk.gov.gchq.gaffer.commonutil.stream; 22 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/output/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for formatting the output of an operation into a required representation. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl.output; 21 | -------------------------------------------------------------------------------- /library/bitmap-library/src/main/java/uk/gov/gchq/gaffer/bitmap/serialisation/json/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes to facilitate the serialisation of bitmap objects into JSON. 19 | */ 20 | package uk.gov.gchq.gaffer.bitmap.serialisation.json; 21 | -------------------------------------------------------------------------------- /library/hdfs-library/src/main/java/uk/gov/gchq/gaffer/hdfs/operation/handler/job/factory/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Factory classes for preparing Hadoop MapReduce jobs. 19 | */ 20 | package uk.gov.gchq.gaffer.hdfs.operation.handler.job.factory; 21 | -------------------------------------------------------------------------------- /library/hdfs-library/src/main/java/uk/gov/gchq/gaffer/hdfs/operation/handler/job/initialiser/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes to initialise Hadoop MapReduce jobs. 19 | */ 20 | package uk.gov.gchq.gaffer.hdfs.operation.handler.job.initialiser; 21 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/application/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Application classes which provide the main point of access for the Gaffer REST 19 | * API. 20 | */ 21 | package uk.gov.gchq.gaffer.rest.application; 22 | -------------------------------------------------------------------------------- /rest-api/core-rest/src/main/java/uk/gov/gchq/gaffer/rest/example/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Example domain objects and functions for demonstrating some features of the Gaffer 19 | * REST API. 20 | */ 21 | package uk.gov.gchq.gaffer.rest.example; 22 | -------------------------------------------------------------------------------- /store-implementation/parquet-store/src/test/resources/store.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2017. Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.parquetstore.SingleUseParquetStore 17 | parquet.add_elements.output_files_per_group=2 18 | parquet.add_elements.threadsAvailable=1 19 | parquet.skip_validation=false 20 | -------------------------------------------------------------------------------- /core/graph/src/main/java/uk/gov/gchq/gaffer/operation/export/resultcache/handler/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for operations which export data to a GafferResultsCache. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.export.resultcache.handler; 21 | -------------------------------------------------------------------------------- /core/graph/src/main/java/uk/gov/gchq/gaffer/operation/export/resultcache/handler/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Utilities for exporting data to a GafferResultsCache. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.export.resultcache.handler.util; 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/export/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Extension interfaces for supporting exporting of data from a Gaffer graph to 19 | * another location. 20 | */ 21 | package uk.gov.gchq.gaffer.operation.export; 22 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/named/cache/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Handlers for operations which interact with a named operation cache. 19 | */ 20 | package uk.gov.gchq.gaffer.store.operation.handler.named.cache; 21 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/main/java/uk/gov/gchq/gaffer/sparkaccumulo/operation/handler/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Spark operation handlers for the Accumulo store. 19 | */ 20 | package uk.gov.gchq.gaffer.sparkaccumulo.operation.handler; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/operation/javardd/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation classes for creating and consuming JavaRDDs using Spark in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.operation.javardd; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/operation/scalardd/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation classes for creating and consuming RDDs using Spark in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.operation.scalardd; 21 | -------------------------------------------------------------------------------- /store-implementation/accumulo-store/src/test/resources/store2.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore 17 | accumulo.instance=instance02 18 | accumulo.zookeepers=zookeeper02 19 | accumulo.user=user02 20 | accumulo.password=password02 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Copyright 2016 Crown Copyright 2 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License 14 | */target/ 15 | target/ 16 | */*.iml 17 | *.iml 18 | */.settings 19 | */.project 20 | */bin 21 | */*.class 22 | */atlassian-ide* 23 | */.idea 24 | .idea/* 25 | .idea 26 | */.classpath 27 | __pycache__ 28 | *.pem 29 | *.DS_Store 30 | .gaffer/ 31 | parquet_data/ 32 | */graphLibrary/ 33 | graphLibrary/ -------------------------------------------------------------------------------- /core/data/src/main/java/uk/gov/gchq/gaffer/data/elementdefinition/view/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes which define the types of Gaffer elements which can be retrieved by operations. 19 | */ 20 | package uk.gov.gchq.gaffer.data.elementdefinition.view; 21 | -------------------------------------------------------------------------------- /core/graph/src/main/java/uk/gov/gchq/gaffer/operation/export/graph/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Implementations of operations for exporting results from Gaffer to another 19 | * Gaffer graph. 20 | */ 21 | package uk.gov.gchq.gaffer.operation.export.graph; 22 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/function/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * {@link java.util.function.Function}s for use with {@link uk.gov.gchq.gaffer.operation.Operation}s in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.function; 21 | -------------------------------------------------------------------------------- /core/serialisation/src/main/java/uk/gov/gchq/gaffer/serialisation/implementation/raw/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Serialisation classes for efficient serialisation of primitive types. 19 | */ 20 | package uk.gov.gchq.gaffer.serialisation.implementation.raw; 21 | -------------------------------------------------------------------------------- /library/hdfs-library/src/main/java/uk/gov/gchq/gaffer/hdfs/operation/mapper/generator/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Generators for creating Gaffer elements from a Hadoop MapReduce job. 19 | */ 20 | package uk.gov.gchq.gaffer.hdfs.operation.mapper.generator; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/operation/dataframe/converter/property/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Converter implementations. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.operation.dataframe.converter.property.impl; 21 | -------------------------------------------------------------------------------- /store-implementation/accumulo-store/src/test/resources/mockAccumuloStore.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Crown Copyright 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | gaffer.store.class=uk.gov.gchq.gaffer.accumulostore.MockAccumuloStore 17 | accumulo.instance=byteEntityInstance 18 | accumulo.zookeepers=aZookeeper 19 | accumulo.user=user01 20 | accumulo.password=password 21 | -------------------------------------------------------------------------------- /core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/export/resultcache/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for exporting and retrieving objects from a Gaffer results cache. 19 | */ 20 | package uk.gov.gchq.gaffer.operation.impl.export.resultcache; 21 | -------------------------------------------------------------------------------- /core/serialisation/src/main/java/uk/gov/gchq/gaffer/serialisation/implementation/ordered/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Serialisation implementations which maintain the ordering of bytes. 19 | */ 20 | package uk.gov.gchq.gaffer.serialisation.implementation.ordered; 21 | -------------------------------------------------------------------------------- /core/store/src/main/java/uk/gov/gchq/gaffer/store/library/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Classes for storing details of graphs in a library to facilitate sharing of 19 | * schemas and properties between graphs. 20 | */ 21 | package uk.gov.gchq.gaffer.store.library; 22 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/main/java/uk/gov/gchq/gaffer/sparkaccumulo/operation/javardd/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for using JavaRDDs with the Accumulo Gaffer store. 19 | */ 20 | package uk.gov.gchq.gaffer.sparkaccumulo.operation.javardd; 21 | -------------------------------------------------------------------------------- /library/spark/spark-accumulo-library/src/main/java/uk/gov/gchq/gaffer/sparkaccumulo/operation/scalardd/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operations for using RDDs with the Accumulo Gaffer store. 19 | */ 20 | package uk.gov.gchq.gaffer.sparkaccumulo.operation.scalardd; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/operation/dataframe/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation classes for creating and consuming Dataframes using Spark in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.operation.dataframe; 21 | -------------------------------------------------------------------------------- /library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/operation/graphframe/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017-2018 Crown Copyright 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Operation classes for creating and consuming GraphFrames using Spark in Gaffer. 19 | */ 20 | package uk.gov.gchq.gaffer.spark.operation.graphframe; 21 | -------------------------------------------------------------------------------- /cd/updateKorypheVersion.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | if [ -z "$1" ]; then 4 | echo "Usage: ./updateKorypheVersion.sh " 5 | exit 1 6 | fi 7 | 8 | set -e 9 | 10 | git reset --hard 11 | git clean -fd 12 | git checkout develop 13 | git pull 14 | 15 | newVersion=$1 16 | 17 | git checkout -b updating-koryphe-version-$newVersion 18 | 19 | 20 | mvn -q org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.parent.version 21 | oldVersion=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=koryphe.version | grep -v '\['` 22 | 23 | 24 | sed -i '' "s/$oldVersion$newVersion