Re: [google-appengine] Re: dispatch.yaml not routing

2022-03-17 Thread 'Rajesh G' via Google App Engine
I am further continuing to explore deploying a gatsby project to appengine

I created an appengine service called 'gatsby', and I want to serve in the
following manner
https://bgsample.appspot.com/gatsby


app.yaml: gatsby-standard folder in the github:
https://github.com/rajesh99/bgsample


runtime: nodejs14
service: gatsby

handlers:
- url: /gatbsy
  static_files: public/index.html
  upload: public/index.html
- url: /gatsby/
  static_files: public/index.html
  upload: public/index.html
- url: /gatsby/(.*)
  static_files: public/\1
  upload: public/(.*)


The main project: default-standard folder in the github:
https://github.com/rajesh99/bgsample

dispatch.yaml
dispatch:
  # Send all listing traffic to the listing frontend.
- url: "*/prolisting/*"
  service: prolisting
- url: "*/prolisting"
  service: prolisting
- url: "*/gatsby/*"
  service: gatsby
- url: "*/gatsby"
  service: gatsby


There are two issues
1st issue:
https://bgsample.appspot.com/gatsby/

- this works
https://bgsample.appspot.com/gatsby

- this does not work - why?

2nd issue:
https://bgsample.appspot.com/gatsby/

- Then click on 'A' link it works.
Now you do refresh, it does not work.  Following displays on the browser
"Error: Not Found
The requested URL /gatsby/a/ was not found on this server."

I used the following reference to serve gatsby static files
https://github.com/gatsbyjs/gatsby/issues/22711


I have to say, I did not understand some parts of the app.yaml file.

Appreciate any help.

Cheers.

On Tue, Mar 15, 2022 at 4:11 PM Rajesh G 
wrote:

> Ok.  It works now.  Thanks
>
> On Mon, Mar 14, 2022 at 9:35 PM 'Jofre Riba Sánchez' via Google App Engine
>  wrote:
>
>> Your app.js in the prolisting folder of the example repo does not have a
>> handler for the /prolisting path. This is why express can't get the
>> /prolisting [1].
>>
>> Fix this by adding an additional handler for the path in app.js:
>>
>> app.get('/prolisting', (req, res) => {
>> res.status(200).send('Hello, world prolisting!').end();
>> });
>>
>> Note that when you dispatch with a path (i.e. /prolisting), the path is
>> kept when calling the dispatched service. The dispatch rules do not remove
>> the path.
>>
>> [1] https://expressjs.com/en/guide/routing.html
>> On Saturday, March 12, 2022 at 7:43:46 AM UTC+1
>> rajesh...@veersoftsolutions.com wrote:
>>
>>> Hi,
>>> I created two simple services based on nodejs and hello-world sample.
>>>
>>> I am trying to explore dispatch.yaml
>>> My dispatch.yaml.
>>> dispatch:
>>>   # Send all listing traffic to the listing frontend.
>>> - url: "*/prolisting/*"
>>>   service: prolisting
>>> - url: "*/prolisting"
>>>   service: prolisting
>>> - url: "*/*"
>>>   service: default
>>>
>>>
>>> 'prolisting' service app.yaml
>>> runtime: nodejs14
>>> service: prolisting
>>>
>>> default service app.yaml
>>> runtime: nodejs14
>>>
>>> I have uploaded to bgsample.appspot.com.
>>> The default works: bgsample.appspot.com
>>> The prolisting also works:
>>> https://prolisting-dot-bgsample.uc.r.appspot.com
>>>
>>> However, the following URL does not work
>>> https://bgsample.appspot.com/prolisting
>>>
>>> As per the dispatch.yaml, it should route to prolisting service, but
>>> gives the following error
>>> Cannot GET /prolisting
>>>
>>> my repo:
>>> https://github.com/rajesh99/bgsample
>>>
>>> Cheers,
>>>
>>> --
>>> Support Team
>>> www.servicefolder.com
>>> *Field Service Software on Google Cloud Platform and Mobile*
>>>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-appengine/d77d5b82-4bcb-43ac-821f-91454007a310n%40googlegroups.com
>> 

