Commit graph

8728 commits

Author SHA1 Message Date
rfeng
eb67dee32e Remove invalid comments
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@940680 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 00:14:13 +00:00
rfeng
fe4972c0ec Format the code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@940670 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 23:19:47 +00:00
rfeng
694ac90df8 Add a utility to generate a JAX-RS resource class from the JAX-RS annotated interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@940652 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 22:02:04 +00:00
rfeng
71f0288a92 Add basic support for binary data types for binding.rest
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939874 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 23:26:18 +00:00
lresende
76828ad806 Minor update on REST cache control test case to accomodate refactoring to use common-http cache context class
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939812 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 20:44:31 +00:00
lresende
f8dee02869 Updating REST binding to use common-http cache context class and minor update to HTTPCacheContext factory method
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939810 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 20:44:28 +00:00
lresende
95e2233ee7 Removing unused code...
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939809 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 20:44:20 +00:00
lresende
da0aff02c1 Enhanced support for JAX-RS annotations allowing @Path({id}) to be mapped to an operation expecting a id paramenter. This gives basic support for get and delete operations on a given resource
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939744 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 17:15:53 +00:00
lresende
80ca73f521 Enhancing processing of JAX-RS interfaces, and fixing typo on the annotation used for delete operations
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939743 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 17:15:46 +00:00
antelder
de9dd80223 Add uri: and properties: so these work with the .bat/.sh scripts
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939707 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 15:12:54 +00:00
antelder
437dea7548 Add file missed in prevoous commit - r939702 -Add the base jar to the all distro
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939706 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 15:10:08 +00:00
antelder
3ec191a6e4 Add the base jar to the all distro
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939702 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 15:04:23 +00:00
antelder
4ba82b3760 Simplify the sample exclusions by excluding all webapp target folder contents
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939700 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 15:03:30 +00:00
antelder
51a0c29bec set svn ignores
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939643 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 11:39:27 +00:00
rfeng
e120e4227d Fix the uri calculation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939468 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 19:45:01 +00:00
lresende
40ced904cf Reverting changes from #939029 to avoid issues with implementation widget and making store sample working again
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939423 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:19:19 +00:00
lresende
e67be28749 Updating maven-eclipse-plugin to release 2.8
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939422 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:19:16 +00:00
lresende
02159c0757 Updating maven-war-plugin to release 2.1-beta1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939421 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:19:14 +00:00
lresende
e18ea3476b Updating maven-depedency-plugin to release 2.1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939420 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:19:13 +00:00
lresende
802eed24e5 Updating maven-resources-plugin to release 2.4.2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939419 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:19:11 +00:00
lresende
28b04c9eb4 Updating maven-install-plugin to release 2.3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939418 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:19:10 +00:00
lresende
ddb77b88a0 Updating maven-clean-plugin to release 2.4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939417 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:19:08 +00:00
slaws
c38410a931 add jaws tests into build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939316 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 14:12:32 +00:00
kelvingoodson
84598d687b explicitly call out those extensions which contain Extension Developers' SPI and those extensions which have a special relationship
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939277 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 11:26:29 +00:00
kelvingoodson
0eaef67cc8 forall classes 'c' in packages interfacedef.java* that are imported by tuscany module code, tag c as extension spi
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939246 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 10:02:44 +00:00
lresende
7e69e4e4ba Refactoring HTTPCacheContext to common-http module to avoid binding-atom to depend on binding-http
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939202 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 05:46:13 +00:00
lresende
a7f3ecb975 Adding XML wire format binding implementation for REST binding, and adjusting/improving tests for XML and JSON wire formats
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939194 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 04:49:51 +00:00
lresende
631852b246 Adding XML wire format model definition for REST binding
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939193 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 04:49:38 +00:00
lresende
ed3550b63a Adding XML wire format definition to REST binding schema
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939192 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 04:49:32 +00:00
lresende
e25ca89839 TUSCANY-3543 - Return first available binding when creating selfReference with multiple bindings and no default one specified
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939191 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 04:49:29 +00:00
lresende
c093c7a264 Minor fix for the binding wire format QName
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939190 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 04:49:25 +00:00
rfeng
6f95f82f03 Fix the generated JavaScript to use tuscany.sca.Reference
Use ServletHost.getContextPath() to establish the context path

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939029 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:51:44 +00:00
kelvingoodson
085a0d843c a few more spi tags
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938985 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 14:31:18 +00:00
kelvingoodson
4b359ad919 mark additional classes as extension spi according to use by host* extensions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938958 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 12:00:34 +00:00
kelvingoodson
7373542732 mark additional classes as extension spi according to use by databinding-jaxb-sxiom databinding-json and endpoint*
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938934 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 11:27:07 +00:00
kelvingoodson
cb80141b54 mark additional classes as extension spi according to use by databinding-jaxb
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938827 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 09:05:24 +00:00
lresende
e943796a67 Tweaking binding implementation and adding tests for GET, PUT, POST operation mapping with the JSON wire format
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938773 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 03:57:14 +00:00
lresende
d61bdeb823 Update testcase to simulate a browser GET call and verify the right JSON is produced
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938772 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 03:57:08 +00:00
lresende
dde6ebce6e Adding interface-java-jaxrs to web20 feature
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938771 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 03:57:04 +00:00
lresende
1d087d8616 Fixing jax-rs operation flag in the test case to match what is used by the runtime
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938688 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:43:11 +00:00
lresende
f67991dfc3 Operation selector implementation that uses JAX-RS annotations to map http requests to properly annotated REST interfaces
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938687 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:43:08 +00:00
lresende
3f0c8d9c35 Fixing key used as flag to JAX-RS related operations
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938686 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:43:01 +00:00
lresende
887ca99f53 Adding model for JAX-RS operation selector
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938685 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:42:59 +00:00
lresende
e275e36aa5 Adding schema definition for JAX-RS operation selector
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938684 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:42:53 +00:00
lresende
16d53b579f Adding HTTPContext class to handle common context on HTTP related extensions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938683 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:42:51 +00:00
lresende
7d4795637b Making strings as constants...
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938682 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:42:48 +00:00
lresende
047ade832c Initial support for introspecting JAX-RS annotations during interface contract introspection
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938681 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:42:45 +00:00
lresende
ff352b9f0b Fixing mispelled word in java doc
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938680 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:42:35 +00:00
kelvingoodson
6b8726b618 mark additional classes as extension spi according to use by databinding-axiom
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938572 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 17:14:08 +00:00
kelvingoodson
63b8da7b8c mark additional classes as extension spi according to use by contribution* and fix some typos in previous tags
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938567 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 16:56:52 +00:00