summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* schema: Fix another mistakesam/schemaSam Thursfield2015-07-091-1/+1
| | | | Change-Id: I27a3b197746e7f409167ebdbfb87fa2b3af37817
* schema: Seperate :producesChunkArtifact and :producesStratumArtifactSam Thursfield2015-07-092-3/+3
| | | | | | | | There's probably a way to have a single :produces property and use OWL restrictions to set range based on range... but let's keep things simple. Change-Id: Ic15c0a4f778504643f526d6554d02e302e7b0f12
* schema: Use shorter way of constructing an rdflib.resource.ResourceSam Thursfield2015-07-091-1/+1
| | | | Change-Id: I4ec1ce7dc93a778d94ecec60c7a2e83de3afa135
* schema: Mark disjoint classesSam Thursfield2015-07-081-7/+14
| | | | | | For example, you can't be both a stratum and a chunk. Change-Id: I3ef541c747c42fc5d9fea1d704cebed2cf5cba32
* schema: Fix Jena validation toolSam Thursfield2015-07-081-1/+6
| | | | | | | | The owlReasoner runs out of memory before completing, now that I added owl:disjointWith rules to the ontology. The owlMicroReasoner succeeds, though, so let's use that one. Change-Id: I264fb762ce6675ac0fbc5eb59a8dd801f680b520
* schema: Add link to owLint, fix a couple of issues it foundSam Thursfield2015-07-081-7/+19
| | | | Change-Id: I06e47cb52ca81160dd82c737b6ced268a9ff920e
* schema: Fix definition of command sequencesSam Thursfield2015-07-071-20/+24
| | | | | | | | | A CommandSequence is now a class in its own right. The actual commands can be set with rdf:_1, rdf:_2, rdf:_3 etc. Also a small tidyup. Change-Id: I489b217cf1686de8a66c47c44d8d5723f3899e90
* schema: Add a short glossarySam Thursfield2015-07-071-0/+13
| | | | Change-Id: I70ef672abd99f2a15b871ca793aab5aa3ded840f
* schema: Ensure unpetrify-ref is a stringSam Thursfield2015-07-071-1/+3
| | | | | | | This error was spotted using the Apache Jena OWL Reasoner's validate() method. Change-Id: Ic7cae443987601d30ae47729cc5799064e035a6e
* schema: Add tool to validate data against schemaSam Thursfield2015-07-072-0/+60
| | | | | | | This is a Java program that uses Apache Jena to do the validation. I've not yet found a Python tool which provides equivalent functionality. Change-Id: I2556387ae41f1c3f2160668eb14702df6016e729
* schema: Improve handling of command lists, againSam Thursfield2015-07-071-33/+56
| | | | | | | | Now they are represented by rdf:Seq, which is the most practical way I think. Each list object has its own URI in a separate namespace, which is way more readable than having blank nodes with URIs like N101340613. Change-Id: I8d0f16ab43ba3d7144a4e76a01295c269156f92f
* Fix 'name' field mismatchesSam Thursfield2015-07-0711-11/+11
| | | | | | | | | | | | | The 'name' field is set in both a chunk's definition, and in the chunk reference point in each stratum where that chunk is included. Some of them didn't agree on the name of the chunk. In all cases I've made 'name' match the filename of the chunk .morph file, either by fixing the chunk .morph file or the stratum .morph file (and in one case, the filename). This should have no effect on behaviour, it's just a tidyup. Change-Id: I90bcd3fa382e24c8aa2d370ea5f545491169d1db
* schema: Correctly set rdf:type againSam Thursfield2015-07-071-8/+26
| | | | | | | | Since commit c56805de1bf679384345e8516d8c89b41a7e74ea (stop using SuRF) the load_all_morphologies() function was not setting rdf:type for any of the entities, which is totally wrong. Change-Id: Idedb161857e29598418b78aca2a834b2b6ccf0a6
* schema: Add conversion toolsSam Thursfield2015-07-062-0/+40
| | | | Change-Id: Idf4816bdedee112e5c2d13abed95343c0a2b0c9c
* schema: Attempt to ensure chunk commands are ordered properlySam Thursfield2015-07-061-21/+35
| | | | | | | This isn't tested yet fully because the browser example app has started ignoring all of the data. Change-Id: I91ca6b519f6feacb9e6e5269c577858d285009aa
* schema: Add DefinitionsNamespace classSam Thursfield2015-07-061-46/+45
| | | | | | | This is a nice way of getting URIs for the various entities as we load the .morph files, and can be reused. Change-Id: I7187e9c4692d0f1059856502b521bc0e4e97a270
* schema: Consolidate URI-generation code in one placeSam Thursfield2015-07-061-42/+73
| | | | | | And a few other style fixes. Change-Id: I8ac937b742a5d6cd92ef5bf2af3e04f6c9f62ae1
* schema: Don't require SuRF for parsing, just use RDFLibSam Thursfield2015-07-061-101/+126
| | | | | | The parse.py file is tidier now too. Change-Id: Id64c869680c52880e7ac15b25e78cf512998f6e4
* schema: Clean up parse.pySam Thursfield2015-07-021-12/+22
| | | | Change-Id: I8f196f052fc5bbd7b26cc2b1800d497951357464
* schema: Update commentsSam Thursfield2015-07-021-12/+23
| | | | Change-Id: I4b8ea3d09f75bf14d87a1c3f1d661edaa0d6d162
* schema: Link to build-dep strata correctly, and check chunk namesSam Thursfield2015-07-021-5/+20
| | | | Change-Id: Ibd0a7e2d42e6ac968c8c7076f8b35474bc1eab88
* schema: Link clusters to systems properlySam Thursfield2015-07-021-12/+26
| | | | | | Previously this was a FIXME placeholder. Change-Id: I1979dde0e63abb0d45aa16126589cd81d4410c73
* schema browser: Allow browsing the schema as well as the data.Sam Thursfield2015-07-022-1/+5
| | | | Change-Id: I89d7a5dd1cdb2b60e13cbc09dc9be3455df2804e
* schema: Rename, and update commentsSam Thursfield2015-07-022-4/+8
| | | | Change-Id: I54f98863d731325eb02407fddae163a3abae43b4
* schema: Add comments to lots of entitiesSam Thursfield2015-07-023-39/+60
| | | | | | | Also, remove the unused 'hasName' property. The URL includes the name anyway so this isn't needed. Change-Id: Ic0f872c48780fc2f52fdd6e8773984dcb3c149df
* schema browser: Add 'mimeparse' to requirementsSam Thursfield2015-07-021-0/+3
| | | | Change-Id: Ibc14bec1f183cd12e68c86b746ea0bf71a5ee6cc
* schema browser: Install JSON-LD serialiser pluginSam Thursfield2015-07-021-0/+1
| | | | Change-Id: I3aa7b033795f6b590af66ee57af27cd3d3638354
* schema: Add example browser applicationSam Thursfield2015-07-024-0/+79
| | | | Change-Id: I1a4f97db7db32d33530ad9fd1009579611f8521d
* schema: Add prototype validation codeSam Thursfield2015-07-012-6/+97
| | | | | | | | | Current sticking points: there's a bug in rdflib that means the Resource() api doesn't work how I'd expect ... and we need the RDF, RDFS, OWL and DC schemas available too in order to do a 'validation' stage. Change-Id: I1d64fbb02af05724bcf967457c287600bb494d5a
* schema: Add owl:minCardinality where neededSam Thursfield2015-07-011-3/+6
| | | | | | This means 'this property must be specified at least once.' Change-Id: Ia0b4baf6d57cff92245b9a618ed5043947ad5769
* fixup! schema: Separate loading code into separate fileSam Thursfield2015-07-011-2/+1
| | | | Change-Id: Icb7d87611b1b0e90a35e93c416db61234bf52af3
* schema: Reuse dc:description for 'description' fieldSam Thursfield2015-07-012-4/+4
| | | | Change-Id: I70efb859facb7e118647230e8cbae3a4611da323
* schema: Add note about CamelCaseSam Thursfield2015-07-011-0/+5
| | | | Change-Id: Ie7e011c1ceb11df1a1f232ed8d4ee8fcfd26c13f
* schema: Separate loading code into separate fileSam Thursfield2015-07-012-217/+224
| | | | Change-Id: Ib1373e68eb49ab95d2ebdb55deae16d899706aa8
* schema: Add support for Virtuoso to the importer.Sam Thursfield2015-06-301-10/+53
| | | | Change-Id: I38d3b9c055392880f52f6fb518d87037a70237f5
* schema: Add test program to import from existing YAML .morph filesSam Thursfield2015-06-301-0/+214
| | | | Change-Id: I643e4de62aeae346b326edfaf513f48d5726af4a
* schema: Add some bits that were missingSam Thursfield2015-06-301-10/+92
| | | | Change-Id: I060c077e286cf3203e61d72851d165c10ab2ead3
* schema: Note which properties are 1:1 (functional)Sam Thursfield2015-06-291-11/+12
| | | | | | For example, a morphology can only have one 'name'. Change-Id: I69cf16c564b92be658140181b315bb6e8db16bd8
* schema: Add note about ProtégéSam Thursfield2015-06-291-0/+5
| | | | Change-Id: I938ed2e1d1942ee6f5f4cacf9ccb20dfd6cc26cf
* Draft of Baserock Definitions ontologySam Thursfield2015-06-291-0/+142
| | | | Change-Id: I259c96364c9be6b1ccf802d664994c71c4f5cbaa
* ca-certificates: This chunk doesnt use autotools build systemJavier Jardón2015-06-291-4/+5
| | | | | | But a simple Makefile instead Change-Id: I0d73e2cf44fc97ba9f6452ea417c1b317b68efa6
* essential-files: create symlink /etc/os-release -> /usr/lib/os-releasebaserock/pedroalvarez/improve-mason-reportJavier Jardón2015-06-233-6/+8
| | | | | | | | | | | | | | | systemd is moving towards having /usr to be vendor operating system only, whilst /etc will be used for configuration only (the contents of this directory could be erased to do a factory reset) [1]. /usr/lib is the recommended place to place this file [2] [1] http://0pointer.net/blog/projects/stateless.html [2] http://www.freedesktop.org/software/systemd/man/os-release.html This has been reported by Tiago Gomes Change-Id: I58dd711fac162751a71e8a7d9c65ce9583a23cc7
* attr: separate bootstrap and configure commandsJavier Jardón2015-06-232-2/+2
| | | | | | Also attr doesnt depend on automake to build Change-Id: Ied3ba4af7991c44ed080362a8dae5d00092e5514
* More fixes for various deployment extensionsAdam Coldrick2015-06-237-6/+10
| | | | | | | | | Some of the extensions had extraneous imports, and a couple didn't import things they used. The same bug as in the kvm deployment extension existed in the virtualbox deployment extension, and is fixed in this commit. Change-Id: I2bd8169818ce5444af522c135a9e0326c1212ce2
* Fix kvm deploymentAdam Coldrick2015-06-222-4/+8
| | | | | | | | Deployment to kvm got broken by the patch to remove dependencies on morphlib and cliapp. This commit fixes the issues that were introduced. Change-Id: Iface1b38e638be4d84cf86b434ee30e1fffc34a0
* essential-files: Install brpaste by defaultPedro Alvarez2015-06-222-0/+31
| | | | | | This script helps developers to share logs via paste.baserock.org Change-Id: I22b255c90e0b42a4b65dea41ec196ae92577a7f8
* OpenStack: add configuration for scenario testsTiago Gomes2015-06-222-8/+17
| | | | Change-Id: Ifaaced5256ce7aeca786118a2075c991b3fa103f
* OpenStack: integrate the OpenStack unified CLI clientTiago Gomes2015-06-227-0/+54
| | | | | | | | | "OpenStackClient (aka OSC) is a command-line client for OpenStack that brings the command set for Compute, Identity, Image, Object Store and Volume APIs together in a single shell with a uniform command structure." Change-Id: Icf3200e99100f46e5d8044844232025e7bada75d
* Set default hostnames in release.morphAdam Coldrick2015-06-221-0/+7
| | | | Change-Id: Iffce1a4c25965ca4d7e635534fab16d0e8ccb39b
* Merge branch 'baserock/adamcoldrick/remove-dependencies-v3'Adam Coldrick2015-06-1928-350/+1420
|\ | | | | | | | | | | | | | | This stops the deployment extensions from depending on morphlib and cliapp, as well as setting the definitions version to 5. Reviewed-by: Sam Thursfield <sam.thursfield@codethink.co.uk> Reviewed-by: Paul Sherwood <paul.sherwood@codethink.co.uk>