Re: [google-appengine] Re: dispatch.yaml not routing

2022-03-15 Thread 'Rajesh G' via Google App Engine
Ok.  It works now.  Thanks

On Mon, Mar 14, 2022 at 9:35 PM 'Jofre Riba Sánchez' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Your app.js in the prolisting folder of the example repo does not have a
> handler for the /prolisting path. This is why express can't get the
> /prolisting [1].
>
> Fix this by adding an additional handler for the path in app.js:
>
> app.get('/prolisting', (req, res) => {
> res.status(200).send('Hello, world prolisting!').end();
> });
>
> Note that when you dispatch with a path (i.e. /prolisting), the path is
> kept when calling the dispatched service. The dispatch rules do not remove
> the path.
>
> [1] https://expressjs.com/en/guide/routing.html
> On Saturday, March 12, 2022 at 7:43:46 AM UTC+1
> rajesh...@veersoftsolutions.com wrote:
>
>> Hi,
>> I created two simple services based on nodejs and hello-world sample.
>>
>> I am trying to explore dispatch.yaml
>> My dispatch.yaml.
>> dispatch:
>>   # Send all listing traffic to the listing frontend.
>> - url: "*/prolisting/*"
>>   service: prolisting
>> - url: "*/prolisting"
>>   service: prolisting
>> - url: "*/*"
>>   service: default
>>
>>
>> 'prolisting' service app.yaml
>> runtime: nodejs14
>> service: prolisting
>>
>> default service app.yaml
>> runtime: nodejs14
>>
>> I have uploaded to bgsample.appspot.com.
>> The default works: bgsample.appspot.com
>> The prolisting also works:
>> https://prolisting-dot-bgsample.uc.r.appspot.com
>>
>> However, the following URL does not work
>> https://bgsample.appspot.com/prolisting
>>
>> As per the dispatch.yaml, it should route to prolisting service, but
>> gives the following error
>> Cannot GET /prolisting
>>
>> my repo:
>> https://github.com/rajesh99/bgsample
>>
>> Cheers,
>>
>> --
>> Support Team
>> www.servicefolder.com
>> *Field Service Software on Google Cloud Platform and Mobile*
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/d77d5b82-4bcb-43ac-821f-91454007a310n%40googlegroups.com
> 
> .
>


-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZ-8UA%3DuD%3DkyCtfzJRN7YiuhUyLLe8uK0gScMufcO%3D52A%40mail.gmail.com.


[google-appengine] dispatch.yaml not routing

2022-03-11 Thread 'Rajesh G' via Google App Engine
Hi,
I created two simple services based on nodejs and hello-world sample.

I am trying to explore dispatch.yaml
My dispatch.yaml.
dispatch:
  # Send all listing traffic to the listing frontend.
- url: "*/prolisting/*"
  service: prolisting
- url: "*/prolisting"
  service: prolisting
- url: "*/*"
  service: default


'prolisting' service app.yaml
runtime: nodejs14
service: prolisting

default service app.yaml
runtime: nodejs14

I have uploaded to bgsample.appspot.com.
The default works: bgsample.appspot.com
The prolisting also works: https://prolisting-dot-bgsample.uc.r.appspot.com


However, the following URL does not work
https://bgsample.appspot.com/prolisting



As per the dispatch.yaml, it should route to prolisting service, but gives
the following error
Cannot GET /prolisting

my repo:
https://github.com/rajesh99/bgsample


Cheers,

--
Support Team
www.servicefolder.com

*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ija6eL3PLsg6VntqNy41eObyvst%3Dmah9RUKgUjRXx3ytqQ%40mail.gmail.com.


[google-appengine] HttpTaskHandler payload is empty

