Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 05 13:49
    Eleuterioxz starred Erudika/para
  • Nov 30 08:26
    albogdano opened #19
  • Nov 30 08:26

    albogdano on snyk-upgrade-23e635683f07ed5f22fcc1e9f98835ac

    fix: upgrade org.xerial:sqlite-… (compare)

  • Nov 30 08:26

    albogdano on snyk-upgrade-23e635683f07ed5f22fcc1e9f98835ac

    (compare)

  • Nov 25 23:17
    snyk-bot opened #185
  • Nov 25 23:17

    albogdano on snyk-upgrade-e70997dd685495c041c9b3777156c139

    (compare)

  • Nov 25 23:17

    albogdano on snyk-upgrade-e70997dd685495c041c9b3777156c139

    fix: upgrade org.apache.httpcom… (compare)

  • Nov 19 06:56
    albogdano opened #18
  • Nov 19 06:56

    albogdano on snyk-upgrade-d86323266472e9a65618e9499b6a44a1

    fix: upgrade com.erudika:para-c… (compare)

  • Nov 19 06:56

    albogdano on snyk-upgrade-d86323266472e9a65618e9499b6a44a1

    (compare)

  • Nov 18 22:58
    albogdano opened #19
  • Nov 18 22:58

    albogdano on snyk-upgrade-d0cb9c9c8bd3d4f9bf4b08ffe6f7bd27

    fix: upgrade com.erudika:para-c… (compare)

  • Nov 18 22:58

    albogdano on snyk-upgrade-d0cb9c9c8bd3d4f9bf4b08ffe6f7bd27

    (compare)

  • Nov 18 21:56
    albogdano opened #16
  • Nov 18 21:56

    albogdano on snyk-upgrade-55590a60fc9ede9059eb405cd706eadd

    fix: upgrade com.erudika:para-c… (compare)

  • Nov 18 21:56

    albogdano on snyk-upgrade-55590a60fc9ede9059eb405cd706eadd

    (compare)

  • Nov 18 21:02
    snyk-bot opened #35
  • Nov 18 21:02

    albogdano on snyk-upgrade-351d52720fda8450d10b6053b107945e

    fix: upgrade com.erudika:para-c… (compare)

  • Nov 18 21:02

    albogdano on snyk-upgrade-351d52720fda8450d10b6053b107945e

    (compare)

  • Nov 18 17:19
    snyk-bot opened #14
Alex Bogdanovski
@albogdano
yes, absolutely - the /v1/_export API will export everything
you need to call it for each app you need to get data out of
mason-c-web
@mason-c-web
ah i missed that.Thanks thats perf!
Alex Bogdanovski
@albogdano
@mason-c-web I will also add this functionality to the Para CLI tool when I have the time. That should make it much easier
mason-c-web
@mason-c-web
Maybe silly question: When enrolled in the para service, you can cancel at any time yeah? Would that look like deleting your account/data then?
Alex Bogdanovski
@albogdano
@mason-c-web absolutely. the data can be exported from your app's page. all apps and data will be completely deleted when the account is deleted but not when you cancel the subscription. if you just cancel you can keep the data for 2 weeks but the apps status will be 'inactive'.
mason-c-web
@mason-c-web
Question: How much space should i estimate per item in the DB for Para? My current assumption is 1kb is more than enough if its just text based.
Alex Bogdanovski
@albogdano
@mason-c-web correct - 1-2kb is the average item size. Keep in mind that the same item is replicate in the search index so the total size on disk would be double that.
Ghost
@ghost~611eae376da03739848387d6
Hello I'm new to Para. I am trying out the Para features by writing a simple spring boot app to create users etc. I tried creating using the Java Client API. I used the User object, set the name, appid, email and password. When I did paraclient.createObject() it said identifier has to be set. I am trying to understand what that identifier is. After that I set the identifier to "email". However it has created a sysprop in the name email. I am unable to understand the relation.
Alex Bogdanovski
@albogdano
@rprabhu Hi Prabhu and welcome to the chat!
Ghost
@ghost~611eae376da03739848387d6
Hi @albogdano, thank you!
Alex Bogdanovski
@albogdano
try setting the identifier field to the user's email address
Ghost
@ghost~611eae376da03739848387d6
the documentation is not clear about how the sysprop works and why the identifier field is mandatory.
Alex Bogdanovski
@albogdano
...or you can use the method paraClient.signIn("password", "email:name:password") to create users automatically
user objects are not meant to be created manually, usually they are created by Para for you
Ghost
@ghost~611eae376da03739848387d6
In that case, I have to create groups of users and assign different users to different user groups. how can this be achieved?
Alex Bogdanovski
@albogdano
you can create objects of type group and then assign each user to that group by setting the parentid field of that user to point to the id of the group objects
Ghost
@ghost~611eae376da03739848387d6
Is there any separate documentation or the Javadocs for all these details? I don't see it in the docs or am I looking at the wrong place?
Alex Bogdanovski
@albogdano
yes, the docs and Javadocs are here http://paraio.org/docs/#003-maven
Ghost
@ghost~611eae376da03739848387d6
Thank you @albogdano will take a look and get back to you if there are any questions. Thanks for the quick response!
Alex Bogdanovski
@albogdano
you are welcome!
rakurakupg
@rakurakupg

