Re: [google-appengine] Re: GCP Access

2020-07-22 Thread wesley chun
Agreed. Never (ever) share login/password information. We are well beyond
those days now with role-based authentication
 and OAuth2
.

Furthermore, be aware we have multiple compute options available from GCP
in addition to App Engine. If you're considering what's right for you,
check out this informative animation . I recommend
serverless for cost+convenience, containers for flexibility, and Cloud Run
for both!

Cheers,
 --Wesley


On Wed, Jul 22, 2020 at 12:00 PM 'Charlie Engelke' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Don't share login information. There's no need. You can create a project,
> then add the developer as a user, or owner, of that project in addition to
> you.
>
> On Wednesday, July 22, 2020 at 1:00:44 AM UTC-7 ki...@douglassoftware.com
> wrote:
>
>> I am a non technical founder, what information do i need to give my
>> developer to be able to upload the code to GCP ? Do I need to just hand
>> over my login info to the developer to be able to upload or is there a way
>> of giving the developer access to the account that I have created ?
>
>
-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A computer never does what you want... only what you tell it."
wesley chun :: @wescpy  :: Software
Architect & Engineer
Developer Advocate at Google Cloud by day; at night...
Python training & consulting : http://CyberwebConsulting.com
"Core Python" books : http://CorePython.com
Python blog: http://wescpy.blogspot.com

-- 
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/CAB6eaA6czrCQw30S6q12N4NO6zWPt4CGDR_9Pc%3DE%3DG7sPaSAuQ%40mail.gmail.com.


[google-appengine] Re: GCP Access

2020-07-22 Thread 'Charlie Engelke' via Google App Engine
Don't share login information. There's no need. You can create a project, 
then add the developer as a user, or owner, of that project in addition to 
you.

On Wednesday, July 22, 2020 at 1:00:44 AM UTC-7 ki...@douglassoftware.com 
wrote:

> I am a non technical founder, what information do i need to give my 
> developer to be able to upload the code to GCP ? Do I need to just hand 
> over my login info to the developer to be able to upload or is there a way 
> of giving the developer access to the account that I have created ?
>

-- 
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/aa7d716f-cea5-481f-926a-410794a9fc88n%40googlegroups.com.


[google-appengine] GCP Access

2020-07-22 Thread Kirk Douglas
I am a non technical founder, what information do i need to give my 
developer to be able to upload the code to GCP ? Do I need to just hand 
over my login info to the developer to be able to upload or is there a way 
of giving the developer access to the account that I have created ?

-- 
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/dfd438aa-f257-477d-8927-5eed527c9f0en%40googlegroups.com.


[google-appengine] Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean

2020-07-22 Thread Nicholas Sterling
Hello,

i am having some trouble getting my Spring Boot application for Google App 
Engine to start after upgrading the Spring Boot version. Any help would be 
much appreciated. Thank you!

ERROR:

org.springframework.context.ApplicationContextException: *Unable to start 
web server; nested exception is 
org.springframework.context.ApplicationContextException: Unable to start 
ServletWebServerApplicationContext due to missing ServletWebServerFactory 
bean.*
at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
 
~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
 
~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE]
at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
 
~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) 
[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) 
[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
 
[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:315) 
[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) 
[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) 
[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
com.agilehp.edge.api.EdgeApplicationLauncher.main(EdgeApplicationLauncher.java:26)
 
[classes/:na]
Caused by: org.springframework.context.ApplicationContextException: Unable 
to start ServletWebServerApplicationContext due to missing 
ServletWebServerFactory bean.
at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory(ServletWebServerApplicationContext.java:203)
 
~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:175)
 
~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:158)
 
~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
... 9 common frames omitted

Process finished with exit code 1

EdgeApplicationLauncher.java


package com.abc.xyz.api;
import java.util.concurrent.Executor;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import 
org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration;
import 
org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.core.task.TaskExecutor;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication // same as @Configuration @EnableAutoConfiguration 
@ComponentScan
@EnableAsync
@EnableScheduling
@CrossOrigin("*")
public class EdgeApplicationLauncher {

public static void main(String[] args) {
//System.setProperty("java.io.tmpdir", "/edge-tmp");
SpringApplication.run(EdgeApplicationLauncher.class, args);
}


}


POM.xml



http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0

   com.abc
abc-api
   0.0.1-SNAPSHOT
   war

   ABC Web Service
   Spring Boot

   
   org.springframework.boot
   spring-boot-starter-parent
   2.3.0.RELEASE

   

   

 
 
com.google.cloud
google-cloud-secretmanager
1.0.1
 




com.google.cloud
google-cloud-datastore
1.103.0

 
 
 
com.google.auth
google-auth-library-oauth2-http
0.13.0
 
 

com.stripe
stripe-java
8.1.0




org.apache.httpcomponents
httpclient
4.5.7


com.google.cloud
google-cloud-storage
1.17.0

 
   javax.servlet
   javax.servlet-api
   3.1.0
   
   
 
junit
junit
4.12
test