2022-03-30 Thread 'Rajesh G' via Google App Engine
Hi, I am following
https://github.com/googleapis/nodejs-tasks/tree/main/samples


I have deployed the above to a remote server.

server.js - I am using /log_payload to test as both an appengineTaskHandler
and HttpTaskHandler

If I am using it as an AppengineTaskHandler from createTask.js - It is all
fine.

If I am using  'xyz.appspot.com/log_payload' as a url in HttpTaskHandler
example - createHttpTask.js, then the payload is coming as empty.

-- 
Support Team
www.servicefolder.com

*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZm4i4M1u%2BUdCKS-Lj5CiBxovaBmfhOfQ-qLkFG71Oayw%40mail.gmail.com.


Re: [google-appengine] Re: dispatch.yaml not routing

2022-03-21 Thread 'Rajesh G' via Google App Engine
FYI,
I explored gatsby-express-plugin
It does not have the above two issues.

Please see  bgsample.appspot.com/gatsby-express


See the corresponding github repository:
https://github.com/rajesh99/bgsample


Rajesh
www.servicefolder.com

*Field Service Software on Google Cloud Platform and Mobile*




On Thu, Mar 17, 2022 at 6:48 PM Rajesh G 
wrote:

> I am further continuing to explore deploying a gatsby project to appengine
>
> I created an appengine service called 'gatsby', and I want to serve in the
> following manner
> https://bgsample.appspot.com/gatsby
> 
>
> app.yaml: gatsby-standard folder in the github:
> https://github.com/rajesh99/bgsample
> 
>
> runtime: nodejs14
> service: gatsby
>
> handlers:
> - url: /gatbsy
>   static_files: public/index.html
>   upload: public/index.html
> - url: /gatsby/
>   static_files: public/index.html
>   upload: public/index.html
> - url: /gatsby/(.*)
>   static_files: public/\1
>   upload: public/(.*)
>
>
> The main project: default-standard folder in the github:
> https://github.com/rajesh99/bgsample
> 
> dispatch.yaml
> dispatch:
>   # Send all listing traffic to the listing frontend.
> - url: "*/prolisting/*"
>   service: prolisting
> - url: "*/prolisting"
>   service: prolisting
> - url: "*/gatsby/*"
>   service: gatsby
> - url: "*/gatsby"
>   service: gatsby
>
>
> There are two issues
> 1st issue:
> https://bgsample.appspot.com/gatsby/
> 
> - this works
> https://bgsample.appspot.com/gatsby
> 
> - this does not work - why?
>
> 2nd issue:
> https://bgsample.appspot.com/gatsby/
> 
> - Then click on 'A' link it works.
> Now you do refresh, it does not work.  Following displays on the browser
> "Error: Not Found
> The requested URL /gatsby/a/ was not found on this server."
>
> I used the following reference to serve gatsby static files
> https://github.com/gatsbyjs/gatsby/issues/22711
> 
>
> I have to say, I did not understand some parts of the app.yaml file.
>
> Appreciate any help.
>
> Cheers.
>
> [image: image.gif]
> On Tue, Mar 15, 2022 at 4:11 PM Rajesh G <
> rajesh.gu...@veersoftsolutions.com> wrote:
>
>> Ok.  It works now.  Thanks
>>
>> [image: image.gif]
>> On Mon, Mar 14, 2022 at 9:35 PM 'Jofre Riba Sánchez' via Google App
>> Engine  wrote:
>>
>>> Your app.js in the prolisting folder of the example repo does not have a
>>> handler for the /prolisting path. This is why express can't get the
>>> /prolisting [1].
>>>
>>> Fix this by adding an additional handler for the path in app.js:
>>>
>>> app.get('/prolisting', (req, res) => {
>>> res.status(200).send('Hello, world prolisting!').end();
>>> });
>>>
>>> Note that when you dispatch with a path (i.e. /prolisting), the path is
>>> kept when calling the dispatched service. The dispatch rules do not remove
>>> the path.
>>>
>>> [1] https://expressjs.com/en/guide/routing.html
>>> 
>>> On Saturday, March 12, 2022 at 7:43:46 AM UTC+1
>>> rajesh...@veersoftsolutions.com wrote:
>>>
 Hi,
 I created two simple services based on nodejs and hello-world sample.

 I am trying to explore dispatch.yaml
 My dispatch.yaml.
 dispatch:
   # Send all listing traffic to the listing frontend.
 - url: "*/prolisting/*"
   service: prolisting
 - url: "*/prolisting"
   service: prolisting
 - url: "*/*"
   