Hello! I try to run para-jar with MySQL with following configuration but It looks to run with H2DB.

para.env = "development"
para.sql.driver = "com.mysql.jdbc.Driver"
para.sql.url = "mysql://127.0.0.1:3306/para_qa"
para.sql.user = "test"
para.sql.password = "test"
para.dao = "SqlDAO"

This is mvn command to run para-jar.

./mvnw -Dconfig.file=../application.conf spring-boot:run

And following console log is displayed.

[INFO] Attaching agents: []

    ____  ___ _ ____ ___ _ 
    / __ \/ __` / ___/ __` /
    / /_/ / /_/ / /  / /_/ / 
/ .___/\__,_/_/   \__,_/  v1.40.0
/_/                        

2021-09-05 14:20:45 [INFO ] --- Para.initialize() [production] ---
2021-09-05 14:20:45 [INFO ] Loaded new DAO, Search and Cache implementations - H2DAO, LuceneSearch and CaffeineCache.
2021-09-05 14:20:46 [WARN ] Server is unhealthy - root app not found. Open http://localhost:8080/v1/_setup in the browser to initialize Para.

Is there anything what I have to configure to run para with MySQL ?

Alex Bogdanovski
@albogdano
@rakurakupg try creating a table called para with URL of mysql://127.0.0.1:3306/para
@rakurakupg also in the log it says that SqlDAO is not actually loaded and Para starts with the default H2DAO. Make sure the configuration is loaded by specifying the full path to the application.conf file
rakurakupg
@rakurakupg

@albogdano, Thank you for advice , but it's not work for me.

I wonder why I get log message Para.initialize() [production] even though I set para.env=development in config file.
I try another command like below.

./mvnw -Pbase clean package spring-boot:repackage && java -Dconfig.file=/Users/.../para/application.conf -jar target/para-1.40.0.jar 

Then I got following log.

[INFO] ------------------------------------------------------------------------

    ____  ___ _ ____ ___ _ 
    / __ \/ __` / ___/ __` /
    / /_/ / /_/ / /  / /_/ / 
/ .___/\__,_/_/   \__,_/  v1.40.0
/_/                        

2021-09-05 20:59:56 [INFO ] --- Para.initialize() [development] ---
2021-09-05 20:59:56 [INFO ] Loaded new DAO, Search and Cache implementations - MockDAO, MockSearch and CaffeineCache.
2021-09-05 20:59:57 [WARN ] Server is unhealthy - root app not found. Open http://localhost:8080/v1/_setup in the browser to initialize Para.

It seems para-jar is loading correct application.conf but It looks loading MockDAO instead of MySQL .
I checked mysql schema but I can't find any tables generated by application.

I tested both absolute path and relative path for -Dconfig.file parameter but nothing has changed.
In any case do we get MockDAO in console log ?

Alex Bogdanovski
@albogdano
@rakurakupg the correct command is ./mvnw clean package && java -jar -Dconfig.file=/Users/.../para/application.conf target/para-1.40.0.jar
rakurakupg
@rakurakupg
It can work with command in your last post . Thank you ~
Lemon
@liuguangmao
How can I manage the data
Alex Bogdanovski
@albogdano
Lemon
@liuguangmao
Ok thanks
Alex Bogdanovski
@albogdano
there's also npm i -g para-cli
Lemon
@liuguangmao
OK I'll try
Thank u
Alex Bogdanovski
@albogdano
you're welcome!
Rob Bell
@admin82_gitlab
Hi all—just wondering if anyone's had any experience of running Para in Kubernetes?
Alex Bogdanovski
@albogdano
@admin82_gitlab Hi Rob! I don't have much experience with K8 but there's a Helm chart you could use to get started - https://github.com/Erudika/scoold/tree/master/helm
Rob Bell
@admin82_gitlab
Hi @albogdano—is this chart just for the Scoold side of things? I have this up and running on my cluster and I'm currently connecting to a free tier of the Para managed service
I'm looking to get Para itself up and running on K8s so I don't need to reach out to the managed version
Alex Bogdanovski
@albogdano
Yes, the Helm chart is just for Scoold
I might add Para as another pod in the chart soon
Rob Bell
@admin82_gitlab
that would really help us out
Alex Bogdanovski
@albogdano
Both applications are very similar and based on Spring Boot. Perhaps you could just copy the Helm chart and update the container image to load erudikaltd/para:latest_stable instead of Scoold
Rob Bell
@admin82_gitlab
I was just thinking the same thing. I don't know much about Para and what other config and connection setup would be required if I were to roll them into a single chart, but I'll have a go at running Para on its own first
Rob Bell
@admin82_gitlab
Any pointers on how to get connection details for the para instance once it's deployed?
Alex Bogdanovski
@albogdano
@admin82_gitlab Para is deployed on port 8080 by default. the hostname is localhost.
I you use the histed service, the hostname is https://paraio.com
Rob Bell
@admin82_gitlab
I'm using an instance deployed to my cluster, but how do I get the key and secret once it's up and running? Do I need to manually create a database too?
Alex Bogdanovski
@albogdano
Rob Bell
@admin82_gitlab
So my pod should be provisioned with a Para container with a /para/data folder and an empty application.conf in /para?