mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-21 05:32:43 +00:00
[AB-82] adding urban dictionary api with a command
adding Instant handling to GSON
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
http://www.liquibase.org/xml/ns/pro ../../dbchangelog-3.8.xsd" >
|
||||
<property name="utilityModule" value="(SELECT id FROM module WHERE name = 'utility')"/>
|
||||
<property name="youtubeFeature" value="(SELECT id FROM feature WHERE key = 'youtube')"/>
|
||||
<property name="urbanFeature" value="(SELECT id FROM feature WHERE key = 'urban')"/>
|
||||
|
||||
<changeSet author="Sheldan" id="webservices_youtube-commands">
|
||||
<insert tableName="command">
|
||||
@@ -17,4 +18,12 @@
|
||||
</insert>
|
||||
</changeSet>
|
||||
|
||||
<changeSet author="Sheldan" id="webservices_urban-commands">
|
||||
<insert tableName="command">
|
||||
<column name="name" value="urbanDefine"/>
|
||||
<column name="module_id" valueComputed="${utilityModule}"/>
|
||||
<column name="feature_id" valueComputed="${urbanFeature}"/>
|
||||
</insert>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
@@ -10,5 +10,8 @@
|
||||
<insert tableName="feature">
|
||||
<column name="key" value="youtube"/>
|
||||
</insert>
|
||||
<insert tableName="feature">
|
||||
<column name="key" value="urban"/>
|
||||
</insert>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
@@ -6,5 +6,5 @@
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog dbchangelog-3.8.xsd
|
||||
http://www.liquibase.org/xml/ns/dbchangelog-ext dbchangelog-3.8.xsd
|
||||
http://www.liquibase.org/xml/ns/pro dbchangelog-3.8.xsd" >
|
||||
<include file="1.0-webservices/collection.xml" relativeToChangelogFile="true"/>
|
||||
<include file="1.2.5-webservices/collection.xml" relativeToChangelogFile="true"/>
|
||||
</databaseChangeLog>
|
||||
@@ -1,4 +1,9 @@
|
||||
abstracto.featureFlags.youtube.featureName=youtube
|
||||
abstracto.featureFlags.youtube.enabled=false
|
||||
|
||||
abstracto.feature.youtube.apiKey=${YOUTUBE_API_KEY}
|
||||
abstracto.featureFlags.urban.featureName=urban
|
||||
abstracto.featureFlags.urban.enabled=false
|
||||
|
||||
abstracto.feature.youtube.apiKey=${YOUTUBE_API_KEY}
|
||||
|
||||
abstracto.feature.webservices.urban.requestURL=https://api.urbandictionary.com/v0/define?term=%s
|
||||
Reference in New Issue
Block a user