[google-appengine] 50k pages hosting on nodejs appengine

2022-03-25 Thread 'Rajesh G' via Google App Engine
Hello,

I am planning to host 50k statically generated pages on nodejs appengine.
The pages are generated using gatsby.

Will it affect the performance of the server?  Can it be hosted on the F1
instance?

-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijbVaYg6%2BEXSvctRc0pz0n_KXPf9VovxfrpyKP8%3DmA766Q%40mail.gmail.com.


Re: [google-appengine] 50k pages hosting on nodejs appengine

2022-04-06 Thread 'Rajesh G' via Google App Engine
I am using the concept of services in appengine to put all my services
together in one website

Can I use other clouds for serving static files and configure dispatch.yaml
to be routed to other clouds

For example, one of the suggestions is to use Cloudflare and another option
is to use cloudstorage for serving static files.

I have a website already with domain and running on appengine. Lets say "
www.abc.com."
Now, I am expanding and building a business directory and want to serve
static files.  These should be served as "www.abc.com/listing"

With appengine, I can have 'listing' as another service and configure the
routing in dispatch.yaml to be serving with "www.abc.com/listing"

Question: can I use cloudstorage as a cdn for the static files and then do
routing configuration in dispatch.yaml ?

Cheers
www.servicefolder.com
<https://mailtrack.io/trace/link/7d595decee3a61ebc2556698b1cfa17db9fbc1aa?url=https%3A%2F%2Fwww.servicefolder.com%2F=6615365=900a9d29d60abac1>
*Field Service Software on Google Cloud Platform and Mobile*



On Mon, Mar 28, 2022 at 4:53 PM Nickolas Daskalou  wrote:

> App Engine is great if you actually have a dynamic backend, but if you're
> only serving static files, try Cloudflare Pages
> <https://mailtrack.io/trace/link/c6d96369d3e13a39cc80df5c21a86e1b188daa2d?url=https%3A%2F%2Fpages.cloudflare.com%2F=6615365=cf191d80fdabc29e>.
> Dead simple to deploy and update vit Git, and cheap!
>
> There's a 20,000 file limit per site, however this appears to be a soft
> limit (and you can always contact Cloudflare to see if they can lift this
> restriction for your site). Or if possible split your files up into
> multiple sites.
>
> I wrestled with Google Cloud's CDN years ago and it was incredibly sub-par
> for a CDN, so looked for alternatives (and Cloudflare Pages was the pick of
> them).
>
> Nick
>
>
> On Fri, 25 Mar 2022 at 18:58, 'Rajesh G' via Google App Engine <
> google-appengine@googlegroups.com> wrote:
>
>> Hello,
>>
>> I am planning to host 50k statically generated pages on nodejs
>> appengine.  The pages are generated using gatsby.
>>
>> Will it affect the performance of the server?  Can it be hosted on the F1
>> instance?
>>
>> --
>> Support Team
>> www.servicefolder.com
>> <https://mailtrack.io/trace/link/60e83469e5731cbd9d0cc4a5143a71ef9b99a180?url=https%3A%2F%2Fwww.servicefolder.com=6615365=38f5cdb96e25fda3>
>> *Field Service Software on Google Cloud Platform and Mobile*
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijbVaYg6%2BEXSvctRc0pz0n_KXPf9VovxfrpyKP8%3DmA766Q%40mail.gmail.com
>> <https://mailtrack.io/trace/link/df31e8feaa9c77947e593683392e7987fe8703a4?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fgoogle-appengine%2FCA%252BS7ijbVaYg6%252BEXSvctRc0pz0n_KXPf9VovxfrpyKP8%253DmA766Q%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter=6615365=cfc255ec8fb2c399>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/CAOj3zuDHOUxeZNsx%3DL6oQ6yJ8WyEoYdhku_85%2BGs1z_rjKDHmA%40mail.gmail.com
> <https://mailtrack.io/trace/link/349b936f1b08b2a926aadeb0bcef3368ea1aa902?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fgoogle-appengine%2FCAOj3zuDHOUxeZNsx%253DL6oQ6yJ8WyEoYdhku_85%252BGs1z_rjKDHmA%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter=6615365=75635119eba96c04>
> .
>


