Browse files

cleaning up

  • Loading branch information...
1 parent 2303454 commit dabeb82188528132aeb7c92a7c0802cf1a2c5473 @vinny2020 committed Apr 8, 2011
View
261 google-image-rest.iws
@@ -3,6 +3,11 @@
<component name="ChangeListManager">
<list default="true" id="29263d0f-9462-40f9-85ec-66786d3c12e8" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/google-image-rest.iws" afterPath="$PROJECT_DIR$/google-image-rest.iws" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/xaymaca/appengine/FlickrHelper.groovy" afterPath="$PROJECT_DIR$/src/com/xaymaca/appengine/FlickrHelper.groovy" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/test/com/xaymaca/restapi/ImageRestTest.groovy" afterPath="$PROJECT_DIR$/test/com/xaymaca/restapi/ImageRestTest.groovy" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/test/com/xaymaca/restapi/UploadImageTest.groovy" afterPath="$PROJECT_DIR$/test/com/xaymaca/restapi/UploadImageTest.groovy" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/war/WEB-INF/appengine-web.xml" afterPath="$PROJECT_DIR$/war/WEB-INF/appengine-web.xml" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/war/index.html" afterPath="$PROJECT_DIR$/war/index.html" />
</list>
<ignored path="gaelyk-project.iws" />
<ignored path=".idea/workspace.xml" />
@@ -69,86 +74,88 @@
<file leaf-file-name="FlickrHelper.groovy" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/FlickrHelper.groovy">
<provider selected="true" editor-type-id="text-editor">
- <state line="24" column="89" selection-start="830" selection-end="830" vertical-scroll-proportion="-11.076923">
+ <state line="16" column="0" selection-start="379" selection-end="379" vertical-scroll-proportion="5.076923">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="README" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/docs/README">
+ <file leaf-file-name="appengine-web.xml" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/war/WEB-INF/appengine-web.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="14" column="85" selection-start="784" selection-end="784" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="README" pinned="false" current="true" current-in-tab="true">
- <entry file="file://$PROJECT_DIR$/README">
+ <file leaf-file-name="ImageRestTest.groovy" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/test/com/xaymaca/restapi/ImageRestTest.groovy">
<provider selected="true" editor-type-id="text-editor">
- <state line="7" column="32" selection-start="554" selection-end="554" vertical-scroll-proportion="0.19905214">
+ <state line="20" column="19" selection-start="395" selection-end="395" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="IdExchange.java" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/IdExchange.java">
+ <file leaf-file-name="logging.properties" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/war/WEB-INF/logging.properties">
<provider selected="true" editor-type-id="text-editor">
- <state line="16" column="13" selection-start="392" selection-end="392" vertical-scroll-proportion="0.0">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="Persister.java" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/Persister.java">
+ <file leaf-file-name="LocalDatastoreTest.java" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/test/com/xaymaca/restapi/LocalDatastoreTest.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="16" column="13" selection-start="408" selection-end="408" vertical-scroll-proportion="0.0">
+ <state line="22" column="13" selection-start="744" selection-end="744" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="IMG_2029.jpg" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/docs/IMG_2029.jpg">
- <provider selected="true" editor-type-id="images">
- <state />
+ <file leaf-file-name="StreamRestTest.groovy" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/test/com/xaymaca/restapi/StreamRestTest.groovy">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="24" column="13" selection-start="565" selection-end="565" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
</provider>
</entry>
</file>
- <file leaf-file-name="test.xml" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/war/test/test.xml">
+ <file leaf-file-name="UploadImageTest.groovy" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/test/com/xaymaca/restapi/UploadImageTest.groovy">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="24" column="25" selection-start="761" selection-end="761" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="web.xml" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/war/WEB-INF/web.xml">
+ <file leaf-file-name="README" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/docs/README">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="index.html" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/war/index.html">
+ <file leaf-file-name="README" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/README">
<provider selected="true" editor-type-id="text-editor">
- <state line="13" column="13" selection-start="427" selection-end="427" vertical-scroll-proportion="-7.428571">
+ <state line="15" column="0" selection-start="904" selection-end="904" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="index.html" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/war/oldwebpages/index.html">
+ <file leaf-file-name="index.html" pinned="false" current="true" current-in-tab="true">
+ <entry file="file://$PROJECT_DIR$/war/index.html">
<provider selected="true" editor-type-id="text-editor">
- <state line="19" column="30" selection-start="1006" selection-end="1006" vertical-scroll-proportion="-10.857142">
+ <state line="10" column="14" selection-start="337" selection-end="337" vertical-scroll-proportion="0.25974026">
<folding />
</state>
</provider>
@@ -168,9 +175,6 @@
<component name="IdeDocumentHistory">
<option name="changedFiles">
<list>
- <option value="$PROJECT_DIR$/data/advancedtransform.xml" />
- <option value="$PROJECT_DIR$/data/liveservertransform.xml" />
- <option value="$PROJECT_DIR$/data/imageTransform.txt" />
<option value="$PROJECT_DIR$/data/workflow.txt" />
<option value="$PROJECT_DIR$/docs/simpleTransforms.txt" />
<option value="$PROJECT_DIR$/docs/streamTransforms.txt" />
@@ -181,9 +185,12 @@
<option value="$PROJECT_DIR$/war/upload2.gtpl" />
<option value="$PROJECT_DIR$/war/WEB-INF/groovy/insertNew.groovy" />
<option value="$PROJECT_DIR$/war/test/index.html" />
- <option value="$PROJECT_DIR$/war/index.html" />
- <option value="$PROJECT_DIR$/src/com/xaymaca/appengine/FlickrHelper.groovy" />
<option value="$PROJECT_DIR$/README" />
+ <option value="$PROJECT_DIR$/src/com/xaymaca/appengine/FlickrHelper.groovy" />
+ <option value="$PROJECT_DIR$/war/WEB-INF/appengine-web.xml" />
+ <option value="$PROJECT_DIR$/test/com/xaymaca/restapi/UploadImageTest.groovy" />
+ <option value="$PROJECT_DIR$/test/com/xaymaca/restapi/ImageRestTest.groovy" />
+ <option value="$PROJECT_DIR$/war/index.html" />
</list>
</option>
</component>
@@ -252,74 +259,6 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="google-image-rest" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="restapi" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="war" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="test" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="google-image-rest" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="restapi" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="war" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="oldwebpages" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="google-image-rest" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="restapi" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="google-image-rest" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="restapi" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="appengine" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
</subPane>
</pane>
<pane id="Favorites" />
@@ -474,14 +413,14 @@
</UpdateInfo>
</component>
<component name="RunManager" selected="JUnit.ImageRestTest">
- <configuration default="false" name="ImageRestTest.test_image_crop" type="JUnit" factoryName="JUnit" temporary="true">
+ <configuration default="false" name="StreamRestTest" type="JUnit" factoryName="JUnit" temporary="true">
<module name="restapi" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" value="com.xaymaca.restapi" />
- <option name="MAIN_CLASS_NAME" value="com.xaymaca.restapi.ImageRestTest" />
- <option name="METHOD_NAME" value="test_image_crop" />
- <option name="TEST_OBJECT" value="method" />
+ <option name="MAIN_CLASS_NAME" value="com.xaymaca.restapi.StreamRestTest" />
+ <option name="METHOD_NAME" />
+ <option name="TEST_OBJECT" value="class" />
<option name="VM_PARAMETERS" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
@@ -496,14 +435,14 @@
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
- <configuration default="false" name="ImageRestTest" type="JUnit" factoryName="JUnit" temporary="true">
+ <configuration default="false" name="ImageRestTest.test_image_v_flip_fifty" type="JUnit" factoryName="JUnit" temporary="true">
<module name="restapi" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" value="com.xaymaca.restapi" />
<option name="MAIN_CLASS_NAME" value="com.xaymaca.restapi.ImageRestTest" />
- <option name="METHOD_NAME" />
- <option name="TEST_OBJECT" value="class" />
+ <option name="METHOD_NAME" value="test_image_v_flip_fifty" />
+ <option name="TEST_OBJECT" value="method" />
<option name="VM_PARAMETERS" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
@@ -518,13 +457,13 @@
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
- <configuration default="false" name="ImageRestTest.test_image_resize_one" type="JUnit" factoryName="JUnit" temporary="true">
+ <configuration default="false" name="ImageRestTest.getServerURL_once" type="JUnit" factoryName="JUnit" temporary="true">
<module name="restapi" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" value="com.xaymaca.restapi" />
<option name="MAIN_CLASS_NAME" value="com.xaymaca.restapi.ImageRestTest" />
- <option name="METHOD_NAME" value="test_image_resize_one" />
+ <option name="METHOD_NAME" value="getServerURL_once" />
<option name="TEST_OBJECT" value="method" />
<option name="VM_PARAMETERS" />
<option name="PARAMETERS" />
@@ -540,14 +479,14 @@
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
- <configuration default="false" name="StreamRestTest" type="JUnit" factoryName="JUnit" temporary="true">
+ <configuration default="false" name="UploadImageTest.upload" type="JUnit" factoryName="JUnit" temporary="true">
<module name="restapi" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" value="com.xaymaca.restapi" />
- <option name="MAIN_CLASS_NAME" value="com.xaymaca.restapi.StreamRestTest" />
- <option name="METHOD_NAME" />
- <option name="TEST_OBJECT" value="class" />
+ <option name="MAIN_CLASS_NAME" value="com.xaymaca.restapi.UploadImageTest" />
+ <option name="METHOD_NAME" value="upload" />
+ <option name="TEST_OBJECT" value="method" />
<option name="VM_PARAMETERS" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
@@ -562,14 +501,14 @@
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
- <configuration default="false" name="ImageRestTest.test_image_v_flip_fifty" type="JUnit" factoryName="JUnit" temporary="true">
+ <configuration default="false" name="ImageRestTest" type="JUnit" factoryName="JUnit" temporary="true">
<module name="restapi" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" value="com.xaymaca.restapi" />
<option name="MAIN_CLASS_NAME" value="com.xaymaca.restapi.ImageRestTest" />
- <option name="METHOD_NAME" value="test_image_v_flip_fifty" />
- <option name="TEST_OBJECT" value="method" />
+ <option name="METHOD_NAME" />
+ <option name="TEST_OBJECT" value="class" />
<option name="VM_PARAMETERS" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
@@ -673,11 +612,11 @@
</method>
</configuration>
<list size="5">
- <item index="0" class="java.lang.String" itemvalue="JUnit.ImageRestTest.test_image_crop" />
- <item index="1" class="java.lang.String" itemvalue="JUnit.ImageRestTest" />
- <item index="2" class="java.lang.String" itemvalue="JUnit.ImageRestTest.test_image_resize_one" />
- <item index="3" class="java.lang.String" itemvalue="JUnit.StreamRestTest" />
- <item index="4" class="java.lang.String" itemvalue="JUnit.ImageRestTest.test_image_v_flip_fifty" />
+ <item index="0" class="java.lang.String" itemvalue="JUnit.StreamRestTest" />
+ <item index="1" class="java.lang.String" itemvalue="JUnit.ImageRestTest.test_image_v_flip_fifty" />
+ <item index="2" class="java.lang.String" itemvalue="JUnit.ImageRestTest.getServerURL_once" />
+ <item index="3" class="java.lang.String" itemvalue="JUnit.UploadImageTest.upload" />
+ <item index="4" class="java.lang.String" itemvalue="JUnit.ImageRestTest" />
</list>
<configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
<Host>localhost</Host>
@@ -718,14 +657,14 @@
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.43874645" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3988604" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
- <window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32905984" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32905984" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32905984" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2494577" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3167028" sideWeight="0.67094016" order="0" side_tool="false" content_ui="tabs" />
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3167028" sideWeight="0.75783473" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24216524" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24216524" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
@@ -772,108 +711,112 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <entry file="file://$PROJECT_DIR$/war/timeout.html">
+ <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/IdExchange.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="7" column="4" selection-start="179" selection-end="179" vertical-scroll-proportion="0.0" />
+ <state line="16" column="13" selection-start="392" selection-end="392" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/war/upload.gtpl">
+ <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/Persister.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
+ <state line="16" column="13" selection-start="408" selection-end="408" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/docs/IMG_2029.jpg">
+ <provider selected="true" editor-type-id="images">
+ <state />
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/war/upload2.gtpl">
+ <entry file="file://$PROJECT_DIR$/war/test/test.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="11" column="0" selection-start="299" selection-end="299" vertical-scroll-proportion="-6.285714">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/war/WEB-INF/groovy/mailme.groovy">
+ <entry file="file://$PROJECT_DIR$/war/WEB-INF/web.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="14" column="10" selection-start="222" selection-end="222" vertical-scroll-proportion="0.0">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/war/WEB-INF/groovy/insertNew.groovy">
+ <entry file="file://$PROJECT_DIR$/war/oldwebpages/index.html">
<provider selected="true" editor-type-id="text-editor">
- <state line="3" column="0" selection-start="157" selection-end="157" vertical-scroll-proportion="0.0">
+ <state line="19" column="30" selection-start="1006" selection-end="1006" vertical-scroll-proportion="-10.857142">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/GroovyTransformer.groovy">
+ <entry file="file://$PROJECT_DIR$/docs/README">
<provider selected="true" editor-type-id="text-editor">
- <state line="11" column="6" selection-start="234" selection-end="234" vertical-scroll-proportion="0.0">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/IdExchange.java">
+ <entry file="file://$PROJECT_DIR$/README">
<provider selected="true" editor-type-id="text-editor">
- <state line="16" column="13" selection-start="392" selection-end="392" vertical-scroll-proportion="0.0">
+ <state line="15" column="0" selection-start="904" selection-end="904" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/Persister.java">
+ <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/FlickrHelper.groovy">
<provider selected="true" editor-type-id="text-editor">
- <state line="16" column="13" selection-start="408" selection-end="408" vertical-scroll-proportion="0.0">
+ <state line="16" column="0" selection-start="379" selection-end="379" vertical-scroll-proportion="5.076923">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/docs/IMG_2029.jpg">
- <provider selected="true" editor-type-id="images">
- <state />
- </provider>
- </entry>
- <entry file="file://$PROJECT_DIR$/war/test/test.xml">
+ <entry file="file://$PROJECT_DIR$/war/WEB-INF/appengine-web.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="14" column="85" selection-start="784" selection-end="784" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/war/WEB-INF/web.xml">
+ <entry file="file://$PROJECT_DIR$/test/com/xaymaca/restapi/StreamRestTest.groovy">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="24" column="13" selection-start="565" selection-end="565" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/war/oldwebpages/index.html">
+ <entry file="file://$PROJECT_DIR$/test/com/xaymaca/restapi/LocalDatastoreTest.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="19" column="30" selection-start="1006" selection-end="1006" vertical-scroll-proportion="-10.857142">
+ <state line="22" column="13" selection-start="744" selection-end="744" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/war/index.html">
+ <entry file="file://$PROJECT_DIR$/test/com/xaymaca/restapi/UploadImageTest.groovy">
<provider selected="true" editor-type-id="text-editor">
- <state line="13" column="13" selection-start="427" selection-end="427" vertical-scroll-proportion="-7.428571">
+ <state line="24" column="25" selection-start="761" selection-end="761" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/src/com/xaymaca/appengine/FlickrHelper.groovy">
+ <entry file="file://$PROJECT_DIR$/test/com/xaymaca/restapi/ImageRestTest.groovy">
<provider selected="true" editor-type-id="text-editor">
- <state line="24" column="89" selection-start="830" selection-end="830" vertical-scroll-proportion="-11.076923">
+ <state line="20" column="19" selection-start="395" selection-end="395" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/docs/README">
+ <entry file="file://$PROJECT_DIR$/war/WEB-INF/logging.properties">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/README">
+ <entry file="file://$PROJECT_DIR$/war/index.html">
<provider selected="true" editor-type-id="text-editor">
- <state line="7" column="32" selection-start="554" selection-end="554" vertical-scroll-proportion="0.19905214">
+ <state line="10" column="14" selection-start="337" selection-end="337" vertical-scroll-proportion="0.25974026">
<folding />
</state>
</provider>
View
6 src/com/xaymaca/appengine/FlickrHelper.groovy
@@ -15,7 +15,7 @@ class FlickrHelper {
def photoset_id = "72157614529783914"
def dragonset_id = "72157622163739281"
- String url = "http://api.flickr.com/services/rest/?api_key=${flickrKey}&method=flickr.photosets.getPhotos&per_page=20&extras=url_s,&photoset_id=${photoset_id}"
+ String url = "http://api.flickr.com/services/rest/?api_key=561b95e0a56e34b48208bfc4f541a65e&method=flickr.photosets.getPhotos&per_page=20&extras=url_s,&photoset_id=${photoset_id}"
//println "the link is " + url
String xml = new URL(url).text
//println "xml is " + xml
@@ -39,8 +39,8 @@ class FlickrHelper {
def photoset_id = "72157614529783914"
// def dragonset_id = "72157622163739281"
def urls = new ArrayList()
- // String url = "http://api.flickr.com/services/rest/?api_key=${flickrKey}&method=flickr.photosets.getPhotos&per_page=20&extras=url_s,&photoset_id=${photoset_id}"
- String url = "http://api.flickr.com/services/rest/?api_key=${flickrKey}&method=flickr.groups.pools.getPhotos&group_id=34427469792@N01&per_page=20&extras=url_m,url_l"
+ // String url = "http://api.flickr.com/services/rest/?api_key=561b95e0a56e34b48208bfc4f541a65e&method=flickr.photosets.getPhotos&per_page=20&extras=url_s,&photoset_id=${photoset_id}"
+ String url = "http://api.flickr.com/services/rest/?api_key=561b95e0a56e34b48208bfc4f541a65e&method=flickr.groups.pools.getPhotos&group_id=34427469792@N01&per_page=20&extras=url_m,url_l"
//println "the link is " + url
String xml = new URL(url).text
//println "xml is " + xml
View
30 test/com/xaymaca/restapi/ImageRestTest.groovy
@@ -21,14 +21,14 @@ import org.junit.Ignore
public class ImageRestTest {
String imageType = 'image/jpeg'
- String imgKey = "326015tw"
+ String imgKey = "1001hq"
@Test public void getServerURL_once() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/simpletransform/${imgKey}/600/false/"
println "uri is " + uri
storedTransform(baseUrl, uri)
@@ -39,7 +39,7 @@ public class ImageRestTest {
@Test public void getServerURL_fifty() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/simpletransform/${imgKey}/600/false/"
println "uri is " + uri
for (i in 1..50) {
@@ -53,7 +53,7 @@ public class ImageRestTest {
@Test public void test_image_resize_one() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/resize/${imgKey}/300/200/"
println "uri is " + uri
@@ -66,7 +66,7 @@ public class ImageRestTest {
// with a permanent id
@Test public void test_image_resize_fifty() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/resize/${imgKey}/300/200/"
// println "uri is " + uri
for (i in 1..50) {
@@ -77,7 +77,7 @@ public class ImageRestTest {
}
@Test public void test_image_crop_one() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/crop/${imgKey}/0.1/0.1/0.9/0.9/"
println "uri is " + uri
@@ -88,7 +88,7 @@ public class ImageRestTest {
}
@Test public void test_image_crop_fifty() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/crop/${imgKey}/0.1/0.1/0.9/0.9/"
for (i in 1..50) {
//println i + ":"
@@ -99,7 +99,7 @@ public class ImageRestTest {
@Test public void test_image_rotate_one() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/rotate/${imgKey}/270/"
println "uri is " + uri
@@ -110,7 +110,7 @@ public class ImageRestTest {
}
@Test public void test_image_rotate_fifty() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/rotate/${imgKey}/270/"
for (i in 1..50) {
//println i + ":"
@@ -121,7 +121,7 @@ public class ImageRestTest {
@Test public void test_image_v_flip_one() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/flip/${imgKey}/vertical/"
println "uri is " + uri
@@ -132,7 +132,7 @@ public class ImageRestTest {
}
@Test public void test_image_v_flip_fifty() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/flip/${imgKey}/vertical/"
for (i in 1..50) {
//println i + ":"
@@ -142,7 +142,7 @@ public class ImageRestTest {
}
@Test public void test_image_h_flip_one() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/flip/${imgKey}/horizontal/"
println "uri is " + uri
@@ -153,7 +153,7 @@ public class ImageRestTest {
}
@Test public void test_image_h_flip_fifty() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/flip/${imgKey}/horizontal/"
for (i in 1..50) {
//println i + ":"
@@ -163,7 +163,7 @@ public class ImageRestTest {
}
@Test public void test_image_lucky_one() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/lucky/${imgKey}/"
println "uri is " + uri
@@ -174,7 +174,7 @@ public class ImageRestTest {
}
@Test public void test_image_lucky_fifty() {
- def baseUrl = "http://xaymacastudios.appspot.com"
+ def baseUrl = "http://hcongruent.appspot.com"
def uri = "/image/lucky/${imgKey}/"
for (i in 1..50) {
//println i + ":"
View
4 test/com/xaymaca/restapi/UploadImageTest.groovy
@@ -24,15 +24,15 @@ class UploadImageTest {
@Test public void upload() {
- def baseUrl = "http://xaymacastudios.appspot.com/image/new"
+ def baseUrl = "http://hcongruent.appspot.com/image/new"
assert streamTransform(baseUrl) != null
println streamTransform(baseUrl)
}
@Test public void test_new_images() {
- def baseUrl = "http://xaymacastudios.appspot.com/image/new"
+ def baseUrl = "http://hcongruent.appspot.com/image/new"
View
2 war/WEB-INF/appengine-web.xml
@@ -1,5 +1,5 @@
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
- <application>xaymacastudios</application>
+ <application>hcongruent</application> <!-- your app engine name goes here -->
<version>5</version>
View
4 war/index.html
@@ -7,8 +7,8 @@
<body>
<h1>Image transformation Demos</h1>
-<p>Live Transformations with persisted Images<a href="test/index.gtpl" >here</a></p>
-<p>Live transformations without persistance <a href="test/streamuploadTest.gtpl" >here</a></p>
+<p>Live image transformations with persisted images <a href="test/index.gtpl" >here</a></p>
+<p>Live image transformations without persistance <a href="test/streamuploadTest.gtpl" >here</a></p>
</body>
</html>

0 comments on commit dabeb82

Please sign in to comment.