package io.abnd.rvep.config.properties;

import org.springframework.context.annotation.PropertySource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:application.yml")
public class FirebaseProperties {

    @Value("${firebase.project_info.project_number}")
    private String project_number;

    @Value("${firebase.project_info.firebase_url}")
    private String firebase_url;

    @Value("${firebase.project_info.project_id}")
    private String project_id;

    @Value("${firebase.project_info.storage_bucket}")
    private String storage_bucket;

    public String getFirebaseUrl() { return this.firebase_url; }
    public String getProjectNumber() { return this.project_number; }
    public String getProjectId() { return this.project_id; }
    public String getStorageBucket() { return this.storage_bucket; }
}

@@ -372,26 +372,25 @@
 ring project
-_n
+N
 umber;%0A%0A    
@@ -464,18 +464,17 @@
 firebase
-_u
+U
 rl;%0A%0A   
@@ -546,18 +546,17 @@
  project
-_i
+I
 d;%0A%0A    
@@ -631,23 +631,197 @@
  storage
-_bucket
+Bucket;%0A%0A    @Value(%22$%7Bfirebase.client.oauth_client.client_id%7D%22)%0A    private String clientId;%0A    %0A    @Value(%22$%7Bfirebase.client.api_key.current_key%7D%22)%0A    private String currentkey
 ;%0A%0A    p
@@ -872,18 +872,17 @@
 firebase
-_u
+U
 rl; %7D%0A  
@@ -933,26 +933,25 @@
 this.project
-_n
+N
 umber; %7D%0A   
@@ -1001,18 +1001,17 @@
 .project
-_i
+I
 d; %7D%0A   
@@ -1065,21 +1065,140 @@
 .storage
-_bucket
+Bucket; %7D%0A    public String getClientId() %7B return this.clientId; %7D%0A    public String getCurrentkey() %7B return this.currentkey
 ; %7D%0A%7D%0A

add properties, refactor names