Add project hierarchies, part 2. Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/ab15d45b Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/ab15d45b Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/ab15d45b
Branch: refs/heads/master Commit: ab15d45bef9705e9611b78dc710a90bd29000ec5 Parents: 75b0d8e Author: JamesBognar <[email protected]> Authored: Sat Sep 2 10:11:08 2017 -0400 Committer: JamesBognar <[email protected]> Committed: Sat Sep 2 10:11:08 2017 -0400 ---------------------------------------------------------------------- juneau-all/.classpath | 26 - juneau-all/.gitignore | 4 - juneau-all/.project | 23 - juneau-all/pom.xml | 101 - juneau-all/src/assembly/all.xml | 34 - juneau-core-rdf/.classpath | 32 - juneau-core-rdf/.gitignore | 3 - juneau-core-rdf/.project | 37 - juneau-core-rdf/pom.xml | 104 - .../java/org/apache/juneau/jena/Constants.java | 99 - .../org/apache/juneau/jena/RdfBeanMeta.java | 63 - .../apache/juneau/jena/RdfBeanPropertyMeta.java | 95 - .../org/apache/juneau/jena/RdfClassMeta.java | 89 - .../apache/juneau/jena/RdfCollectionFormat.java | 55 - .../apache/juneau/jena/RdfCommonContext.java | 646 --- .../java/org/apache/juneau/jena/RdfParser.java | 137 - .../apache/juneau/jena/RdfParserBuilder.java | 765 ---- .../apache/juneau/jena/RdfParserContext.java | 104 - .../apache/juneau/jena/RdfParserSession.java | 434 -- .../org/apache/juneau/jena/RdfSerializer.java | 165 - .../juneau/jena/RdfSerializerBuilder.java | 978 ----- .../juneau/jena/RdfSerializerContext.java | 197 - .../juneau/jena/RdfSerializerSession.java | 414 -- .../java/org/apache/juneau/jena/RdfUtils.java | 92 - .../org/apache/juneau/jena/annotation/Rdf.java | 77 - .../apache/juneau/jena/annotation/RdfNs.java | 40 - .../juneau/jena/annotation/RdfSchema.java | 93 - .../apache/juneau/jena/annotation/package.html | 41 - .../juneau/jena/doc-files/Example_HTML.png | Bin 35528 -> 0 bytes .../apache/juneau/jena/doc-files/Example_N3.png | Bin 37430 -> 0 bytes .../juneau/jena/doc-files/Example_NTriple.png | Bin 48413 -> 0 bytes .../juneau/jena/doc-files/Example_RDFXML.png | Bin 30486 -> 0 bytes .../jena/doc-files/Example_RDFXMLABBREV.png | Bin 30356 -> 0 bytes .../juneau/jena/doc-files/Example_Turtle.png | Bin 35328 -> 0 bytes .../java/org/apache/juneau/jena/package.html | 1055 ----- juneau-core-rdf/src/main/resources/.gitignore | 12 - juneau-core-test/.classpath | 28 - juneau-core-test/.gitignore | 3 - juneau-core-test/.project | 37 - juneau-core-test/pom.xml | 109 - juneau-core-test/src/main/java/.gitkeep | 14 - .../java/org/apache/juneau/AnnotationsTest.java | 82 - .../java/org/apache/juneau/BeanConfigTest.java | 850 ---- .../java/org/apache/juneau/BeanFilterTest.java | 137 - .../java/org/apache/juneau/BeanMapTest.java | 1927 --------- .../java/org/apache/juneau/ClassMetaTest.java | 281 -- .../test/java/org/apache/juneau/ComboInput.java | 98 - .../org/apache/juneau/ComboRoundTripTest.java | 708 ---- .../org/apache/juneau/ComboSerializeTest.java | 367 -- .../org/apache/juneau/DataConversionTest.java | 155 - .../org/apache/juneau/DynaBeanComboTest.java | 339 -- .../org/apache/juneau/IgnoredClassesTest.java | 72 - .../java/org/apache/juneau/JacocoDummyTest.java | 47 - .../java/org/apache/juneau/MaxIndentTest.java | 313 -- .../java/org/apache/juneau/ObjectListTest.java | 141 - .../java/org/apache/juneau/ObjectMapTest.java | 369 -- .../org/apache/juneau/ParserGenericsTest.java | 71 - .../org/apache/juneau/ParserReaderTest.java | 186 - .../java/org/apache/juneau/PojoSwapTest.java | 57 - .../org/apache/juneau/PropertyNamerTest.java | 57 - .../org/apache/juneau/PropertyStoreTest.java | 819 ---- .../test/java/org/apache/juneau/TestUtils.java | 530 --- .../java/org/apache/juneau/VisibilityTest.java | 169 - .../org/apache/juneau/XmlValidatorParser.java | 70 - .../juneau/XmlValidatorParserBuilder.java | 27 - .../src/test/java/org/apache/juneau/a/A1.java | 191 - .../a/rttests/RoundTripAddClassAttrsTest.java | 357 -- .../a/rttests/RoundTripBeanInheritanceTest.java | 218 - .../juneau/a/rttests/RoundTripBeanMapsTest.java | 975 ----- .../juneau/a/rttests/RoundTripClassesTest.java | 52 - .../juneau/a/rttests/RoundTripDTOsTest.java | 49 - .../juneau/a/rttests/RoundTripEnumTest.java | 247 -- .../juneau/a/rttests/RoundTripGenericsTest.java | 98 - .../a/rttests/RoundTripLargeObjectsTest.java | 191 - .../juneau/a/rttests/RoundTripMapsTest.java | 213 - .../RoundTripNumericConstructorsTest.java | 50 - .../rttests/RoundTripObjectsAsStringsTest.java | 272 -- .../RoundTripObjectsWithSpecialMethodsTest.java | 114 - .../RoundTripPrimitiveObjectBeansTest.java | 198 - .../a/rttests/RoundTripPrimitivesBeansTest.java | 352 -- .../a/rttests/RoundTripReadOnlyBeansTest.java | 101 - .../a/rttests/RoundTripSimpleObjectsTest.java | 750 ---- .../apache/juneau/a/rttests/RoundTripTest.java | 304 -- .../a/rttests/RoundTripToObjectMapsTest.java | 77 - .../a/rttests/RoundTripTransformBeansTest.java | 374 -- .../a/rttests/RoundTripTrimStringsTest.java | 97 - .../java/org/apache/juneau/csv/CsvTest.java | 51 - .../org/apache/juneau/dto/atom/AtomTest.java | 195 - .../apache/juneau/dto/cognos/CognosXmlTest.java | 111 - .../apache/juneau/dto/html5/Html5ComboTest.java | 2773 ------------- .../dto/html5/Html5TemplateComboTest.java | 104 - .../juneau/dto/jsonschema/JsonSchemaTest.java | 204 - .../juneau/encoders/EncoderGroupTest.java | 116 - .../org/apache/juneau/html/BasicHtmlTest.java | 3016 -------------- .../apache/juneau/html/CommonParserTest.java | 161 - .../java/org/apache/juneau/html/CommonTest.java | 459 --- .../java/org/apache/juneau/html/HtmlTest.java | 287 -- .../juneau/https/AcceptExtensionsTest.java | 118 - .../org/apache/juneau/https/AcceptTest.java | 127 - .../org/apache/juneau/https/MediaRangeTest.java | 66 - .../juneau/ini/ConfigFileBuilderTest.java | 198 - .../juneau/ini/ConfigFileInterfaceTest.java | 601 --- .../org/apache/juneau/ini/ConfigFileTest.java | 2156 ---------- .../juneau/internal/VersionRangeTest.java | 70 - .../apache/juneau/jena/CommonParserTest.java | 205 - .../java/org/apache/juneau/jena/CommonTest.java | 347 -- .../org/apache/juneau/jena/CommonXmlTest.java | 96 - .../org/apache/juneau/jena/RdfParserTest.java | 159 - .../java/org/apache/juneau/jena/RdfTest.java | 593 --- .../apache/juneau/json/CommonParserTest.java | 180 - .../java/org/apache/juneau/json/CommonTest.java | 343 -- .../juneau/json/JsonParserEdgeCasesTest.java | 628 --- .../org/apache/juneau/json/JsonParserTest.java | 325 -- .../org/apache/juneau/json/JsonSchemaTest.java | 45 - .../java/org/apache/juneau/json/JsonTest.java | 304 -- .../juneau/msgpack/MsgPackSerialzierTest.java | 215 - .../apache/juneau/parser/ParserGroupTest.java | 116 - .../serializer/ReaderObjectComboTest.java | 439 -- .../juneau/serializer/SerializerGroupTest.java | 154 - .../org/apache/juneau/serializer/TestURI.java | 92 - .../juneau/serializer/UriResolutionTest.java | 671 --- .../org/apache/juneau/svl/vars/IfVarTest.java | 46 - .../apache/juneau/svl/vars/SwitchVarTest.java | 53 - .../org/apache/juneau/test/pojos/ABean.java | 24 - .../org/apache/juneau/test/pojos/Constants.java | 25 - .../juneau/test/pojos/ImplicitSwappedPojo.java | 35 - .../apache/juneau/test/pojos/SwappedPojo.java | 20 - .../juneau/test/pojos/SwappedPojoSwap.java | 35 - .../org/apache/juneau/test/pojos/TestEnum.java | 17 - .../org/apache/juneau/test/pojos/TypedBean.java | 17 - .../apache/juneau/test/pojos/TypedBeanImpl.java | 25 - .../testbeans/PrimitiveAtomicObjectsBean.java | 74 - .../juneau/testbeans/PrimitiveObjectsBean.java | 178 - .../org/apache/juneau/testbeans/TestURI.java | 70 - .../transforms/BeanDictionaryComboTest.java | 895 ---- .../juneau/transforms/BeanFilterTest.java | 205 - .../apache/juneau/transforms/BeanMapTest.java | 97 - .../ByteArrayBase64SwapComboTest.java | 534 --- .../transforms/CalendarSwapComboTest.java | 744 ---- .../juneau/transforms/CalendarSwapTest.java | 289 -- .../juneau/transforms/DateSwapComboTest.java | 740 ---- .../apache/juneau/transforms/DateSwapTest.java | 65 - .../juneau/transforms/EnumerationSwapTest.java | 36 - .../juneau/transforms/IteratorSwapTest.java | 38 - .../juneau/transforms/LocalizedDatesTest.java | 650 --- .../juneau/transforms/ReaderFilterTest.java | 47 - .../juneau/transforms/ReaderObjectSwapTest.java | 494 --- .../urlencoding/CommonParser_UonTest.java | 169 - .../CommonParser_UrlEncodingTest.java | 184 - .../juneau/urlencoding/Common_UonTest.java | 284 -- .../urlencoding/Common_UrlEncodingTest.java | 285 -- .../org/apache/juneau/urlencoding/DTOs.java | 140 - .../juneau/urlencoding/UonParserReaderTest.java | 220 - .../juneau/urlencoding/UonParserTest.java | 514 --- .../juneau/urlencoding/UonSerializerTest.java | 362 -- .../urlencoding/UrlEncodingParserTest.java | 952 ----- .../urlencoding/UrlEncodingSerializerTest.java | 501 --- .../java/org/apache/juneau/utils/ArgsTest.java | 71 - .../org/apache/juneau/utils/ArrayUtilsTest.java | 161 - .../apache/juneau/utils/ByteArrayCacheTest.java | 61 - .../juneau/utils/ByteArrayInOutStreamTest.java | 36 - .../org/apache/juneau/utils/CharSetTest.java | 35 - .../org/apache/juneau/utils/ClassUtilsTest.java | 321 -- .../juneau/utils/CollectionUtilsTest.java | 37 - .../apache/juneau/utils/FilteredMapTest.java | 49 - .../org/apache/juneau/utils/IOPipeTest.java | 283 -- .../org/apache/juneau/utils/IOUtilsTest.java | 104 - .../apache/juneau/utils/IdentityListTest.java | 39 - .../apache/juneau/utils/KeywordStoreTest.java | 46 - .../apache/juneau/utils/MultiIterableTest.java | 71 - .../org/apache/juneau/utils/MultiSetTest.java | 144 - .../apache/juneau/utils/ParserReaderTest.java | 49 - .../juneau/utils/PojoIntrospectorTest.java | 54 - .../org/apache/juneau/utils/PojoQueryTest.java | 427 -- .../org/apache/juneau/utils/PojoRestTest.java | 853 ---- .../org/apache/juneau/utils/SimpleMapTest.java | 49 - .../juneau/utils/StringBuilderWriterTest.java | 60 - .../apache/juneau/utils/StringUtilsTest.java | 748 ---- .../juneau/utils/StringVarResolverTest.java | 337 -- .../utils/UriContextResolutionComboTest.java | 1054 ----- .../juneau/utils/UriContextUriComboTest.java | 265 -- .../org/apache/juneau/xml/BasicXmlTest.java | 1702 -------- .../org/apache/juneau/xml/CommonParserTest.java | 178 - .../java/org/apache/juneau/xml/CommonTest.java | 304 -- .../org/apache/juneau/xml/CommonXmlTest.java | 80 - .../apache/juneau/xml/InvalidXmlBeansTest.java | 230 -- .../org/apache/juneau/xml/XmlCollapsedTest.java | 435 -- .../org/apache/juneau/xml/XmlContentTest.java | 261 -- .../org/apache/juneau/xml/XmlParserTest.java | 95 - .../java/org/apache/juneau/xml/XmlTest.java | 1032 ----- .../java/org/apache/juneau/xml/xml1a/T1.java | 38 - .../java/org/apache/juneau/xml/xml1a/T2.java | 38 - .../java/org/apache/juneau/xml/xml1b/T3.java | 37 - .../java/org/apache/juneau/xml/xml1b/T4.java | 37 - .../java/org/apache/juneau/xml/xml1b/T5.java | 38 - .../java/org/apache/juneau/xml/xml1b/T6.java | 38 - .../java/org/apache/juneau/xml/xml1b/T7.java | 37 - .../apache/juneau/xml/xml1b/package-info.java | 16 - .../java/org/apache/juneau/xml/xml1c/T8.java | 33 - .../java/org/apache/juneau/xml/xml1c/T9.java | 23 - .../apache/juneau/xml/xml1c/package-info.java | 25 - juneau-core/juneau-config/.classpath | 26 + juneau-core/juneau-config/.gitignore | 3 + juneau-core/juneau-config/.project | 28 + juneau-core/juneau-config/pom.xml | 104 + .../java/org/apache/juneau/ini/ConfigFile.java | 1215 ++++++ .../apache/juneau/ini/ConfigFileBuilder.java | 333 ++ .../apache/juneau/ini/ConfigFileContext.java | 60 + .../org/apache/juneau/ini/ConfigFileFormat.java | 30 + .../org/apache/juneau/ini/ConfigFileImpl.java | 821 ++++ .../apache/juneau/ini/ConfigFileListener.java | 46 + .../org/apache/juneau/ini/ConfigFileVar.java | 69 + .../apache/juneau/ini/ConfigFileWrapped.java | 290 ++ .../apache/juneau/ini/ConfigFileWritable.java | 45 + .../java/org/apache/juneau/ini/ConfigUtils.java | 92 + .../java/org/apache/juneau/ini/Encoder.java | 37 + .../org/apache/juneau/ini/EntryListener.java | 48 + .../java/org/apache/juneau/ini/Section.java | 575 +++ .../org/apache/juneau/ini/SectionListener.java | 63 + .../java/org/apache/juneau/ini/XorEncoder.java | 51 + .../org/apache/juneau/ini/doc-files/config1.png | Bin 0 -> 39851 bytes .../org/apache/juneau/ini/doc-files/config2.png | Bin 0 -> 48881 bytes .../org/apache/juneau/ini/doc-files/config3.png | Bin 0 -> 59095 bytes .../java/org/apache/juneau/ini/package.html | 661 +++ juneau-distrib/.gitignore | 3 - juneau-distrib/.project | 31 - juneau-distrib/pom.xml | 175 - juneau-distrib/src/assembly/bin.xml | 44 - juneau-distrib/src/assembly/src.xml | 43 - juneau-examples-rest/.classpath | 36 - juneau-examples-rest/.gitignore | 3 - juneau-examples-rest/.project | 41 - juneau-examples-rest/examples.cfg | 94 - juneau-examples-rest/jetty.xml | 61 - .../juneau-examples-rest.launch | 32 - juneau-examples-rest/pom.xml | 157 - .../juneau/examples/addressbook/Address.java | 54 - .../examples/addressbook/AddressBook.java | 121 - .../examples/addressbook/CreateAddress.java | 43 - .../examples/addressbook/CreatePerson.java | 45 - .../examples/addressbook/IAddressBook.java | 49 - .../juneau/examples/addressbook/Person.java | 73 - .../examples/addressbook/package-info.java | 35 - .../juneau/examples/addressbook/package.html | 42 - .../apache/juneau/examples/rest/AdminGuard.java | 26 - .../juneau/examples/rest/AtomFeedResource.java | 116 - .../examples/rest/CodeFormatterResource.java | 125 - .../juneau/examples/rest/DirectoryResource.java | 248 -- .../examples/rest/DockerRegistryResource.java | 100 - .../examples/rest/HelloWorldResource.java | 48 - .../examples/rest/JsonSchemaResource.java | 89 - .../examples/rest/MethodExampleResource.java | 189 - .../juneau/examples/rest/PetStoreResource.java | 240 -- .../juneau/examples/rest/PhotosResource.java | 180 - .../examples/rest/RequestEchoResource.java | 77 - .../juneau/examples/rest/RootResources.java | 76 - .../examples/rest/SampleRemoteableServlet.java | 68 - .../juneau/examples/rest/SqlQueryResource.java | 190 - .../examples/rest/SystemPropertiesResource.java | 236 -- .../juneau/examples/rest/TempDirResource.java | 104 - .../examples/rest/TumblrParserResource.java | 94 - .../examples/rest/UrlEncodedFormResource.java | 112 - .../rest/addressbook/AddressBookResource.java | 368 -- .../examples/rest/addressbook/ClientTest.java | 106 - .../src/main/resources/examples.cfg | 147 - .../apache/juneau/examples/rest/PetStore.json | 21 - .../nls/AddressBookResource.properties | 89 - .../juneau/examples/rest/averycutecat.jpg | Bin 318563 -> 0 bytes .../apache/juneau/examples/rest/htdocs/bird.png | Bin 1925 -> 0 bytes .../apache/juneau/examples/rest/htdocs/cat.png | Bin 1878 -> 0 bytes .../examples/rest/htdocs/code-highlighting.css | 136 - .../apache/juneau/examples/rest/htdocs/dog.png | Bin 1980 -> 0 bytes .../apache/juneau/examples/rest/htdocs/fish.png | Bin 2198 -> 0 bytes .../juneau/examples/rest/htdocs/mouse.png | Bin 1551 -> 0 bytes .../apache/juneau/examples/rest/htdocs/ok.png | Bin 455 -> 0 bytes .../juneau/examples/rest/htdocs/rabbit.png | Bin 1603 -> 0 bytes .../juneau/examples/rest/htdocs/severe.png | Bin 335 -> 0 bytes .../juneau/examples/rest/htdocs/snake.png | Bin 1824 -> 0 bytes .../juneau/examples/rest/htdocs/warning.png | Bin 444 -> 0 bytes .../rest/nls/MethodExampleResource.properties | 37 - .../rest/nls/UrlEncodedFormResource.properties | 20 - .../DockerRegistryResourceAside_en.html | 19 - .../examples/rest/AddressBookResourceTest.java | 301 -- .../juneau/examples/rest/RestTestcase.java | 36 - .../juneau/examples/rest/RootResourcesTest.java | 115 - .../SampleRemoteableServicesResourceTest.java | 77 - .../examples/rest/SamplesMicroservice.java | 110 - .../rest/TestMultiPartFormPostsTest.java | 45 - .../apache/juneau/examples/rest/TestUtils.java | 366 -- .../apache/juneau/examples/rest/_TestSuite.java | 43 - juneau-examples-rest/war/web.xml | 47 - juneau-microservice-template/.classpath | 29 - juneau-microservice-template/.gitignore | 3 - juneau-microservice-template/.project | 37 - .../META-INF/MANIFEST.MF | 29 - juneau-microservice-template/build.xml | 55 - juneau-microservice-template/jetty.xml | 58 - juneau-microservice-template/microservice.cfg | 118 - juneau-microservice-template/pom.xml | 98 - .../microservice/sample/HelloWorldResource.java | 35 - .../microservice/sample/RootResources.java | 41 - .../microservice/sample/nls/Messages.properties | 19 - .../src/test/java/.gitignore | 12 - juneau-microservice/.classpath | 29 - juneau-microservice/.gitignore | 3 - juneau-microservice/.project | 40 - juneau-microservice/Dockerfile | 29 - juneau-microservice/pom.xml | 97 - .../juneau/microservice/Microservice.java | 639 --- .../apache/juneau/microservice/Resource.java | 74 - .../juneau/microservice/ResourceGroup.java | 75 - .../juneau/microservice/ResourceJena.java | 32 - .../juneau/microservice/ResourceJenaGroup.java | 76 - .../juneau/microservice/RestMicroservice.java | 669 --- .../juneau/microservice/doc-files/build1.png | Bin 2633 -> 0 bytes .../juneau/microservice/doc-files/build2.png | Bin 8634 -> 0 bytes .../microservice/doc-files/helloworld1.png | Bin 14050 -> 0 bytes .../microservice/doc-files/instructions1.png | Bin 44658 -> 0 bytes .../microservice/doc-files/instructions2.png | Bin 54971 -> 0 bytes .../microservice/doc-files/instructions3.png | Bin 20755 -> 0 bytes .../microservice/doc-files/instructions4.png | Bin 28672 -> 0 bytes .../microservice/doc-files/instructions5.png | Bin 8894 -> 0 bytes .../microservice/doc-files/instructions6.png | Bin 22345 -> 0 bytes .../juneau/microservice/doc-files/manifest1.png | Bin 10493 -> 0 bytes .../org/apache/juneau/microservice/package.html | 1038 ----- .../microservice/resources/ConfigEdit.html | 39 - .../microservice/resources/ConfigResource.java | 212 - .../resources/DirectoryResource.java | 375 -- .../resources/LogEntryFormatter.java | 266 -- .../microservice/resources/LogParser.java | 228 -- .../microservice/resources/LogsResource.java | 348 -- .../resources/SampleRootResource.java | 29 - .../resources/ShutdownResource.java | 52 - .../juneau/microservice/resources/package.html | 31 - juneau-microservice/src/test/java/.gitignore | 12 - juneau-releng/juneau-all/.classpath | 26 + juneau-releng/juneau-all/.gitignore | 4 + juneau-releng/juneau-all/.project | 23 + juneau-releng/juneau-all/pom.xml | 101 + juneau-releng/juneau-all/src/assembly/all.xml | 34 + juneau-releng/juneau-distrib/.gitignore | 3 + juneau-releng/juneau-distrib/.project | 17 + juneau-releng/juneau-distrib/pom.xml | 225 ++ .../juneau-distrib/src/assembly/bin.xml | 44 + .../juneau-distrib/src/assembly/src.xml | 43 + juneau-rest-client/.classpath | 27 - juneau-rest-client/.gitignore | 3 - juneau-rest-client/.project | 38 - juneau-rest-client/pom.xml | 79 - .../juneau/rest/client/AllowAllRedirects.java | 33 - .../apache/juneau/rest/client/DateHeader.java | 42 - .../apache/juneau/rest/client/HttpMethod.java | 61 - .../juneau/rest/client/NameValuePairs.java | 85 - .../juneau/rest/client/ResponsePattern.java | 133 - .../org/apache/juneau/rest/client/RestCall.java | 2100 ---------- .../juneau/rest/client/RestCallException.java | 218 - .../juneau/rest/client/RestCallInterceptor.java | 61 - .../juneau/rest/client/RestCallLogger.java | 129 - .../apache/juneau/rest/client/RestClient.java | 826 ---- .../juneau/rest/client/RestClientBuilder.java | 2110 ---------- .../juneau/rest/client/RestRequestEntity.java | 93 - .../org/apache/juneau/rest/client/RetryOn.java | 65 - .../org/apache/juneau/rest/client/SSLOpts.java | 188 - .../rest/client/SerializedNameValuePair.java | 59 - .../rest/client/SimpleX509TrustManager.java | 66 - .../org/apache/juneau/rest/client/package.html | 965 ----- juneau-rest-client/src/test/java/.gitignore | 12 - juneau-rest-jaxrs/.classpath | 29 - juneau-rest-jaxrs/.gitignore | 3 - juneau-rest-jaxrs/.project | 37 - juneau-rest-jaxrs/pom.xml | 94 - .../apache/juneau/rest/jaxrs/BaseProvider.java | 198 - .../juneau/rest/jaxrs/DefaultProvider.java | 70 - .../juneau/rest/jaxrs/JuneauProvider.java | 113 - .../org/apache/juneau/rest/jaxrs/package.html | 137 - .../rest/jaxrs/rdf/DefaultJenaProvider.java | 89 - .../apache/juneau/rest/jaxrs/rdf/package.html | 34 - juneau-rest-test/.classpath | 37 - juneau-rest-test/.gitignore | 3 - juneau-rest-test/.project | 37 - juneau-rest-test/jetty.xml | 58 - juneau-rest-test/juneau-rest-test.cfg | 58 - juneau-rest-test/juneau-rest-test.launch | 31 - juneau-rest-test/pom.xml | 73 - .../juneau/rest/test/AcceptCharsetResource.java | 94 - .../test/BeanContextPropertiesResource.java | 44 - .../apache/juneau/rest/test/BpiResource.java | 140 - .../rest/test/CallbackStringsResource.java | 53 - .../rest/test/CharsetEncodingsResource.java | 75 - .../juneau/rest/test/ClientFuturesResource.java | 35 - .../juneau/rest/test/ClientVersionResource.java | 93 - .../apache/juneau/rest/test/ConfigResource.java | 38 - .../juneau/rest/test/ContentResource.java | 81 - .../java/org/apache/juneau/rest/test/DTO2s.java | 138 - .../rest/test/DefaultContentTypesResource.java | 141 - .../rest/test/ErrorConditionsResource.java | 135 - .../juneau/rest/test/FormDataResource.java | 75 - .../apache/juneau/rest/test/GroupsResource.java | 87 - .../apache/juneau/rest/test/GzipResource.java | 111 - .../juneau/rest/test/HeadersResource.java | 243 -- .../juneau/rest/test/HtmlDocLinksResource.java | 255 -- .../juneau/rest/test/HtmlDocResource.java | 186 - .../juneau/rest/test/InheritanceResource.java | 328 -- .../apache/juneau/rest/test/InterfaceProxy.java | 191 - .../rest/test/InterfaceProxyResource.java | 738 ---- .../org/apache/juneau/rest/test/LargePojo.java | 45 - .../juneau/rest/test/LargePojosResource.java | 39 - .../juneau/rest/test/MessagesResource.java | 62 - .../juneau/rest/test/NlsPropertyResource.java | 71 - .../apache/juneau/rest/test/NlsResource.java | 197 - .../juneau/rest/test/NoParserInputResource.java | 57 - .../juneau/rest/test/OnPostCallResource.java | 110 - .../juneau/rest/test/OnPreCallResource.java | 95 - .../rest/test/OptionsWithoutNlsResource.java | 44 - .../rest/test/OverlappingMethodsResource.java | 146 - .../apache/juneau/rest/test/ParamsResource.java | 419 -- .../juneau/rest/test/ParsersResource.java | 151 - .../apache/juneau/rest/test/PathResource.java | 69 - .../juneau/rest/test/PathVariablesResource.java | 48 - .../apache/juneau/rest/test/PathsResource.java | 70 - .../juneau/rest/test/PropertiesResource.java | 106 - .../apache/juneau/rest/test/QueryResource.java | 63 - .../rest/test/RequestBeanProxyResource.java | 50 - .../juneau/rest/test/RestClient2Resource.java | 36 - .../juneau/rest/test/RestHooksInitResource.java | 274 -- .../juneau/rest/test/RestHooksResource.java | 189 - .../java/org/apache/juneau/rest/test/Root.java | 84 - .../juneau/rest/test/SerializersResource.java | 143 - .../juneau/rest/test/StaticFilesResource.java | 36 - .../org/apache/juneau/rest/test/TestUtils.java | 98 - .../rest/test/ThirdPartyProxyResource.java | 1737 -------- .../rest/test/TransformsParentResource.java | 26 - .../juneau/rest/test/TransformsResource.java | 114 - .../apache/juneau/rest/test/UrisResource.java | 118 - .../juneau/rest/test/UrlContentResource.java | 59 - .../apache/juneau/rest/test/pojos/ABean.java | 24 - .../juneau/rest/test/pojos/Constants.java | 25 - .../rest/test/pojos/ImplicitSwappedPojo.java | 35 - .../juneau/rest/test/pojos/SwappedPojo.java | 20 - .../juneau/rest/test/pojos/SwappedPojoSwap.java | 35 - .../apache/juneau/rest/test/pojos/TestEnum.java | 17 - .../juneau/rest/test/pojos/TypedBean.java | 17 - .../juneau/rest/test/pojos/TypedBeanImpl.java | 25 - .../rest/test/HtmlPropertiesResource.properties | 31 - .../rest/test/Messages2Resource.properties | 16 - .../rest/test/MessagesResource.properties | 16 - .../rest/test/NlsPropertyResource.properties | 16 - .../juneau/rest/test/NlsResource.properties | 71 - .../juneau/rest/test/ParamsResource.properties | 15 - .../rest/test/ParamsResource_ja_JP.properties | 15 - .../org/apache/juneau/rest/test/xdocs/test.txt | 13 - .../juneau/rest/test/xdocs/xdocs/test.txt | 13 - .../juneau/rest/test/AcceptCharsetTest.java | 125 - .../rest/test/BeanContextPropertiesTest.java | 34 - .../org/apache/juneau/rest/test/BpiTest.java | 253 -- .../juneau/rest/test/CallbackStringsTest.java | 50 - .../juneau/rest/test/CharsetEncodingsTest.java | 110 - .../juneau/rest/test/ClientFuturesTest.java | 44 - .../juneau/rest/test/ClientVersionTest.java | 77 - .../org/apache/juneau/rest/test/ConfigTest.java | 57 - .../apache/juneau/rest/test/ContentTest.java | 450 --- .../java/org/apache/juneau/rest/test/DTOs.java | 138 - .../rest/test/DefaultContentTypesTest.java | 427 -- .../juneau/rest/test/ErrorConditionsTest.java | 210 - .../apache/juneau/rest/test/FormDataTest.java | 135 - .../org/apache/juneau/rest/test/GroupsTest.java | 109 - .../org/apache/juneau/rest/test/GzipTest.java | 340 -- .../apache/juneau/rest/test/HeadersTest.java | 261 -- .../juneau/rest/test/HtmlDocLinksTest.java | 337 -- .../apache/juneau/rest/test/HtmlDocTest.java | 291 -- .../juneau/rest/test/InheritanceTest.java | 116 - .../juneau/rest/test/InterfaceProxyTest.java | 833 ---- .../juneau/rest/test/JacocoDummyTest.java | 38 - .../apache/juneau/rest/test/LargePojosTest.java | 84 - .../apache/juneau/rest/test/MessagesTest.java | 44 - .../juneau/rest/test/NlsPropertyTest.java | 43 - .../org/apache/juneau/rest/test/NlsTest.java | 97 - .../juneau/rest/test/NoParserInputTest.java | 61 - .../apache/juneau/rest/test/OnPostCallTest.java | 121 - .../apache/juneau/rest/test/OnPreCallTest.java | 61 - .../juneau/rest/test/OptionsWithoutNlsTest.java | 45 - .../rest/test/OverlappingMethodsTest.java | 170 - .../org/apache/juneau/rest/test/ParamsTest.java | 855 ---- .../apache/juneau/rest/test/ParsersTest.java | 138 - .../org/apache/juneau/rest/test/PathTest.java | 41 - .../juneau/rest/test/PathVariableTest.java | 51 - .../org/apache/juneau/rest/test/PathsTest.java | 817 ---- .../apache/juneau/rest/test/PropertiesTest.java | 43 - .../org/apache/juneau/rest/test/QueryTest.java | 60 - .../juneau/rest/test/RequestBeanProxyTest.java | 2017 --------- .../apache/juneau/rest/test/RestClientTest.java | 190 - .../juneau/rest/test/RestHooksInitTest.java | 112 - .../apache/juneau/rest/test/RestHooksTest.java | 72 - .../apache/juneau/rest/test/RestTestcase.java | 89 - .../apache/juneau/rest/test/RestUtilsTest.java | 189 - .../juneau/rest/test/SerializersTest.java | 130 - .../juneau/rest/test/StaticFilesTest.java | 53 - .../juneau/rest/test/TestMicroservice.java | 136 - .../juneau/rest/test/ThirdPartyProxyTest.java | 3814 ------------------ .../apache/juneau/rest/test/TransformsTest.java | 63 - .../org/apache/juneau/rest/test/UrisTest.java | 432 -- .../apache/juneau/rest/test/UrlContentTest.java | 65 - .../juneau/rest/test/UrlPathPatternTest.java | 40 - .../org/apache/juneau/rest/test/_TestSuite.java | 84 - .../juneau-microservice-template/.classpath | 26 + .../juneau-microservice-template/.gitignore | 3 + .../juneau-microservice-template/.project | 29 + .../META-INF/MANIFEST.MF | 29 + .../juneau-microservice-template/build.xml | 55 + .../dependency-reduced-pom.xml | 65 + .../juneau-microservice-template/jetty.xml | 58 + .../microservice.cfg | 118 + .../juneau-microservice-template/pom.xml | 105 + .../microservice/sample/HelloWorldResource.java | 35 + .../microservice/sample/RootResources.java | 41 + .../microservice/sample/nls/Messages.properties | 19 + .../src/test/java/.gitignore | 12 + juneau-rest/juneau-microservice/.classpath | 26 + juneau-rest/juneau-microservice/.gitignore | 3 + juneau-rest/juneau-microservice/.project | 26 + juneau-rest/juneau-microservice/Dockerfile | 29 + juneau-rest/juneau-microservice/pom.xml | 104 + .../juneau/microservice/Microservice.java | 631 +++ .../apache/juneau/microservice/Resource.java | 74 + .../juneau/microservice/ResourceGroup.java | 75 + .../juneau/microservice/ResourceJena.java | 46 + .../juneau/microservice/ResourceJenaGroup.java | 89 + .../juneau/microservice/RestMicroservice.java | 644 +++ .../juneau/microservice/doc-files/build1.png | Bin 0 -> 2633 bytes .../juneau/microservice/doc-files/build2.png | Bin 0 -> 8634 bytes .../microservice/doc-files/helloworld1.png | Bin 0 -> 14050 bytes .../microservice/doc-files/instructions1.png | Bin 0 -> 44658 bytes .../microservice/doc-files/instructions2.png | Bin 0 -> 54971 bytes .../microservice/doc-files/instructions3.png | Bin 0 -> 20755 bytes .../microservice/doc-files/instructions4.png | Bin 0 -> 28672 bytes .../microservice/doc-files/instructions5.png | Bin 0 -> 8894 bytes .../microservice/doc-files/instructions6.png | Bin 0 -> 22345 bytes .../juneau/microservice/doc-files/manifest1.png | Bin 0 -> 10493 bytes .../org/apache/juneau/microservice/package.html | 1038 +++++ .../microservice/resources/ConfigEdit.html | 39 + .../microservice/resources/ConfigResource.java | 212 + .../resources/DirectoryResource.java | 375 ++ .../resources/LogEntryFormatter.java | 266 ++ .../microservice/resources/LogParser.java | 228 ++ .../microservice/resources/LogsResource.java | 348 ++ .../resources/SampleRootResource.java | 29 + .../resources/ShutdownResource.java | 52 + .../juneau/microservice/resources/package.html | 31 + .../src/test/java/.gitignore | 12 + 549 files changed, 10089 insertions(+), 96275 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-all/.classpath ---------------------------------------------------------------------- diff --git a/juneau-all/.classpath b/juneau-all/.classpath deleted file mode 100644 index fd7ad7f..0000000 --- a/juneau-all/.classpath +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" output="target/classes" path="src/main/java"> - <attributes> - <attribute name="optional" value="true"/> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="src" output="target/test-classes" path="src/test/java"> - <attributes> - <attribute name="optional" value="true"/> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="output" path="target/classes"/> -</classpath> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-all/.gitignore ---------------------------------------------------------------------- diff --git a/juneau-all/.gitignore b/juneau-all/.gitignore deleted file mode 100644 index c7a6c82..0000000 --- a/juneau-all/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/target/ -/.settings/ -/.DS_Store -/bin/ http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-all/.project ---------------------------------------------------------------------- diff --git a/juneau-all/.project b/juneau-all/.project deleted file mode 100644 index 5ba7b4e..0000000 --- a/juneau-all/.project +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>juneau-all</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - </natures> -</projectDescription> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-all/pom.xml ---------------------------------------------------------------------- diff --git a/juneau-all/pom.xml b/juneau-all/pom.xml deleted file mode 100644 index 75b4565..0000000 --- a/juneau-all/pom.xml +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - *************************************************************************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations under the License. * - *************************************************************************************************************************** ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - <artifactId>juneau-all</artifactId> - <name>Apache Juneau UberJar</name> - <description>Combined contents of Core/Server/Client/Microservice jars</description> - <packaging>jar</packaging> - - <parent> - <groupId>org.apache.juneau</groupId> - <artifactId>juneau</artifactId> - <version>6.3.2-incubating-SNAPSHOT</version> - </parent> - - <dependencies> - <dependency> - <groupId>org.apache.juneau</groupId> - <artifactId>juneau-core</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.juneau</groupId> - <artifactId>juneau-core-rdf</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.juneau</groupId> - <artifactId>juneau-rest</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.juneau</groupId> - <artifactId>juneau-rest-client</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.juneau</groupId> - <artifactId>juneau-microservice</artifactId> - <version>${project.version}</version> - </dependency> - </dependencies> - - <build> - <plugins> - - <!-- - Creates our juneau-all jar file that's a combo of our 4 modules. - --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-shade-plugin</artifactId> - <version>2.4.3</version> - <configuration> - <createDependencyReducedPom>false</createDependencyReducedPom> - <artifactSet> - <includes> - <include>org.apache.juneau:juneau-core</include> - <include>org.apache.juneau:juneau-core-rdf</include> - <include>org.apache.juneau:juneau-rest</include> - <include>org.apache.juneau:juneau-rest-jaxrs</include> - <include>org.apache.juneau:juneau-rest-client</include> - <include>org.apache.juneau:juneau-microservice</include> - </includes> - </artifactSet> - </configuration> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>shade</goal> - </goals> - </execution> - <execution> - <id>source-jar</id> - <goals> - <goal>shade</goal> - </goals> - <configuration> - <createSourcesJar>true</createSourcesJar> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-all/src/assembly/all.xml ---------------------------------------------------------------------- diff --git a/juneau-all/src/assembly/all.xml b/juneau-all/src/assembly/all.xml deleted file mode 100644 index f3fb07e..0000000 --- a/juneau-all/src/assembly/all.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - *************************************************************************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations under the License. * - *************************************************************************************************************************** ---> -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>all</id> - <formats> - <format>dir</format> - <format>zip</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <includes> - <include>*</include> - </includes> - <outputDirectory></outputDirectory> - </dependencySet> - </dependencySets> -</assembly> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/.classpath ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/.classpath b/juneau-core-rdf/.classpath deleted file mode 100644 index 4dc3b41..0000000 --- a/juneau-core-rdf/.classpath +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" output="target/classes" path="src/main/java"> - <attributes> - <attribute name="optional" value="true"/> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="src" path="/juneau-core"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="src" output="target/test-classes" path="src/test/java"> - <attributes> - <attribute name="optional" value="true"/> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="output" path="target/classes"/> -</classpath> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/.gitignore ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/.gitignore b/juneau-core-rdf/.gitignore deleted file mode 100644 index d274d47..0000000 --- a/juneau-core-rdf/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/target/ -/.settings/ -/.DS_Store http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/.project ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/.project b/juneau-core-rdf/.project deleted file mode 100644 index 9e91f29..0000000 --- a/juneau-core-rdf/.project +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - *************************************************************************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations under the License. * - *************************************************************************************************************************** ---> -<projectDescription> - <name>juneau-core-rdf</name> - <comment>Base toolkit for serializers, parsers, and bean contexts. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/pom.xml ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/pom.xml b/juneau-core-rdf/pom.xml deleted file mode 100644 index 4030005..0000000 --- a/juneau-core-rdf/pom.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - *************************************************************************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * - * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * - * with the License. You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * - * specific language governing permissions and limitations under the License. * - *************************************************************************************************************************** ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - <artifactId>juneau-core-rdf</artifactId> - <name>Apache Juneau Core RDF Support</name> - <description>Addition to the core API for RDF support.</description> - <packaging>bundle</packaging> - - <parent> - <groupId>org.apache.juneau</groupId> - <artifactId>juneau</artifactId> - <version>6.3.2-incubating-SNAPSHOT</version> - </parent> - - <dependencies> - <dependency> - <groupId>org.apache.juneau</groupId> - <artifactId>juneau-core</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.jena</groupId> - <artifactId>jena-core</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </dependency> - </dependencies> - - <properties> - <!-- Skip javadoc generation since we generate them in the aggregate pom --> - <maven.javadoc.skip>true</maven.javadoc.skip> - </properties> - - <build> - <plugins> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <version>3.2.0</version> - <extensions>true</extensions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <includes> - <include>**/*Test.class</include> - </includes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <phase>verify</phase> - <goals> - <goal>jar-no-fork</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>0.7.2.201409121644</version> - <executions> - <execution> - <id>default-prepare-agent</id> - <goals> - <goal>prepare-agent</goal> - </goals> - </execution> - <execution> - <id>default-report</id> - <phase>prepare-package</phase> - <goals> - <goal>report</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/Constants.java ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/Constants.java b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/Constants.java deleted file mode 100644 index 2920b5d..0000000 --- a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/Constants.java +++ /dev/null @@ -1,99 +0,0 @@ -// *************************************************************************************************************************** -// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * -// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * -// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * -// * with the License. You may obtain a copy of the License at * -// * * -// * http://www.apache.org/licenses/LICENSE-2.0 * -// * * -// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * -// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * -// * specific language governing permissions and limitations under the License. * -// *************************************************************************************************************************** -package org.apache.juneau.jena; - -import org.apache.juneau.serializer.*; - -/** - * Constants used by the {@link RdfSerializer} and {@link RdfParser} classes. - */ -public final class Constants { - - //-------------------------------------------------------------------------------- - // Built-in Jena languages. - //-------------------------------------------------------------------------------- - - /** Jena language support: <js>"RDF/XML"</js>.*/ - public static final String LANG_RDF_XML = "RDF/XML"; - - /** Jena language support: <js>"RDF/XML-ABBREV"</js>.*/ - public static final String LANG_RDF_XML_ABBREV = "RDF/XML-ABBREV"; - - /** Jena language support: <js>"N-TRIPLE"</js>.*/ - public static final String LANG_NTRIPLE = "N-TRIPLE"; - - /** Jena language support: <js>"TURTLE"</js>.*/ - public static final String LANG_TURTLE = "TURTLE"; - - /** Jena language support: <js>"N3"</js>.*/ - public static final String LANG_N3 = "N3"; - - - //-------------------------------------------------------------------------------- - // Built-in Juneau properties. - //-------------------------------------------------------------------------------- - - /** - * RDF property identifier <js>"items"</js>. - * - * <p> - * For resources that are collections, this property identifies the RDF Sequence container for the items in the - * collection. - */ - public static final String RDF_juneauNs_ITEMS = "items"; - - /** - * RDF property identifier <js>"root"</js>. - * - * <p> - * Property added to root nodes to help identify them as root elements during parsing. - * - * <p> - * Added if {@link RdfSerializerContext#RDF_addRootProperty} setting is enabled. - */ - public static final String RDF_juneauNs_ROOT = "root"; - - /** - * RDF property identifier <js>"class"</js>. - * - * <p> - * Property added to bean resources to identify the class type. - * - * <p> - * Added if {@link SerializerContext#SERIALIZER_addBeanTypeProperties} setting is enabled. - */ - public static final String RDF_juneauNs_TYPE = "_type"; - - /** - * RDF property identifier <js>"value"</js>. - * - * <p> - * Property added to nodes to identify a simple value. - */ - public static final String RDF_juneauNs_VALUE = "value"; - - /** - * RDF resource that identifies a <jk>null</jk> value. - */ - public static final String RDF_NIL = "http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"; - - /** - * RDF resource that identifies a <code>Seq</code> value. - */ - public static final String RDF_SEQ = "http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq"; - - /** - * RDF resource that identifies a <code>Bag</code> value. - */ - public static final String RDF_BAG = "http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag"; -} http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfBeanMeta.java ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfBeanMeta.java b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfBeanMeta.java deleted file mode 100644 index b929db3..0000000 --- a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfBeanMeta.java +++ /dev/null @@ -1,63 +0,0 @@ -// *************************************************************************************************************************** -// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * -// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * -// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * -// * with the License. You may obtain a copy of the License at * -// * * -// * http://www.apache.org/licenses/LICENSE-2.0 * -// * * -// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * -// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * -// * specific language governing permissions and limitations under the License. * -// *************************************************************************************************************************** -package org.apache.juneau.jena; - -import org.apache.juneau.*; -import org.apache.juneau.jena.annotation.*; - -/** - * Metadata on beans specific to the RDF serializers and parsers pulled from the {@link Rdf @Rdf} annotation on the - * class. - */ -public class RdfBeanMeta extends BeanMetaExtended { - - // RDF related fields - private final BeanPropertyMeta beanUriProperty; // Bean property that identifies the URI of the bean. - - /** - * Constructor. - * - * @param beanMeta The metadata on the bean that this metadata applies to. - */ - public RdfBeanMeta(BeanMeta<?> beanMeta) { - super(beanMeta); - - BeanPropertyMeta t_beanUriProperty = null; - for (BeanPropertyMeta p : beanMeta.getPropertyMetas()) { - RdfBeanPropertyMeta bpm = p.getExtendedMeta(RdfBeanPropertyMeta.class); - if (bpm.isBeanUri()) - t_beanUriProperty = p; - } - - this.beanUriProperty = t_beanUriProperty; - } - - /** - * Returns <jk>true</jk> if one of the properties on this bean is annotated with {@link Rdf#beanUri()} as - * <jk>true</jk> - * - * @return <jk>true</jk> if there is a URI property associated with this bean. - */ - public boolean hasBeanUri() { - return beanUriProperty != null; - } - - /** - * Returns the bean property marked as the URI for the bean (annotated with {@link Rdf#beanUri()} as <jk>true</jk>). - * - * @return The URI property, or <jk>null</jk> if no URI property exists on this bean. - */ - public BeanPropertyMeta getBeanUriProperty() { - return beanUriProperty; - } -} http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfBeanPropertyMeta.java ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfBeanPropertyMeta.java b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfBeanPropertyMeta.java deleted file mode 100644 index b226607..0000000 --- a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfBeanPropertyMeta.java +++ /dev/null @@ -1,95 +0,0 @@ -// *************************************************************************************************************************** -// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * -// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * -// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * -// * with the License. You may obtain a copy of the License at * -// * * -// * http://www.apache.org/licenses/LICENSE-2.0 * -// * * -// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * -// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * -// * specific language governing permissions and limitations under the License. * -// *************************************************************************************************************************** -package org.apache.juneau.jena; - -import static org.apache.juneau.jena.RdfCollectionFormat.*; - -import java.util.*; - -import org.apache.juneau.*; -import org.apache.juneau.jena.annotation.*; -import org.apache.juneau.xml.*; - -/** - * Metadata on bean properties specific to the RDF serializers and parsers pulled from the {@link Rdf @Rdf} annotation - * on the bean property. - */ -public class RdfBeanPropertyMeta extends BeanPropertyMetaExtended { - - private RdfCollectionFormat collectionFormat = DEFAULT; - private Namespace namespace = null; - private boolean isBeanUri; - - /** - * Constructor. - * - * @param bpm The metadata of the bean property of this additional metadata. - */ - public RdfBeanPropertyMeta(BeanPropertyMeta bpm) { - super(bpm); - - List<Rdf> rdfs = bpm.findAnnotations(Rdf.class); - List<RdfSchema> schemas = bpm.findAnnotations(RdfSchema.class); - - for (Rdf rdf : rdfs) { - if (collectionFormat == DEFAULT) - collectionFormat = rdf.collectionFormat(); - if (rdf.beanUri()) - isBeanUri = true; - } - - namespace = RdfUtils.findNamespace(rdfs, schemas); - } - - /** - * Returns the RDF collection format of this property from the {@link Rdf#collectionFormat} annotation on this bean - * property. - * - * @return The RDF collection format, or {@link RdfCollectionFormat#DEFAULT} if annotation not specified. - */ - protected RdfCollectionFormat getCollectionFormat() { - return collectionFormat; - } - - /** - * Returns the RDF namespace associated with this bean property. - * - * <p> - * Namespace is determined in the following order: - * <ol> - * <li>{@link Rdf#prefix()} annotation defined on bean property field. - * <li>{@link Rdf#prefix()} annotation defined on bean getter. - * <li>{@link Rdf#prefix()} annotation defined on bean setter. - * <li>{@link Rdf#prefix()} annotation defined on bean. - * <li>{@link Rdf#prefix()} annotation defined on bean package. - * <li>{@link Rdf#prefix()} annotation defined on bean superclasses. - * <li>{@link Rdf#prefix()} annotation defined on bean superclass packages. - * <li>{@link Rdf#prefix()} annotation defined on bean interfaces. - * <li>{@link Rdf#prefix()} annotation defined on bean interface packages. - * </ol> - * - * @return The namespace associated with this bean property, or <jk>null</jk> if no namespace is associated with it. - */ - public Namespace getNamespace() { - return namespace; - } - - /** - * Returns <jk>true</jk> if this bean property is marked with {@link Rdf#beanUri()} as <jk>true</jk>. - * - * @return <jk>true</jk> if this bean property is marked with {@link Rdf#beanUri()} as <jk>true</jk>. - */ - public boolean isBeanUri() { - return isBeanUri; - } -} http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfClassMeta.java ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfClassMeta.java b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfClassMeta.java deleted file mode 100644 index 76d1e35..0000000 --- a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfClassMeta.java +++ /dev/null @@ -1,89 +0,0 @@ -// *************************************************************************************************************************** -// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * -// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * -// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * -// * with the License. You may obtain a copy of the License at * -// * * -// * http://www.apache.org/licenses/LICENSE-2.0 * -// * * -// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * -// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * -// * specific language governing permissions and limitations under the License. * -// *************************************************************************************************************************** -package org.apache.juneau.jena; - -import java.util.*; - -import org.apache.juneau.*; -import org.apache.juneau.internal.*; -import org.apache.juneau.jena.annotation.*; -import org.apache.juneau.xml.*; - -/** - * Metadata on classes specific to the RDF serializers and parsers pulled from the {@link Rdf @Rdf} annotation on the - * class. - */ -public class RdfClassMeta extends ClassMetaExtended { - - private final Rdf rdf; - private final RdfCollectionFormat collectionFormat; - private final Namespace namespace; - - /** - * Constructor. - * - * @param cm The class that this annotation is defined on. - */ - public RdfClassMeta(ClassMeta<?> cm) { - super(cm); - Class<?> c = getInnerClass(); - this.rdf = ReflectionUtils.getAnnotation(Rdf.class, c); - if (rdf != null) { - collectionFormat = rdf.collectionFormat(); - } else { - collectionFormat = RdfCollectionFormat.DEFAULT; - } - List<Rdf> rdfs = ReflectionUtils.findAnnotations(Rdf.class, c); - List<RdfSchema> schemas = ReflectionUtils.findAnnotations(RdfSchema.class, c); - this.namespace = RdfUtils.findNamespace(rdfs, schemas); - } - - /** - * Returns the {@link Rdf} annotation defined on the class. - * - * @return The value of the {@link Rdf} annotation, or <jk>null</jk> if annotation is not specified. - */ - protected Rdf getAnnotation() { - return rdf; - } - - /** - * Returns the {@link Rdf#collectionFormat()} annotation defined on the class. - * - * @return The value of the {@link Rdf#collectionFormat()} annotation, or <jk>null</jk> if annotation is not - * specified. - */ - protected RdfCollectionFormat getCollectionFormat() { - return collectionFormat; - } - - /** - * Returns the RDF namespace associated with this class. - * - * <p> - * Namespace is determined in the following order: - * <ol> - * <li>{@link Rdf#prefix()} annotation defined on class. - * <li>{@link Rdf#prefix()} annotation defined on package. - * <li>{@link Rdf#prefix()} annotation defined on superclasses. - * <li>{@link Rdf#prefix()} annotation defined on superclass packages. - * <li>{@link Rdf#prefix()} annotation defined on interfaces. - * <li>{@link Rdf#prefix()} annotation defined on interface packages. - * </ol> - * - * @return The namespace associated with this class, or <jk>null</jk> if no namespace is associated with it. - */ - protected Namespace getNamespace() { - return namespace; - } -} http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/ab15d45b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfCollectionFormat.java ---------------------------------------------------------------------- diff --git a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfCollectionFormat.java b/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfCollectionFormat.java deleted file mode 100644 index 2ff1370..0000000 --- a/juneau-core-rdf/src/main/java/org/apache/juneau/jena/RdfCollectionFormat.java +++ /dev/null @@ -1,55 +0,0 @@ -// *************************************************************************************************************************** -// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * -// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * -// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * -// * with the License. You may obtain a copy of the License at * -// * * -// * http://www.apache.org/licenses/LICENSE-2.0 * -// * * -// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * -// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * -// * specific language governing permissions and limitations under the License. * -// *************************************************************************************************************************** -package org.apache.juneau.jena; - -import org.apache.juneau.jena.annotation.*; - -/** - * Used in conjunction with the {@link Rdf#collectionFormat() @Rdf.collectionFormat()} annotation to fine-tune how - * classes, beans, and bean properties are serialized, particularly collections. - */ -public enum RdfCollectionFormat { - - /** - * Default formatting (default). - * - * <p> - * Inherit formatting from parent class or parent package. - * If no formatting specified at any level, default is {@link #SEQ}. - */ - DEFAULT, - - /** - * Causes collections and arrays to be rendered as RDF sequences. - */ - SEQ, - - /** - * Causes collections and arrays to be rendered as RDF bags. - */ - BAG, - - /** - * Causes collections and arrays to be rendered as RDF lists. - */ - LIST, - - /** - * Causes collections and arrays to be rendered as multi-valued RDF properties instead of sequences. - * - * <p> - * Note that enabling this setting will cause order of elements in the collection to be lost. - */ - MULTI_VALUED; - -} \ No newline at end of file
