The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
Introduce packer support (#18) cleanups and fixes, packer is ready to roll add errorApi endpoint initialize mitmproxy dependencies packer deployments finally working fix virtualenv call for ubuntu 20.04 WIP. update to ubuntu 20.04. fixing algo installation WIP. packer fixes remove unused constant WIP. packer basics working for ec2 Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer remove automation dir, all moved to resources log pg autovacuum if longer than 250ms touch install marker for algo set mitmproxy as owner of all mitmproxy files add hostname to packer image name avoid closing progress meter prematurely WIP. parallelize node startup, fix packer bugs clarify docs add missing vars, algo tweaks add missing vars, update algo hash WIP. improving algo/mitmproxy packer stuff install packer for sage, call packer from proper location Use compute driver to get regions improve comments wait longer before polling new vultr server, avoid spurious ok status unquote simple filenames WIP. Use packer key, no more instance ssh key. Change API installation. Simplify packer/ansible. rename bubble_finalizer to just finalizer, remove default_roles filter servers/images based on installType for now, consider packer image OK if bubble version matches add algo/mitm roles to packer. add installType to BubbleNode fix NODE_ROLES file templatize packer file and playbook, use same template for sage and node WIP: refactor addAllRegions WIP: do not re-create identical images WIP: packer build for vultr now working Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer WIP. working on vultr packer builds WIP: packer image creation working for digitalocean WIP: packer basics working for digitalocean add packer endpoints, introduce packer support to cloud compute drivers remove roles endpoints AnsibleRole is no longer an model entity. Introduce Packer. Merge branch 'sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Add instance count to script Co-authored-by: Jonathan Cobb <jonathan@kyuss.org> Co-authored-by: Svitlana <sfedoriv@itekako.com> Reviewed-on: https://git.bubblev.org/bubblev/bubble/pulls/18
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
Introduce packer support (#18) cleanups and fixes, packer is ready to roll add errorApi endpoint initialize mitmproxy dependencies packer deployments finally working fix virtualenv call for ubuntu 20.04 WIP. update to ubuntu 20.04. fixing algo installation WIP. packer fixes remove unused constant WIP. packer basics working for ec2 Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer remove automation dir, all moved to resources log pg autovacuum if longer than 250ms touch install marker for algo set mitmproxy as owner of all mitmproxy files add hostname to packer image name avoid closing progress meter prematurely WIP. parallelize node startup, fix packer bugs clarify docs add missing vars, algo tweaks add missing vars, update algo hash WIP. improving algo/mitmproxy packer stuff install packer for sage, call packer from proper location Use compute driver to get regions improve comments wait longer before polling new vultr server, avoid spurious ok status unquote simple filenames WIP. Use packer key, no more instance ssh key. Change API installation. Simplify packer/ansible. rename bubble_finalizer to just finalizer, remove default_roles filter servers/images based on installType for now, consider packer image OK if bubble version matches add algo/mitm roles to packer. add installType to BubbleNode fix NODE_ROLES file templatize packer file and playbook, use same template for sage and node WIP: refactor addAllRegions WIP: do not re-create identical images WIP: packer build for vultr now working Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer WIP. working on vultr packer builds WIP: packer image creation working for digitalocean WIP: packer basics working for digitalocean add packer endpoints, introduce packer support to cloud compute drivers remove roles endpoints AnsibleRole is no longer an model entity. Introduce Packer. Merge branch 'sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Add instance count to script Co-authored-by: Jonathan Cobb <jonathan@kyuss.org> Co-authored-by: Svitlana <sfedoriv@itekako.com> Reviewed-on: https://git.bubblev.org/bubblev/bubble/pulls/18
4 anos atrás
4 anos atrás
4 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ -->
  3. <project xmlns="http://maven.apache.org/POM/4.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <parent>
  8. <groupId>bubble</groupId>
  9. <artifactId>bubble</artifactId>
  10. <version>1.0.0-SNAPSHOT</version>
  11. </parent>
  12. <artifactId>bubble-server</artifactId>
  13. <version>1.0.0-SNAPSHOT</version>
  14. <repositories>
  15. <repository>
  16. <id>jitpack.io</id>
  17. <url>https://jitpack.io</url>
  18. </repository>
  19. </repositories>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.cobbzilla</groupId>
  23. <artifactId>wizard-server</artifactId>
  24. <version>1.0.0-SNAPSHOT</version>
  25. <exclusions>
  26. <!-- need to bump version to latest, then refactor AbstractElasticSearchDAO -->
  27. <exclusion>
  28. <groupId>org.elasticsearch</groupId>
  29. <artifactId>elasticsearch</artifactId>
  30. </exclusion>
  31. </exclusions>
  32. </dependency>
  33. <dependency>
  34. <groupId>bubble</groupId>
  35. <artifactId>abp-parser</artifactId>
  36. <version>1.0.0-SNAPSHOT</version>
  37. </dependency>
  38. <!-- RDBMS persistence -->
  39. <dependency>
  40. <groupId>org.hibernate</groupId>
  41. <artifactId>hibernate-core</artifactId>
  42. <version>${hibernate.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.javassist</groupId>
  46. <artifactId>javassist</artifactId>
  47. <version>${javassist.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>cglib</groupId>
  51. <artifactId>cglib</artifactId>
  52. <version>${cglib.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>${jdbcDriver.postgres.groupId}</groupId>
  56. <artifactId>${jdbcDriver.postgres.artifactId}</artifactId>
  57. <version>${jdbcDriver.postgres.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.cobbzilla</groupId>
  61. <artifactId>templated-mail-sender</artifactId>
  62. <version>1.0.0-SNAPSHOT</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.glassfish.grizzly</groupId>
  66. <artifactId>grizzly-http</artifactId>
  67. <version>${grizzly.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.glassfish.grizzly</groupId>
  71. <artifactId>grizzly-http-server</artifactId>
  72. <version>${grizzly.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.glassfish.grizzly</groupId>
  76. <artifactId>grizzly-http-servlet</artifactId>
  77. <version>${grizzly.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.glassfish.grizzly</groupId>
  81. <artifactId>grizzly-framework-monitoring</artifactId>
  82. <version>${grizzly.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.glassfish.grizzly</groupId>
  86. <artifactId>grizzly-http-monitoring</artifactId>
  87. <version>${grizzly.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.glassfish.grizzly</groupId>
  91. <artifactId>grizzly-http-server-monitoring</artifactId>
  92. <version>${grizzly.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.eclipse.jetty</groupId>
  96. <artifactId>jetty-proxy</artifactId>
  97. <version>${jetty.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.amazonaws</groupId>
  101. <artifactId>aws-java-sdk-ec2</artifactId>
  102. <version>1.11.800</version>
  103. </dependency>
  104. <!--&lt;!&ndash; https://mvnrepository.com/artifact/org.atmosphere/atmosphere-jersey &ndash;&gt;-->
  105. <!--<dependency>-->
  106. <!--<groupId>org.atmosphere</groupId>-->
  107. <!--<artifactId>atmosphere-jersey</artifactId>-->
  108. <!--<version>2.5.4</version>-->
  109. <!--</dependency>-->
  110. <!--<dependency>-->
  111. <!--<groupId>org.atmosphere</groupId>-->
  112. <!--<artifactId>atmosphere-runtime</artifactId>-->
  113. <!--<version>2.5.4</version>-->
  114. <!--</dependency>-->
  115. <!--<dependency>-->
  116. <!--<groupId>org.glassfish.jersey.containers</groupId>-->
  117. <!--<artifactId>jersey-container-servlet</artifactId>-->
  118. <!--<version>2.29</version>-->
  119. <!--</dependency>-->
  120. <!--&lt;!&ndash; https://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-servlet_3.0_spec &ndash;&gt;-->
  121. <!--<dependency>-->
  122. <!--<groupId>org.apache.geronimo.specs</groupId>-->
  123. <!--<artifactId>geronimo-servlet_3.0_spec</artifactId>-->
  124. <!--<version>1.0</version>-->
  125. <!--<scope>provided</scope>-->
  126. <!--</dependency>-->
  127. <!--<dependency>-->
  128. <!--<groupId>org.atmosphere.client</groupId>-->
  129. <!--<artifactId>javascript</artifactId>-->
  130. <!--<version>2.3.9</version>-->
  131. <!--<type>war</type>-->
  132. <!--</dependency>-->
  133. <dependency>
  134. <groupId>commons-codec</groupId>
  135. <artifactId>commons-codec</artifactId>
  136. <version>${commons-codec.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>redis.clients</groupId>
  140. <artifactId>jedis</artifactId>
  141. <version>${jedis.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.maxmind.geoip2</groupId>
  145. <artifactId>geoip2</artifactId>
  146. <version>2.12.0</version>
  147. <exclusions>
  148. <exclusion>
  149. <groupId>org.apache.httpcomponents</groupId>
  150. <artifactId>httpclient</artifactId>
  151. </exclusion>
  152. <exclusion>
  153. <groupId>org.apache.httpcomponents</groupId>
  154. <artifactId>httpclient</artifactId>
  155. </exclusion>
  156. <exclusion>
  157. <groupId>com.fasterxml.jackson.core</groupId>
  158. <artifactId>jackson-databind</artifactId>
  159. </exclusion>
  160. <exclusion>
  161. <groupId>com.fasterxml.jackson.core</groupId>
  162. <artifactId>jackson-core</artifactId>
  163. </exclusion>
  164. <exclusion>
  165. <groupId>com.fasterxml.jackson.core</groupId>
  166. <artifactId>jackson-annotations</artifactId>
  167. </exclusion>
  168. </exclusions>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.warrenstrange</groupId>
  172. <artifactId>googleauth</artifactId>
  173. <version>1.4.0</version>
  174. <exclusions>
  175. <exclusion>
  176. <groupId>org.apache.httpcomponents</groupId>
  177. <artifactId>httpclient</artifactId>
  178. </exclusion>
  179. </exclusions>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.twilio.sdk</groupId>
  183. <artifactId>twilio</artifactId>
  184. <version>7.44.0</version>
  185. <exclusions>
  186. <exclusion>
  187. <groupId>org.apache.httpcomponents</groupId>
  188. <artifactId>httpcore</artifactId>
  189. </exclusion>
  190. <exclusion>
  191. <groupId>org.apache.httpcomponents</groupId>
  192. <artifactId>httpclient</artifactId>
  193. </exclusion>
  194. <exclusion>
  195. <groupId>com.fasterxml.jackson.core</groupId>
  196. <artifactId>jackson-databind</artifactId>
  197. </exclusion>
  198. <exclusion>
  199. <groupId>com.fasterxml.jackson.core</groupId>
  200. <artifactId>jackson-core</artifactId>
  201. </exclusion>
  202. <exclusion>
  203. <groupId>com.fasterxml.jackson.core</groupId>
  204. <artifactId>jackson-annotations</artifactId>
  205. </exclusion>
  206. </exclusions>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.fasterxml.jackson.dataformat</groupId>
  210. <artifactId>jackson-dataformat-cbor</artifactId>
  211. <version>${jackson.version}</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.amazonaws</groupId>
  215. <artifactId>aws-java-sdk-s3</artifactId>
  216. <version>1.11.659</version>
  217. <exclusions>
  218. <exclusion>
  219. <groupId>com.fasterxml.jackson.dataformat</groupId>
  220. <artifactId>jackson-dataformat-cbor</artifactId>
  221. </exclusion>
  222. </exclusions>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.amazonaws</groupId>
  226. <artifactId>aws-java-sdk-route53</artifactId>
  227. <version>1.11.699</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>com.stripe</groupId>
  231. <artifactId>stripe-java</artifactId>
  232. <version>16.2.0</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.cobbzilla</groupId>
  236. <artifactId>restex</artifactId>
  237. <version>1.0.1-SNAPSHOT</version>
  238. <scope>test</scope>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.cobbzilla</groupId>
  242. <artifactId>wizard-server-test</artifactId>
  243. <version>1.0.0-SNAPSHOT</version>
  244. <scope>test</scope>
  245. </dependency>
  246. <dependency>
  247. <groupId>io.swagger</groupId>
  248. <artifactId>swagger-jersey2-jaxrs</artifactId>
  249. <version>1.5.24</version>
  250. <exclusions>
  251. <exclusion>
  252. <groupId>com.fasterxml.jackson.dataformat</groupId>
  253. <artifactId>jackson-dataformat-yaml</artifactId>
  254. </exclusion>
  255. </exclusions>
  256. </dependency>
  257. </dependencies>
  258. <build>
  259. <resources>
  260. <resource>
  261. <directory>src/main/resources</directory>
  262. </resource>
  263. </resources>
  264. <plugins>
  265. <!-- Building the executable uberjar -->
  266. <plugin>
  267. <groupId>org.apache.maven.plugins</groupId>
  268. <artifactId>maven-shade-plugin</artifactId>
  269. <version>2.1</version>
  270. <executions>
  271. <execution>
  272. <phase>package</phase>
  273. <goals><goal>shade</goal></goals>
  274. <configuration>
  275. <transformers>
  276. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  277. <mainClass>bubble.server.BubbleServer</mainClass>
  278. </transformer>
  279. <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  280. <resource>META-INF/spring.handlers</resource>
  281. </transformer>
  282. <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  283. <resource>META-INF/spring.schemas</resource>
  284. </transformer>
  285. <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
  286. </transformers>
  287. <!-- Exclude signed jars to avoid errors
  288. see: http://stackoverflow.com/a/6743609/1251543
  289. -->
  290. <filters>
  291. <filter>
  292. <artifact>*:*</artifact>
  293. <excludes>
  294. <exclude>META-INF/*.SF</exclude>
  295. <exclude>META-INF/*.DSA</exclude>
  296. <exclude>META-INF/*.RSA</exclude>
  297. </excludes>
  298. </filter>
  299. </filters>
  300. </configuration>
  301. </execution>
  302. </executions>
  303. </plugin>
  304. <!-- copy scripts and web ui into jar -->
  305. <plugin>
  306. <groupId>org.codehaus.mojo</groupId>
  307. <artifactId>exec-maven-plugin</artifactId>
  308. <version>1.5.0</version>
  309. <executions>
  310. <execution>
  311. <phase>package</phase>
  312. <goals>
  313. <goal>exec</goal>
  314. </goals>
  315. <configuration>
  316. <executable>${project.basedir}/../bin/prep_bubble_jar</executable>
  317. </configuration>
  318. </execution>
  319. </executions>
  320. </plugin>
  321. </plugins>
  322. </build>
  323. </project>