-- 
Support Team
www.servicefolder.com
<https://mailtrack.io/trace/link/788fe2ca2bf861be273687050fabe935715d77d7?url=https%3A%2F%2Fwww.servicefolder.com=6615365=44aad45ecf429a1e>
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijahKjosLV0y7eNOfx8mdefi-JBDHROapFOtXZZSrk4h4g%40mail.gmail.com.


Re: [google-appengine] Re: hot reload: mvn google cloud sdk

2022-04-21 Thread 'Rajesh G' via Google App Engine
mvn war:exploded did not work.

However, mvn compile is working now and the server will restart. It did not
when I tried earlier.

Cheers

On Thu, Apr 21, 2022 at 12:56 AM 'Rogelio Monter Rodriguez' via Google App
Engine  wrote:

> As stated in the app-maven-plugin User guide
> <https://github.com/GoogleCloudPlatform/app-maven-plugin/blob/master/USER_GUIDE.md#how-do-i-enable-automatic-reload-of-my-application>
> :
>
> To enable automatic reload of an application, you must tell the Dev
> App Server to scan for changes :
>
> 
>
>   true
>
> 
>
> While your app is running, just run mvn war:exploded to reflect your
> changes into the running application.
>
> On Wednesday, April 20, 2022 at 4:51:47 AM UTC-5 ludovic.c...@gmail.com
> wrote:
>
>> Hi,
>> Try to follow the doc at:
>>
>> https://cloud.google.com/appengine/docs/standard/java/maven-reference#appenginerun
>> Especially the config for the Pom.xml file to put the classes in the
>> correct folder.
>>
>> Thanks
>>
>>
>> On Tue, Apr 19, 2022 at 8:43 PM 'Rajesh G' via Google App Engine <
>> google-a...@googlegroups.com> wrote:
>>
>>> Hi, any ideas on how to make the hot reload work
>>>
>>> Thanks
>>>
>>> On Sat, Apr 16, 2022 at 5:20 PM Rajesh G <
>>> rajesh...@veersoftsolutions.com> wrote:
>>>
>>>> Hello,
>>>> I have created a simple java appengine using maven archetypes.
>>>> I am not using eclipse (because I don't have eclipse in windows wsl2.)
>>>>
>>>> I run the server using
>>>> mvn appengine:run
>>>>
>>>> Then I do simple changes to a servlet. Then another window, I run
>>>> mvn:compile.  It compiles into the target/snapshot folder
>>>>
>>>> However, I am not seeing the changes on the server.  The latest servlet
>>>> changes is not reflected
>>>>
>>>> I tried the following settings also in the pom.xml file.  The server is
>>>> not restarted
>>>>
>>>> 
>>>>   true
>>>> 
>>>>
>>>>
>>>> --
>>>> Support Team
>>>> www.servicefolder.com
>>>> *Field Service Software on Google Cloud Platform and Mobile*
>>>>
>>>>
>>>>
>>>
>>> --
>>> Support Team
>>> www.servicefolder.com
>>> *Field Service Software on Google Cloud Platform and Mobile*
>>>
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Google App Engine" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/google-appengine/5XT9ASv7iM4/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-appengi...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaEYSV83h6rvK-NDF8bpTw%3Dx31cSrtzmZExufXu%3DP%3DqzQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaEYSV83h6rvK-NDF8bpTw%3Dx31cSrtzmZExufXu%3DP%3DqzQ%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/d4855b59-c9d5-4eab-9678-ac19094529afn%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/d4855b59-c9d5-4eab-9678-ac19094529afn%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaOH8OUfy-bkE4j09LvbTOOENGTrYvVPc_DpSAxOXeAtQ%40mail.gmail.com.


Re: [google-appengine] Re: hot reload: mvn google cloud sdk

2022-04-21 Thread 'Rajesh G' via Google App Engine
If you dont' use IDE  like eclipse or netbeans (it is not available on
windows 11 wsl2 env)
Use mvn compile.
It is working for me now on windows 11.  I will try on wsl2 later.

On Sat, Apr 16, 2022 at 10:20 PM Ludovic Champenois <
ludovic.champen...@gmail.com> wrote:

> Hi,
> Almost there,  I think you are missing this critical line in your pom.xml:
> 
>
> target/${project.artifactId}-${project.version}/WEB-INF/classes
> 
> ...
>
> This way, the compile on save is put the changed class in the correct web
> app location.
> At least, I tested it in NetBeans and it works great as NetBeans can do
> compile automatically when you save a java file, even in the Maven project.
> Ludo
>
>
> On Saturday, April 16, 2022 at 4:50:43 AM UTC-7
> rajesh...@veersoftsolutions.com wrote:
>
>> Hello,
>> I have created a simple java appengine using maven archetypes.
>> I am not using eclipse (because I don't have eclipse in windows wsl2.)
>>
>> I run the server using
>> mvn appengine:run
>>
>> Then I do simple changes to a servlet. Then another window, I run
>> mvn:compile.  It compiles into the target/snapshot folder
>>
>> However, I am not seeing the changes on the server.  The latest servlet
>> changes is not reflected
>>
>> I tried the following settings also in the pom.xml file.  The server is
>> not restarted
>>
>> 
>>   true
>> 
>>
>>
>> --
>> Support Team
>> www.servicefolder.com
>> *Field Service Software on Google Cloud Platform and Mobile*
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/02a10f06-ff90-4e1b-80ae-457c49a56bf9n%40googlegroups.com
> 
> .
>


-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijY2QAOGaP%2B38XD4To%3DUiqyDWNx44_S6PvVcLdU%2BU3yWtg%40mail.gmail.com.


[google-appengine] hot reload: mvn google cloud sdk

2022-04-16 Thread 'Rajesh G' via Google App Engine
Hello,
I have created a simple java appengine using maven archetypes.
I am not using eclipse (because I don't have eclipse in windows wsl2.)

I run the server using
mvn appengine:run

Then I do simple changes to a servlet. Then another window, I run
mvn:compile.  It compiles into the target/snapshot folder

However, I am not seeing the changes on the server.  The latest servlet
changes is not reflected

I tried the following settings also in the pom.xml file.  The server is not
restarted


  true



--
Support Team
www.servicefolder.com

*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZLGB-tp-gBmucP%3Dzy%2BSCCAhWCHBkAh0fs6JnBqD0Bw8Q%40mail.gmail.com.


[google-appengine] Re: hot reload: mvn google cloud sdk

2022-04-19 Thread 'Rajesh G' via Google App Engine
Hi, any ideas on how to make the hot reload work

Thanks

On Sat, Apr 16, 2022 at 5:20 PM Rajesh G 
wrote:

> Hello,
> I have created a simple java appengine using maven archetypes.
> I am not using eclipse (because I don't have eclipse in windows wsl2.)
>
> I run the server using
> mvn appengine:run
>
> Then I do simple changes to a servlet. Then another window, I run
> mvn:compile.  It compiles into the target/snapshot folder
>
> However, I am not seeing the changes on the server.  The latest servlet
> changes is not reflected
>
> I tried the following settings also in the pom.xml file.  The server is
> not restarted
>
> 
>   true
> 
>
>
> --
> Support Team
> www.servicefolder.com
> *Field Service Software on Google Cloud Platform and Mobile*
>
>
>

-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaEYSV83h6rvK-NDF8bpTw%3Dx31cSrtzmZExufXu%3DP%3DqzQ%40mail.gmail.com.


Re: [google-appengine] Re: appengine cron jobs

2022-06-15 Thread 'Rajesh G' via Google App Engine
I dont see the jobs to pause them.  Regards,

[image: image.png]

On Thu, Jun 16, 2022 at 12:36 AM 'Andres Marquez Rodriguez' via Google App
Engine  wrote:

> You can’t ‘stop’ it, but here is a documentation on how to pause it. [1]
>
> [1] https://cloud.google.com/scheduler/docs/creating?hl=en#pause
> On Wednesday, June 15, 2022 at 3:25:20 AM UTC-5
> rajesh...@veersoftsolutions.com wrote:
>
>> Hello,
>> How do I stop 'appengine-cron-jobs' from a console?
>> I am referring to the following screen in the console
>>
>> [image: image.png]
>>
>>
>> --
>> Support Team
>> www.servicefolder.com
>> 
>> *Field Service Software on Google Cloud Platform and Mobile*
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/a603e840-dd7d-4213-a1a9-4cba745ecf24n%40googlegroups.com
> 
> .
>


-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijbGDeaPunjtK1PLhq0iFXhg5AU9ROA9TiKQgxtf9kL8XQ%40mail.gmail.com.


[google-appengine] appengine cron jobs

2022-06-15 Thread 'Rajesh G' via Google App Engine
Hello,
How do I stop 'appengine-cron-jobs' from a console?
I am referring to the following screen in the console

[image: image.png]


--
Support Team
www.servicefolder.com

*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijb3pqCFsmAX5bcVgGk15cwN30amyaSpjndUhUz0eO%3D7zg%40mail.gmail.com.


[google-appengine] authentication for google appengine java

2022-04-27 Thread 'Rajesh G' via Google App Engine
Hello,
I have been using java app engine for few years now.

My app is using UserService for authentication in the servlets

Now, I am creating a new app.
I am exploring what options are available for authentication for use with
java appengine.
I checked around firebase authentication.  But, did not understand the
whole process.
There is a python example. I dont' know python.

Any examples of java appengine authentication using firebase or other auth
techniques?

-- 
Support Team
www.servicefolder.com

*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZvEp1js1-_S6ivQmM%2Bssabx6KxO19rM%2BnoNr60EkBh_g%40mail.gmail.com.


[google-appengine] Re: authentication for google appengine java

2022-05-03 Thread 'Rajesh G' via Google App Engine
Hello All,

Any examples on how to use firebase authentication with java appengine
standard.
Documentation did not help me much and dont' know how to put the pieces
together in a java servlet environment.




On Wed, Apr 27, 2022 at 7:11 PM Rajesh G 
wrote:

> Hello,
> I have been using java app engine for few years now.
>
> My app is using UserService for authentication in the servlets
>
> Now, I am creating a new app.
> I am exploring what options are available for authentication for use with
> java appengine.
> I checked around firebase authentication.  But, did not understand the
> whole process.
> There is a python example. I dont' know python.
>
> Any examples of java appengine authentication using firebase or other auth
> techniques?
>
> --
> Support Team
> www.servicefolder.com
> *Field Service Software on Google Cloud Platform and Mobile*
>
>
>

-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijY%2BNKD%3DzA%2BPOxnJ%2BQpZpvin0KeYLAyTtM0nKVnUyUnW8Q%40mail.gmail.com.